Commit Graph

227 Commits

Author SHA1 Message Date
shivajiva101
bdc7e8e4f2
fix crash vector
add nil check to prevent crash, fixes #17
2018-05-09 09:48:01 +01:00
FaceDeer
9cc5288326
Merge pull request #18 from joejulian/broken_inventory_hack
Create missing tables
2018-02-25 23:51:25 -07:00
number Zero
3209856d6b No need to make auto_cycle global 2018-01-26 23:29:26 +03:00
Joe Julian
564bc11799 Create missing tables
After a failure to move the digtron with its metadata, some nodes were
broken. This worked around crashes that occurred if the inventory table
was missing.
2018-01-11 11:13:10 -08:00
FaceDeer
33995bc6ec attempt to recover from failure to write to map
There have been reports of large, distant-from-player Digtrons apparently failing to completely write their layouts to the map, resulting in an inconsistency.

This adds an attempt to brute-force a solution. When a map write fails it will be retried until it succeeds, or until 1 second elapses (at which point the write is aborted in a hopefully somewhat clean manner).
2018-01-07 13:38:25 -07:00
FaceDeer
fdde32283a add logging and crash-proofing for issue 17
A user has reported a crash that appears to involve a builder node (group 4) that lacks a "main" inventory somehow. This code prevents a crash in this circumstance and logs the node_image to hopefully identify the culprit.
2017-12-31 18:21:44 -07:00
FaceDeer
1de57191b0 configurable duration for crate markers 2017-11-17 18:49:43 -07:00
FaceDeer
123e470544 Add filters to prevent non-whitelisted craft items from being built 2017-11-16 16:53:01 -07:00
FaceDeer
317877cda5 documentation and locale update 2017-10-24 21:37:02 -06:00
FaceDeer
c5a9d9fff9 add locked Digtron crate 2017-10-24 21:25:46 -06:00
FaceDeer
a4b89dd762 add node_box definitions to fix inventory images 2017-10-24 21:16:37 -06:00
FaceDeer
1224a34615 add Digtron duplicator block 2017-10-22 19:50:11 -06:00
FaceDeer
ae0a24b19b fix fuelstore formspec on construct 2017-10-22 19:48:46 -06:00
FaceDeer
2949dbd764 prevent crate from storing null Digtrons 2017-10-22 19:48:28 -06:00
FaceDeer
94ccab9c39 add automation option to item ejector 2017-10-21 22:29:18 -06:00
FaceDeer
e93ff05956 update mod.conf 2017-10-18 23:29:31 -06:00
FaceDeer
f53a79fe34 support farming_plus plants. 2017-10-18 23:27:46 -06:00
FaceDeer
dbb0d51de5 enable [crops] planting. 2017-10-17 10:06:56 -06:00
FaceDeer
8abd57146d add recent new nodes to the catacombs protected list 2017-10-17 00:37:19 -06:00
FaceDeer
abc7f2e414 fakeplayer for callbacks, switch to whitelist for on_place calls 2017-10-16 21:35:24 -06:00
FaceDeer
0430d423f7 account for extrusion in power consumption, add on_place blacklist 2017-10-15 21:56:18 -06:00
FaceDeer
c801e59942 prevent default on_place from screwing everything up. 2017-10-15 14:21:30 -06:00
FaceDeer
d480b9bf2f mark_diggable needed a player reference to dig steel doors without crashing 2017-10-15 12:54:48 -06:00
FaceDeer
fec29263b0 remove unnecessary fallback, the default is already safe 2017-10-15 12:46:03 -06:00
FaceDeer
3393d44c3b use node_def on_place when it exists. Enables seed placement. 2017-10-15 11:54:10 -06:00
FaceDeer
a386ca7607 prevent power connector formspec from resetting every time the Digtron moved 2017-10-15 00:58:27 -06:00
FaceDeer
51b76e193d restoring "emergency abort" functionality to auto-controller 2017-10-15 00:44:12 -06:00
FaceDeer
3bfabe8981 add a marking to the back of item ejectors 2017-10-15 00:38:31 -06:00
FaceDeer
d7270210d0 callbacks moved to after full Digtron layout write is finished 2017-10-15 00:33:54 -06:00
FaceDeer
dd4ec8721b update locale 2017-10-14 15:00:13 -06:00
FaceDeer
398716464a add inventory ejector 2017-10-14 14:55:39 -06:00
FaceDeer
776bbb1811 update docs and locale 2017-10-12 23:23:05 -06:00
FaceDeer
f3c931ce95 Merge pull request #13 from minetest-mods/more_technic
More technic
2017-10-12 23:09:21 -06:00
FaceDeer
1aa88e5264 allow digtrons to dig undefined nodes without crashing 2017-10-12 23:07:48 -06:00
FaceDeer
d582f106aa finishing up technic power tap, other misc fixes 2017-10-12 22:53:30 -06:00
FaceDeer
65f5ac8520 add initial support for tapping technic power cables 2017-10-12 03:06:24 -06:00
FaceDeer
a44f517a4e update locale 2017-10-10 20:56:46 -06:00
FaceDeer
7ef5e3c892 fix particle effect settings check 2017-10-10 20:55:29 -06:00
FaceDeer
a69a3f4eda Switching to MIT license
As permitted by Hans von Smacker for his recent contribution of technic
support:

https://www.reddit.com/r/Minetest/comments/6u6irr/digtron_and_automated_bridge_building/do6os86/

I'm switching to MIT to be maximally permissive.
2017-10-10 20:39:33 -06:00
FaceDeer
06a2ba85e3 various tidies and tweaks to technic support 2017-10-10 20:33:56 -06:00
FaceDeer
f10d46d379 Merge pull request #12 from h-v-smacker/technic-RE-batteries
Support for RE batteries for fuel
2017-10-10 19:01:28 -06:00
h-v-smacker
6290e57d8f Support for RE batteries for fuel 2017-10-10 22:02:35 +03:00
FaceDeer
19a0f193ad Merge pull request #9 from EdwardThorsten/master
Fixed deprecated calls. Whitespaces cleanup.
2017-10-09 16:48:25 -06:00
anonymous
f2826937ba Fixed deprecated calls. 2017-10-02 20:49:23 +01:00
FaceDeer
2b84b4a3da Was only testing controller node for player protection 2017-10-01 10:19:14 -06:00
FaceDeer
444411936c Merge pull request #8 from minetest-mods/cleanup
Cleanup
2017-09-30 10:56:15 -06:00
FaceDeer
860890b100 update localization 2017-09-19 23:44:59 -06:00
FaceDeer
04228904f5 reuse period/offset markers for intermittent diggers 2017-09-19 23:25:11 -06:00
FaceDeer
3bc0eb82fa add formspec auto-upgrade when layout is read 2017-09-19 23:13:31 -06:00
FaceDeer
ade365df1b making formspecs more systematic and upgradable 2017-09-19 22:57:40 -06:00