Commit Graph

508 Commits

Author SHA1 Message Date
BuckarooBanzay
336616612b remove duplicate after_place_node 2020-09-11 10:37:43 +02:00
BuckarooBanzay
1a5b7a903b Merge branch 'master' of https://github.com/minetest-mods/technic 2020-09-11 10:36:34 +02:00
auouymous
d7336670f2
Constructor: Add protection check (#564)
Check if the player who placed constructor can access protected positions before placing or removing nodes.
2020-09-09 18:44:12 +02:00
David Leal
11f2b4f4b3
Fix warning reported by LuaCheck (#563) 2020-09-05 18:54:37 +02:00
SX
8fc58be03b Remove print, add comment 2020-08-22 21:27:53 +02:00
SX
7c45e88d06 Machines with multiple networks causes switching overload 2020-08-22 21:27:53 +02:00
BuckarooBanzay
6b3e19e734 fix formspec issue in admin anchor and set meta-fields in mesecons effector
fixes #72
2020-07-23 13:50:03 +02:00
Buckaroo Banzai
6f83cb892c
refactor supply converter enabling 2020-07-21 23:05:25 +02:00
Alexander Ried
b7a68f74cb fix: touch disabled switching stations
Otherwise the "switching station reenable abm" (see file
switchting_station.lua) will reenable the disabled switching station at
its next run.
2020-07-21 19:48:53 +02:00
Buckaroo Banzai
f14faa6680
add compatibility case for #71 2020-07-21 19:46:59 +02:00
Alexander Ried
6a9cf6da27 Add digiline interface to quarry
This adds a digiline interface that can be used to start, stop and restart, set the radius and get the current status.
2020-07-13 14:41:44 +02:00
Alexander Ried
35e989ba2e
Fix quarry rotation (#68)
Previously the model was rotated but the dig position of the quarry was
not updated. If the player did not restart the quarry through the
formspec, it dug at the previous location.
2020-07-06 12:59:21 +10:00
OgelGames
7c68966060 add obsidian+bucket -> lava bucket alloy recipe 2020-07-01 20:57:04 +10:00
Alexander Ried
de5f0dbe93
Fix server crash on anchor placement (#67) 2020-07-01 18:11:14 +10:00
Alexander Ried
47e75e456f Add digiline interface to power monitor
The power monitor can now be queried for information about the network. They
are retrieved from the associated switching station.

Also export information about the attached batteries.
2020-06-30 15:06:05 +02:00
Alexander Ried
facc8e783c Add digiline rules to inactive reactor
2853651427 added the rules only for active
reactor.
2020-06-30 14:07:34 +02:00
BuckarooBanzay
a02a015664 Merge remote-tracking branch 'origin/upstream' 2020-06-29 10:31:23 +02:00
David Leal
6154a04c00
Remove node_ownership support, cleanup (#560) 2020-06-24 21:14:04 +02:00
KaylebJay
438c0877f6
Add external machine registration support (#557)
New 'technic.register_base_machine' definition table value: 'modname' (defaults to current run mod)
2020-06-24 21:12:25 +02:00
Buckaroo Banzai
f1bd7c06ba
remove stray prints 2020-06-23 14:01:03 +02:00
SX
2853651427 Nuclear reactor conduct digilines above/below 2020-06-23 06:40:10 +02:00
BuckarooBanzay
fd18c6ce96 bump switching station timeout to 1800 seconds (half an hour) 2020-06-19 07:54:02 +02:00
BuckarooBanzay
6525f11a5d a bit stricter luacheck and some global leakage fixes 2020-06-18 11:49:04 +02:00
BuckarooBanzay
f3fbd1f75d fix luacheck warnings 2020-06-18 11:42:23 +02:00
BuckarooBanzay
b0e45d4012 add mesecons interface to world anchor 2020-06-18 11:26:03 +02:00
BuckarooBanzay
c26eafec92 Merge branch 'minor_fixes' of https://github.com/Panquesito7/technic 2020-06-18 11:14:08 +02:00
BuckarooBanzay
7c0d0a2041 provide "lag" info in switching station digiline response 2020-06-18 10:59:40 +02:00
BuckarooBanzay
4a6d6f6644 remove laggy switching stations from active index
laggy switching stations won't work well in unloaded areas this way
2020-06-18 10:56:16 +02:00
BuckarooBanzay
7b24a74e41 Merge remote-tracking branch 'origin/upstream' 2020-06-16 09:56:52 +02:00
Panquesito7
f27964f018
Remove node_ownership support 2020-06-12 13:56:18 -05:00
David Leal
a8daa417c4
Add GitHub workflow and luacheck (#545)
Add badge to README
Fix luacheck warnings
Remove node_ownership globals (and support)
2020-06-12 20:39:00 +02:00
OgelGames
64ae1fd154 copy paste typo 2020-06-12 21:15:28 +10:00
OgelGames
449c772f76 only check protection if node can be dug by quarry 2020-06-12 20:51:27 +10:00
OgelGames
309f12b5ac allow owner to edit quarry even if protected 2020-06-11 21:20:36 +10:00
BuckarooBanzay
c41722bf9c add mesecons interface for the quarry 2020-06-11 12:24:08 +02:00
OgelGames
529d09d98e purge quarry cache more often 2020-06-05 22:38:51 +10:00
BuckarooBanzay
fcf8fafcfe basic digilines support for the nuclear reactor
related: #14
2020-06-04 14:36:38 +02:00
OgelGames
080226340a adjust quarry time limiting
improves digging speed through empty space or non-diggable nodes
2020-06-01 20:21:41 +10:00
OgelGames
7c8d6fbdaf quarry rewrite/optimization 2020-05-30 17:29:05 +02:00
Vanessa Dannenberg
befe3ecc86 Fix incorrect numeric types for 5.3.0-dev
5.3.0-dev adds strict type checks for registration fields, hence this was not noticed earlier due to implicit string-number conversions
2020-05-27 18:32:57 +02:00
SX
c8e5e800e8
Machine conduct digilines downwards (#49)
* Custom digiline rules for machines

* Add custom digiline receptor and effector rules for machines

* technic.digiline.rules must be always available, even if digilines is disabled

Co-authored-by: SX <sx@minetest>
2020-05-23 21:24:35 +02:00
OgelGames
f99148f2c4 make self-contained injector directional 2020-05-20 20:27:30 +10:00
OgelGames
f83ad4f6c1 fix for cooking recipes with replacements
fixes pandorabox-io/pandorabox.io#326
2020-05-15 20:41:35 +10:00
pull[bot]
bb3de1a72a
Merge pull request #47 from minetest-mods/master
[pull] master from minetest-mods:master
2020-05-13 18:02:26 +00:00
BobFred7
df7f2e464a
Alloy furnace: More realistic recipe balance (#549) 2020-05-13 19:13:33 +02:00
BuckarooBanzay
3b18754d53 unwrap numbers in strings
related: https://github.com/minetest-mods/technic/issues/553
2020-05-09 20:57:54 +02:00
BuckarooBanzay
a5ce8c82b5 progressive lag adaption of technic_run execution interval 2020-05-01 16:24:16 +02:00
SX
27c134f41e Replace digiline wires with digimese if digistuff is enabled 2020-04-28 09:31:09 +02:00
SX
c3bed5d5c2 #14 HV digicables 2020-04-28 09:31:09 +02:00
OgelGames
16add2ba9f add check for missing machine inventory 2020-04-13 21:30:40 +10:00