technic/technic_worldgen
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
..
locale Uranium enrichment via centrifuge 2014-07-28 13:18:51 +01:00
textures Uranium enrichment via centrifuge 2014-07-28 13:18:51 +01:00
config.lua Make technic_worldgen loadable before technic 2014-07-26 19:20:45 +01:00
crafts.lua Uranium enrichment via centrifuge 2014-07-28 13:18:51 +01:00
depends.txt Make technic_worldgen loadable before technic 2014-07-26 19:20:45 +01:00
init.lua Make technic_worldgen loadable before technic 2014-07-26 19:20:45 +01:00
mg.lua Add mg support 2013-10-29 11:18:08 +01:00
nodes.lua Merge remote-tracking branch 'zefram/zefram/centrifuge' 2014-07-30 15:36:27 -04:00
oregen.lua Partial rewrite 2013-09-17 16:37:56 -04:00
rubber.lua Revise rules for regenerating latex 2014-08-13 23:13:52 +01:00