Commit Graph

70 Commits

Author SHA1 Message Date
FaceDeer
3c0fbca66f make it possible to edit builders that are part of an assembled digtron
Should make it possible to edit other components too, later on.
2020-03-01 23:52:24 -07:00
FaceDeer
1e776defd5 update to client-side translation system 2020-02-22 13:51:41 -07:00
FaceDeer
61be57ed45 give builder items a little love 2019-09-08 00:46:54 -06:00
FaceDeer
a998fd9d98 tidy recipes 2019-09-02 20:26:27 -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
70e1649d71 create separate unassembled controller, make builder "read" work. 2019-08-31 11:50:51 -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
426cd4d82d IT DIGS 2019-08-25 15:52:35 -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
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
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
ff229185b2 can now reliably construct and deconstruct 2019-08-18 13:02:42 -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
0b4ec531c7 Use new style of itemstack metadata to show description in inventory 2019-07-05 23:50:55 -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
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
FaceDeer
1d5d1d20df a little more optimization, and sounds when placing nodes on builders and diggers 2019-01-09 00:20:02 -07:00
FaceDeer
5985788181 fixing extrusion - place a copy of the example item, not the example item itself 2019-01-05 22:04:56 -07:00
FaceDeer
5c0700456c
Optimization of table allocation, more sophisticated entity damage (#37)
This pass cleans up a lot of unnecessary table allocation and disposal, which should help with memory usage and garbage collection.

It also adds some sophistication to the entity damage process from diggers, allowing items to be picked up into Digtron inventory.
2019-01-04 22:06:12 -07:00
FaceDeer
fe753a9bed check for presence of node def before testing wallmounted 2019-01-02 20:36:21 -07:00
FaceDeer
1f778ba0fe Handle some formspecs differently, allowing digtron components to be placed on builders and intermittent diggers more easily 2019-01-01 23:31:51 -07:00
Alex
cff5385881 Awards: Use custom triggers (#32)
* Awards: Use custom triggers

* Remove extra trigger

* Remove non-existent type

* Replace missed player arg
2018-12-23 19:06:49 -07:00
Alex
bcc2f64c2e Use updated awards API (#31)
* Use updated awards API

* Fix dig/place incrementing

* Use awards.player() in crates

* Use new 'dig' incrementor for digtron packing

* Only initialize tables if they dont exist

* Fix typo

* Remove init function, use checks instead
2018-12-14 00:48:41 -07:00
Thomas Rudin
1011901938 fix crate protection (#25)
* fix crate protection

all crates check area protection (minetest.is_protected)
protected crates check area and owner (even if not in protected area)

* separate check and action

* whitespace stuff

* another missing whitespace

* add suggestion from T4im
2018-10-15 17:13:06 -06:00
Thomas Rudin
d3397563ec Fix undeclared global variable warnings
Closes #26 (trivial)
2018-08-28 20:25:13 +02:00
FaceDeer
0cb8d2dc33 add ability for Digtron to emerge unloaded map blocks 2018-06-10 23:00:54 -06:00
FaceDeer
b33d33074c
Merge pull request #20 from numberZero/fix-global
No need to make auto_cycle global
2018-05-09 08:18:55 -06: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
123e470544 Add filters to prevent non-whitelisted craft items from being built 2017-11-16 16:53:01 -07: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