Commit Graph

19 Commits

Author SHA1 Message Date
Vanessa Dannenberg
52b2d18523 make moss buildable_to
and make sunflower attached_node like other plants
2021-06-29 13:44:00 -04:00
Vanessa Dannenberg
bfd08f01c8 Just run the conversion LBM on every load
it won't take any appreciable CPU anyway if there's nothing to do.

Minetest seems to not new (or newly-renamed) LBMs when it should, when
it's set to only run once.  Also covers cases where a crash could
prevent mapblocks being checked later.
2021-06-23 21:09:48 -04:00
Vanessa Dannenberg
3f107a8067 renamed the LBM in case it got run at the wrong time
between mod updates; forces it to run again
(it's harmless to let it run twice)
2021-06-23 10:09:58 -04:00
Vanessa Dannenberg
b3cbd3df2e fix moss node drops 2021-06-21 05:21:34 -04:00
Vanessa Dannenberg
f01e4bb55f Convert moss to wallmounted mode
I couldn't use leaf decay to make moss disappear when a trunk is dug,
because it breaks leaf decay on that tree's leaves: the leafdecay
function is not a true "register"- type function that can be run more
than once on a given trunk node, it's an all-or-nothing override and
only the last call for any given trunk actually sticks.

Since moss is... was facedir, attached_node didn't work right either, as
it doesn't have a mode to look for a vertical surface behind the
attached object (like how it works with wallmounted items), so this
converts moss to true wallmounted and uses attached_node like I
originally wanted.

To avoid losing the effect where moss can be rotated randomly when
generated, I registered 4 nodes for each moss type, with
increasingly-rotated textures.
2021-06-20 23:30:26 -04:00
Vanessa Dannenberg
7b4f54ead0 make youngtrees, bushes fall on dig,
make moss fall when the node holding it is dug,
and make trunk roots decay (exploiting the standard leafdecay function)
2021-06-19 20:36:36 -04:00
VanessaE
622016713e respect protection when placing twigs 2020-12-02 10:05:01 -05:00
Louis Royer
47c20dc550 Remove translations in minetest.log output
because they are not translated anyway
2020-02-15 14:32:06 +00:00
Vanessa Dannenberg
77093e428a use swap_node() where possible, for speed 2018-10-25 10:27:54 -04:00
Auke Kok
0af7b69afa cleanfile run: remove trailing whitespace.
When it's this far out of hand you really need to clean up or else
everyone will be submitting patches with more whitespace problems.
2018-02-17 16:28:43 -08:00
Auke Kok
1ccfeb6214 Reduce usage of debug print statements for no good reason (console floods) 2018-02-17 16:27:12 -08:00
fat115
5ca1ed261e global i18n : add plantlife_i18n mod
idea taken from homedecor_modpack and its homedecor_i18n
all translated mods have a new dependency : plantlife_i18n
translations are stored in po/pot file : one file for all mods

added french translation (almost complete)
transfered de/es/tr/pt translations to corresponding .po file
(only for some mods, unfortunately translations are incomplete)
2017-08-03 15:02:56 +02:00
Rogier
2ad8c73f66 Fix trunks mod start failure if some type of trunk does not exist. 2015-11-03 12:46:15 +01:00
Vanessa Ezekowitz
afb84c7cc9 Look for default nodes when growing stuff on/around pine trees. 2015-08-14 12:18:12 -04:00
Vanessa Ezekowitz
e110b09920 use default pines 2015-07-19 16:38:32 -04:00
Vanessa Ezekowitz
01555c10c1 better groups settings in trunks "twigs" and "moss" nodes 2015-02-16 17:53:06 -05:00
Vanessa Ezekowitz
b914e5395b use set_node(), not add_node()
don't use minetest.env:* method (deprecated), use minetest.* instead
2014-08-15 19:34:15 -04:00
Wuzzy
d56516de3a Cleanup node naming, node drops and inv. images
Descriptions of all nodes are (hopefully) in proper English now,
no more stupid non-descriptions like “Young2treebottom” etc.
Bush branches drop sticks, young tree trunks drop sticks, too.
2014-08-12 16:07:43 -04:00
Vanessa Ezekowitz
3b7b242481 Imported dryplants and ferns mods and all components of the Undergrowth modpack 2014-08-12 15:08:11 -04:00