Commit Graph

826 Commits

Author SHA1 Message Date
SX 0f886d629d
Merge pull request #80 from mt-mods/switching
Switching updates
Better than what it was, many bugs introduced in my last PR fixed. Power monitor is simply better. Some new checks for switch activation/deactivation.
2020-09-26 00:13:19 +03:00
SX adc0b332be Cleanup caches immediately when new switching station placed 2020-09-20 18:21:34 +03:00
SX b131e3f343 Do not activate new switch if another is active already 2020-09-20 16:01:47 +03:00
SX 8741cc6154 Overload skip PR+RE nodes 2020-09-20 13:00:17 +03:00
SX 219f772e1d #77 Revert early exit on overload, update overload 2020-09-20 02:01:52 +03:00
SX eb20854c30 Remove Power monitor from network #76 not actual machine anymore 2020-09-19 22:34:20 +03:00
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
pull[bot] a3ff225725
Merge pull request #85 from minetest-mods/master
[pull] master from minetest-mods:master
2020-09-07 21:39:09 +00:00
auouymous 3c85abb3b2
Restore recipe for bronze block to ingots (#566) 2020-09-07 17:41:34 +02:00
David Leal 11f2b4f4b3
Fix warning reported by LuaCheck (#563) 2020-09-05 18:54:37 +02:00
SX 74b000aaad Make node_timeout local 2020-09-05 15:14:54 +03:00
SX 081d553483 Reduce meta usage, clean cable cache on overload #76 #77 2020-09-05 15:09:32 +03:00
wzy2006 66d35c0848 Add files via upload 2020-09-05 10:46:10 +02:00
SX 260ab8c0fd Reduce meta, fix network id #76 #77 2020-09-05 11:26:33 +03: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 6014539705 Add documentation for power monitor digiline interface 2020-06-30 15:06:05 +02: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
KaylebJay 00618d13b5
Drill and laser: call node-specific on_dig (#556)
This properly digs nodes that have a custom on_dig function specified. For normal nodes, the behaviour is kept the same.
2020-06-27 17:29:50 +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 b56f3f04f4 fix wrench url in docs 2020-06-19 07:45:29 +02:00
BuckarooBanzay e95fdb3f5b consolidate upstream wiki into repository as markdown files (upstream-wiki only has minor edits since 2017)
related: #53
2020-06-19 07:42:43 +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 caecf49383 mesecons manual stub 2020-06-18 11:35:28 +02:00
BuckarooBanzay 3caab20e48 add digilines doc file and document switching station interface
partially attends to #53
2020-06-18 11:31:37 +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 c5d1353e65 shuffle and reorganize documentation 2020-06-18 11:09:40 +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