1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-14 14:20:40 +01:00
Commit Graph

37 Commits

Author SHA1 Message Date
Niklp09
640cfd3ac7 improve near_nodes support 2023-04-13 14:15:10 +02:00
Niklp09
85569605f5 spawn some more plants directly 2023-04-12 21:03:22 +02:00
unknown
577404c850 fix https://github.com/mt-mods/plantlife_modpack/issues/38 - add use_texture_alpa param to nodes that have textures with alpa 2023-01-21 15:48:24 -05:00
jolesh
9483fee7b3
Added Esperanto translation (#36)
used the template.txt's
2022-11-06 12:53:16 -05:00
reusityback
8287ae2476
Add German translation (#29)
* Add German translation

Add German translation

* Add German translation

Add German translation

* Add German translation

Add German translation

* Add German transaltion

Add German translation

* Add German translation

Add German translation

* Add German translation

Add German translation

* Add German translation

Add German translation

* Add German translation

Add German translation

* Add German translation

Add German translation

* Add German translation

Add German translation

* Add support for i18n

Add support for i18n, make loading translateable

* Add template for translation

* Add German translation

Add German translation
2022-09-01 21:02:37 -04:00
A S Lewis
d33907ca75
Fix typo in crafting recipes in trunks
Fixes #24 
Co-authored-by: A S Lewis <aslewis@cpan.org>
2022-06-08 22:03:52 +10:00
Jordan Leppert
cb2373f089
Trunks: Prevent crashing when unknown nodes exist (#9)
Extension of commit 9ed4771515

Co-authored-by: OgelGames <olliverdc28@gmail.com>
2021-12-16 20:10:36 +11:00
Vanessa Dannenberg
a2976c609a update all generate, spawn, and grow calls
to use "." instead of ":" notation
(quells all those "deprecated" warnings)
2021-07-19 14:18:01 -04:00
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
9ed4771515 fix rare edge-case where unknown nodes cause a crash
When a new mapblock is generated and the mod checks the neighbors around
a target to place a fallen twig, if it finds an unknown node (because
it's in a neighboring, old mapblock from a previous session -- perhaps
an old moss node that hadn't converted-over to wallmounted yet), trying
to check its buildable_to state will fail, since that requires that
there be a node def to look at, which an unknown node wouldn't have.

This substitutes a known not-buildable_to node for those cases, so that
the code won't try to overwrite what it found.
2021-06-23 21:03:06 -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
31e0066238 oops 2019-06-18 14:59:34 -04:00
Vanessa Dannenberg
3d13053d97 use table copy instead of own clone node 2019-06-18 14:55:29 -04: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
LeMagnesium
824a77672c
Fix two typos 2018-02-10 17:17:09 +01: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
42732b0636 split plants_lib off into its own repository
renamed it to biome_lib
changed all relevant functions, tables, depends.txt, etc. in this modpack to call for the new name.
2015-08-09 10:37:50 -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
3eaf687da4 OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 14:08:08 -05:00
Vanessa Ezekowitz
d6e9d0a46e local-ize a couple more variables 2014-11-20 11:48:57 -05:00
Vanessa Ezekowitz
2bab75fa9e stop crash from not-registered node being called for in trunks mod 2014-09-06 13:06:24 -04: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
Vanessa Ezekowitz
da732bb18e use real function calls instead of the old string method where possible
(basically leaving only the old legacy mapgen calls still using the string method)
2014-08-15 10:47:44 -04:00
Vanessa Ezekowitz
f3cdd1b7a1 don't disable air checking in biome defs when it isn't necessary
doing so greatly slows down plants_lib by forcing the use of the legacy
mapgen code.
2014-08-12 23:44:00 -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