Commit Graph

265 Commits

Author SHA1 Message Date
FaceDeer
d79b22673b rearrange context cache to play nice with players using multiple digtrons 2019-09-08 19:25:29 -06:00
FaceDeer
b568fffdc8 fix bug in rotate, wasn't invalidating adjacent node cache 2019-09-08 14:42:22 -06:00
FaceDeer
8f70b982fd fix a bug with building into freshly-dug spots 2019-09-08 13:02:10 -06:00
FaceDeer
926f72286e more loopable engine sound, supporting sequences better 2019-09-08 05:36:50 -06:00
FaceDeer
61be57ed45 give builder items a little love 2019-09-08 00:46:54 -06:00
FaceDeer
f83f5cba11 remove need to pass formname around 2019-09-08 00:23:28 -06:00
FaceDeer
873236667d command UI now lets multiple cycles be requested. 2019-09-08 00:20:54 -06:00
FaceDeer
fe5979a1ab sequencer can now advance through the sequence. Still not actually hooked up to effect commands though 2019-09-07 21:48:41 -06:00
FaceDeer
ace967dab0 make sequencer data structure more robust 2019-09-03 00:47:06 -06:00
FaceDeer
772bcdd0f3 add paging to inventory tabs 2019-09-02 22:28:41 -06:00
FaceDeer
a998fd9d98 tidy recipes 2019-09-02 20:26:27 -06:00
FaceDeer
ce6f05c336 digtrons can do hp damage now 2019-09-02 20:17:51 -06:00
FaceDeer
63a7f6aaaa implement duplicator 2019-09-02 14:28:13 -06:00
FaceDeer
1fa10d81ba make soft diggers work 2019-09-01 23:33:52 -06:00
FaceDeer
e717f09cb3 stair digging is now possible, if a bit hacky. 2019-09-01 19:03:37 -06:00
FaceDeer
d74363610d make dual diggers function dually 2019-09-01 14:25:46 -06:00
FaceDeer
0eb3d1f3bc add dual digger nodes, recipes 2019-09-01 12:49:15 -06:00
FaceDeer
b1cd43cffc in theory, Digtron 2.0 can now recover from total metadata write-to-map failure 2019-08-31 18:45:38 -06:00
FaceDeer
263aba9a46 fix/remove a few TODOs 2019-08-31 17:43:39 -06:00
FaceDeer
7c08241c7d add sequencer tab. Digtron doesn't yet actually use the sequence set here. 2019-08-31 16:04:12 -06:00
FaceDeer
70e1649d71 create separate unassembled controller, make builder "read" work. 2019-08-31 11:50:51 -06:00
FaceDeer
df4c7f7f38 add a distinct rotation sound 2019-08-27 21:57:09 -06:00
FaceDeer
c35104e8c3 Make control formspec a bit snugger, eliminate unnecessary disassembled formspec 2019-08-27 21:44:08 -06:00
FaceDeer
8ecc738f44 add can-build check to rotation 2019-08-27 21:25:12 -06:00
FaceDeer
e63f016fc3 implement rotation. Broke builders in the process. 2019-08-27 20:23:02 -06:00
FaceDeer
861d9b275c messy formspec code, but can now translate Digtron around freely 2019-08-27 01:50:07 -06:00
FaceDeer
395a794569 offset/periodicity implemented 2019-08-26 21:18:18 -06:00
FaceDeer
a410187d3a extrusion, and account for diggers/builders pointing at the same target node 2019-08-26 19:36:27 -06:00
FaceDeer
256ec951e2 bring back the hacked item place function 2019-08-25 23:49:04 -06:00
FaceDeer
e0d02704a6 IT BUILDS 2019-08-25 22:12:05 -06:00
FaceDeer
beed475fc7 begin reintroducing builder nodes 2019-08-25 20:09:09 -06:00
FaceDeer
1333748b37 further subroutine breakdown 2019-08-25 17:49:52 -06:00
FaceDeer
7b2b29687c pull some code out into subroutines 2019-08-25 17:44:05 -06:00
FaceDeer
b90e5713aa Executing all on-dig callbacks "properly" with a fake player 2019-08-25 17:16:23 -06:00
FaceDeer
426cd4d82d IT DIGS 2019-08-25 15:52:35 -06:00
FaceDeer
683b941622 split inventory functions into a separate file, add predictive inventory (untested) 2019-08-25 12:33:44 -06:00
FaceDeer
cafb2ec545 add config, add material cost to predict_dig 2019-08-25 11:15:50 -06:00
FaceDeer
a74cc1492e add setting formspec to disassembled digger 2019-08-24 22:52:02 -06:00
FaceDeer
a0f47b50bc no need to persist derived values. Cache digger targets. 2019-08-24 22:22:40 -06:00
FaceDeer
63ea1314ab remove origin displacement, not really needed 2019-08-24 00:04:19 -06:00
FaceDeer
80b9530033 add a basic beginning to dig prediction 2019-08-23 23:53:38 -06:00
FaceDeer
c2959998fd digtron 2.0 can now move 2019-08-22 21:16:08 -06:00
FaceDeer
5d7eea2540 static digger variant for unassembled digtrons 2019-08-22 01:13:59 -06:00
FaceDeer
7f5cf4d0dc add a digger head model 2019-08-21 01:21:03 -06:00
FaceDeer
292889651c indicator entities for when Digtron can't be built 2019-08-20 18:58:32 -06:00
FaceDeer
f14b0a9a42 no need to expose caches globally 2019-08-20 00:54:18 -06:00
FaceDeer
2283cdbbea hide digtron_id from clients, change "construct" to "assemble", various other tidbits 2019-08-20 00:29:26 -06:00
FaceDeer
03c9a81b6b so... much... error checking... 2019-08-19 20:56:28 -06:00
FaceDeer
a9420ea805 explosions automatically deconstruct Digtrons. 2019-08-19 20:02:16 -06:00
FaceDeer
1c732ae1cd change metadata naming standard, add some corrupted data checks 2019-08-18 23:11:24 -06:00