technic/technic/tools
Zefram 3b16a2858f Revise rules for regenerating latex
To ensure that only rubber tree trunk nodes that are part of trees
regenerate, rather than those that are used as building blocks, check
that they are sufficiently close to rubber tree leaves.  This replaces the
older rule that naturally-grown trunks regenerate (regardless of leaves)
and manually-placed trunks don't (even though manually building a tree
otherwise works).  The detection of manually-placed trunks was in any
case broken for users of moretrees, because that mod fails to set the
flag signalling manual placement.

Incidentally also fix a bug that caused rubber tree branches (horizontal
trunk nodes) to turn vertical when regenerating latex.  Rather than set
the complete node structure, only switch the type name, as does the tree
tap when emptying the node.
2014-08-13 23:13:52 +01:00
..
cans.lua Improved can usage 2014-07-23 20:21:59 +01:00
chainsaw.lua Rework some recipes to use more varied ingredients 2014-07-09 09:17:44 +02:00
flashlight.lua Add hack for uninitialized players in flashlight 2014-07-21 00:14:55 -04:00
init.lua Handheld prospecting tool 2014-07-07 15:15:05 +02:00
mining_drill.lua Fix drill recipe 2014-07-14 15:19:02 +02:00
mining_lasers.lua Rework some recipes to use more varied ingredients 2014-07-09 09:17:44 +02:00
prospector.lua Increase prospector's charge capacity 2014-07-10 08:56:48 +02:00
sonic_screwdriver.lua Rework some recipes to use more varied ingredients 2014-07-09 09:17:44 +02:00
tree_tap.lua Revise rules for regenerating latex 2014-08-13 23:13:52 +01:00