891 Commits

Author SHA1 Message Date
SX
b43f56bb00 Update mineunit actions for reporting 2021-03-01 11:15:18 +01:00
Buckaroo Banzai
03738e39a1 remove unused "technic.smelt_item" (#157)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2021-03-01 10:07:55 +02:00
SX
431d917ff3 Mineunit rock 2021-02-23 08:33:11 +01:00
SX
27402ee1e0 Fix first error revealed by get_int implementation :D 2021-02-21 21:34:25 +01:00
SX
9d13f2c1f3 Use get_int to get number 2021-02-21 21:34:25 +01:00
SX
53248f88d7 Simlify access to underlying Settings object 2021-02-21 21:34:25 +01:00
SX
deae265771 Reorder config.lua, keep data in metatable, update mineunit 2021-02-21 21:34:25 +01:00
SX
3d2645911e Extend technic.config to implement get_int(key[, default]) 2021-02-21 21:34:25 +01:00
SX
26f310f001 Alternative extractor recipe use tube and carbon steel 2021-02-21 21:34:25 +01:00
SX
bc610c14bf Alternative extractor recipe without tree tap 2021-02-21 21:34:25 +01:00
SX
ad24bbcf65 Add more config options 2021-02-21 21:34:25 +01:00
SX
c35b61f7ca Test coverage report (#156)
* Coverage and mineunit configuration

* Add .luacov config and install cluacov

* Add coverage badge

* Update coverage badge label

* Use mineunit-actions

* Fix working-directory

* Remove mineunit from submodules

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2021-02-18 13:54:55 +02:00
OgelGames
c511e5ca5c Texture cleanup (#151)
Big cleanup of all textures in the modpack.
- Moved alternate textures to `.textures/alternate`
- Moved unused textures to `.textures/unused`
- Removed duplicate textures
- Optimized some textures
- Fixed misplaced textures
- Fixed incorrect name of a texture
- Adjusted export-ignores to exclude unused textures
2021-02-06 16:20:40 +11:00
SX
320f0b7351 Report all nodes count while building network (#152)
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2021-02-05 18:28:09 +02:00
OgelGames
2cfe34eb69 add recipes to grind all sand types into stone dust
idea from https://github.com/minetest-mods/technic/issues/573
2021-01-25 16:00:48 +11:00
OgelGames
d090da1bd2 fix nuclear reactor digiline channel check
fixes #146
2021-01-12 17:14:17 +11:00
BuckarooBanzay
44c133d67f 2nd try for the lbm name (i should really read the docs someday...) 2020-12-25 17:33:46 +01:00
BuckarooBanzay
f947c4ce99 replace colon with minus for lbm name 2020-12-25 17:33:46 +01:00
BuckarooBanzay
eb7e8675dc use nodetimer for switching station activation / add nodetimer kickoff to cleanup-lbm 2020-12-25 17:33:46 +01:00
OgelGames
c6cc878bd3 workaround for chest duplication bug
fixes pandorabox-io/pandorabox.io#594
2020-12-20 17:37:27 +11:00
OgelGames
34da710c10 add more dye extraction recipes
* default corals
* farming garlic and blackberry
closes #141

Co-Authored-By: Omar K. <63368794+OAKO-UCONN@users.noreply.github.com>
Co-Authored-By: SX <50966843+S-S-X@users.noreply.github.com>
2020-12-17 18:05:11 +11:00
OgelGames
6504d55d49 use original 16x16 multimeter texture 2020-12-11 01:00:04 +11:00
SX
201e215ad4 Add "Multimeter" network inspection tool (#137)
* (#107) Add network inspection tool

* (#107) Fix luacheck and crash if node does not have network

* (#107) Add few rows to display when no network

* (#107) Implement formspec functions, add remote start

* Multimeter texture

* Update formspec, textures and initial use behavior

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-12-10 15:47:30 +02:00
SX
5e78d73aa5 Merge networks tests + better queue handling 2020-12-09 01:49:50 +02:00
SX
f7b1f4394b Merge networks during build 2020-12-08 18:17:28 +02:00
SX
24f31d8158 Async network build, remove switch_max_range 2020-12-08 13:38:13 +02:00
SX
9a6ab75d3a Keep remote_channel but try channel first 2020-12-04 07:38:37 +01:00
SX
f7ab5095b0 Support old formspecs with "remote_channel" field 2020-12-04 07:38:37 +01:00
SX
9dad9914e4 Try old remote_channel first for max compatibility 2020-12-04 07:38:37 +01:00
SX
91c6d3ac60 Remove channel generators, switch nuclear reactor remote_channel to channel 2020-12-04 07:38:37 +01:00
SX
fd3b0898af Update mineunit (#133)
* Switch to mineunit for regression tests

* Update mineunit

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-11-24 10:06:56 +02:00
OgelGames
a1fdbfbb4f Improve self-contained injector (#132)
* Change from ABM to node timer for injecting.
* Add button to disable/enable injecting.
* Fix tubes not updating when SCI is rotated.
* Allow SCI with items in inventory to be rotated.
2020-11-23 18:29:24 +11:00
SX
2958cf3fd1 (#108) Remove first 3 meta read loops 2020-11-21 18:35:34 +01:00
SX
8405b5cdb9 Switch to mineunit for regression tests 2020-11-21 18:25:49 +01:00
OgelGames
062d2b4f35 replace deprecated current_name in formspecs (#114) 2020-11-09 22:41:05 +11:00
SX
54f0009b8e (#123) Mitigation for invalid ABM call crash 2020-11-09 04:45:05 +02:00
SX
76a135d557 Fix digtron HV connector again (broken in #113) (#121)
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-11-08 00:21:14 +02:00
OgelGames
753bc1c4d8 injector and machine formspec fixes
based on two upstream commits in #89
2020-11-06 20:57:03 +11:00
SX
968c64b415 Optimize machine run loops. Battery box reduce node swapping, simpler formspec, no stack splitting, default digiline channel empty (#113)
* Battery cable check is broken, always run batteries

* (#108 #112) Optimize run loops, reduce node swapping, simpler formspec, no stack splitting, default digiline channel empty

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-11-05 14:50:07 +02:00
SX
6a777fbeb9 Use technic.conf for all technic mod settings, update admin commands, some cleanup, averages for network lag detection (#111)
* Configs to correct place, use moving average for net lag, improve admin commands

* Fix luacheck warnings

* Handle file paths, missing cfg file and Settings:set simlar way engine does

* Quarry and radiation settings to technic.conf

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-11-05 12:39:49 +02:00
BuckarooBanzay
7e59c1c3d7 add minetest.get_current_modname() to fixture 2020-11-05 11:42:22 +02:00
OgelGames
50e69217bd remove more excluded files from luacheck 2020-10-31 16:39:27 +11:00
SX
7661ea582d Fix digtron again after removing last SC hacks 2020-10-31 04:43:37 +02:00
SX
93c509d1d9 Better tests for SC placement between networks 2020-10-31 04:43:37 +02:00
SX
7b658a4291 Do not add duplicates to PR_nodes when cable placed near SC 2020-10-31 04:43:37 +02:00
SX
1a83a03ad0 Test SC digging for nil cable network use
Check network table before attempting to use it
2020-10-31 04:43:35 +02:00
SX
9887a5950b Remove global dig/place handlers. Better multi tier support for dig/place
Fix on_construct/on_destruct registration
2020-10-31 04:43:24 +02:00
SX
977913c785 Basic tests for SC, cleaner world fixture management 2020-10-31 04:43:24 +02:00
SX
d206956810 Destroy network if ref switch disappears, cleanup switching station code
Remove rest of SP_nodes from code, it does not contain anything

Reset switch infotext, export machine_tiers

Add tests for cable building between active networks

Remove all networks when cable is placed between networks

Fix SC connectivity issues
2020-10-31 04:43:16 +02:00
SX
bdf8d2e0cc Make default_timeout dynamic, remove power_monitor from machine group 2020-10-31 04:43:10 +02:00