966 Commits

Author SHA1 Message Date
SX
148a858103 Update common machine registration API 2021-11-15 11:45:19 +02:00
SX
6cee944770
Extended Mineunit tests (#208)
* Extended Mineunit tests

* Tests for Technic CNC

* Test node placement for all listed nodes

* Test cable plate placement
2021-11-06 09:12:08 +02:00
OgelGames
b3ee83f759 Fix dependencies
removed dependency on `screwdriver` and added `moreores` dependency
2021-11-02 03:28:12 +11:00
SX
e5e4cbe5a0 Fix mineunit tests for Technic and CNC (#226)
* Add modpaths, remove technic from CNC

* Add technic_cnc to error reporting
2021-10-24 17:03:46 +03:00
SX
513abc068a Change quarry partcile effect to use quarry texture (#221)
Fixes #210
2021-10-24 17:02:02 +03:00
SX
314d87b692 Remove duplicate function (#220)
Removed technic.sw_pos2network
2021-10-24 17:01:01 +03:00
OgelGames
4c998f0400 LV Lamp and LED improvements (#217)
* Optimized LV Lamp code. (generates less than 25% of the previous network "lag", based on my quick testing)
* Fixed LV Lamp code to prevent active and unpowered lamps from fighting when near.
* Added right-click toggle to switch LV Lamps on/off.
* Added inventory and wield images to `technic:dummy_light_source` node.
* Split LV Lamp and LV LED into separate files.
2021-10-15 21:49:28 +11:00
SX
3fef85cab0 Add technic_on_disable callback (#592) (#207)
This adds a new callback to trigger when the machine is no longer powered by the technic power grid. Also allows mods to override the infotext if needed.

Co-authored-by: sfence <sfence.software@gmail.com>
2021-09-11 13:46:19 +03:00
SX
54cd2a7bef Disable repair recipes for crystals and batteries (#205)
* Disable energy crystal tool repair recipe

* Disable RE battery repair recipe
2021-08-15 19:27:52 +03:00
SX
f0bf5999db Delete technic_concrete_block.png / Rename minetest.cfg (#202)
* Delete technic_concrete_block.png

* Rename minetest.cfg to minetest.conf
2021-08-09 13:05:57 +03:00
nixnoxus
05cbffbc3f Add alloying recipes for cheaper digiline cables (#198)
* cheaper recipes for lv,mv,hv digiline cable and plate

* Revert "cheaper recipes for lv,mv,hv digiline cable and plate"

This reverts commit d1ee15fc3afbf567c2050656e0799d07c9aef661.

* add config option to replace "technic:" recipes

* trailing whitespace removed

* Revert "trailing whitespace removed"

This reverts commit cc0f321cbb40b890e5f60443d7c676ba3d8036e9.

* Revert "add config option to replace "technic:" recipes"

This reverts commit 33c272f38ed2f7bd8d53b3b0d21034b973b586da.

* add alternative alloy recipes for lv,mv,hv digiline cable und plate

* longer alloying time for digi cables (3x)

* digi cable crafting recipes removed

* fix lint: line is too long (122 > 120)

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2021-08-06 20:42:24 +03:00
fnordic
5b2e3d9970 fix for quarry digs until it finds something else than vacuum or air (#199)
Co-authored-by: joe <joe@cbook>
2021-07-30 16:00:58 +02:00
nixnoxus
ac64e0af88 Re-add recipe for wrench enabled by setting enable_wrench_crafting (#197)
* "enable_wrench = yes" adds the wrench recipe
* setting renamed to "enable_wrench_crafting"
2021-07-20 16:12:56 +02:00
OgelGames
86c50dc955 Fix and improve max_lag (#193)
* Monitor max lag from mod
* Add new max lag for technic_get_active_networks command

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2021-07-12 00:28:20 +10:00
SX
a09d0927dc Revert "machines conduct digilines above (#194)" (#195)
This reverts commit 06c5de3a210903881ddb134b38490073aeb5be4e.
2021-07-08 22:44:03 +03:00
OgelGames
06c5de3a21 machines conduct digilines above (#194) 2021-07-08 22:45:49 +10:00
SX
e35751fc31 Display actual active count instead of row count (#189) 2021-06-17 07:27:37 +02:00
BuckarooBanzay
4e446c5053 set max-value if digiline-value is above max-depth on quarry 2021-06-08 21:40:26 +02:00
BuckarooBanzay
cceb3b9e45 use max-setting as limit for the max-depth value in the UI 2021-06-08 21:40:26 +02:00
BuckarooBanzay
99b991a67b add max-depth option to quarry 2021-06-08 21:40:26 +02:00
OgelGames
28b14f7a36 add recipes to craft cable plates into digi-cable plates
fixes https://github.com/pandorabox-io/in-game/issues/104
2021-06-05 17:26:26 +10:00
SX
80124facac Quarry area particle effect 2021-05-15 11:08:45 +02:00
SX
215c51c854 Add support for craftguide mod recipe registration (#174)
Co-authored-by: sfence <sfence.software@gmail.com>

https://github.com/minetest-mods/technic/pull/584
2021-04-15 13:53:19 +03:00
SX
42cd4ae5e5 Make multimeter formspec usable (#173) 2021-04-10 19:49:08 +03:00
SX
a73ccd7d48 Fix supply converter protection (#162)
* Test #161

* Fix supply converter protection

* Fix mistake in spec...

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2021-03-05 00:32:06 +02:00
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