Commit Graph

242 Commits

Author SHA1 Message Date
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
FaceDeer
e16035b037 save bounding box relative to root. 2019-08-18 22:41:01 -06:00
FaceDeer
4031ea0484 tidy up aftermath of building a constructed digtron 2019-08-18 18:37:47 -06:00
FaceDeer
e88a3faae3 basic ability to pick up and put down a complete digtron 2019-08-18 18:23:51 -06:00
FaceDeer
fda6aa9a0e a little more setup for placing constructed Digtrons 2019-08-18 16:24:58 -06:00
FaceDeer
9d526997fc make constructed controllers pick-uppable 2019-08-18 15:51:25 -06:00
FaceDeer
27c9d82ea4 a bit of naming work 2019-08-18 15:29:15 -06:00
FaceDeer
ff229185b2 can now reliably construct and deconstruct 2019-08-18 13:02:42 -06:00
FaceDeer
90c23159d3 persisting inventory between runs 2019-08-18 02:23:08 -06:00
FaceDeer
4e2ac43b2d can now create detached inventory. May be very buggy yet. 2019-08-17 23:12:12 -06:00
FaceDeer
6a38e68433 clean the slate! Old code will be brought back as it's needed. 2019-08-17 01:47:16 -06:00
disba1ancer
b394214ffa Add support for all rechargeble items from technic (#42)
* Add support for all rechargeble items from technic

* Changed comment about batteries

* Changed second comment about batteries
2019-07-19 18:42:47 -05:00
FaceDeer
8b1c63f067 lossless compression of textures 2019-07-05 23:51:58 -06:00
FaceDeer
0b4ec531c7 Use new style of itemstack metadata to show description in inventory 2019-07-05 23:50:55 -06:00
FaceDeer
4b810fc584 removing collectgarbage() from layout creation 2019-06-28 15:56:27 -06:00
FaceDeer
aa927fe26a protect against extremely large builder periods causing entities to be added out of range 2019-06-09 23:53:09 -06:00
Thomas Rudin
445140abaa limit size of the digtron with config option: digtron_size_limit, default to 1000 nodes (#52) 2019-06-09 23:15:27 -06:00
Alex
b3d01a714c Update layout to prevent duplication (#54) 2019-06-06 19:45:25 +02:00
Pierre-Yves Rollo
6726897413 Avoid crate corruption when dug with special tools (#53) 2019-06-06 19:45:11 +02:00
tuedel
d41190a842 execute_downward_dig_cycle: Add missing parameter (#45) 2019-03-17 10:32:35 +01:00
FaceDeer
e09f1b9f56 found a way for incomplete digtron layouts to be created 2019-01-13 16:02:41 -07:00
FaceDeer
556b80bc22 Another guard against a nil that shouldn't be possible 2019-01-13 11:19:40 -07:00
FaceDeer
8ea6d7eb70 collectgarbage hammer fix, and add some asserts to crash before corrupting anything in impossible situations. 2019-01-13 03:02:02 -07:00
FaceDeer
03beff0d33 Add block count to default crate title 2019-01-09 00:39:40 -07:00