1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-06-28 14:16:11 +02:00

41 Commits

Author SHA1 Message Date
f629f54d43 Is ground content revision (#69)
* bushes ground content

minetest default game treats all bush parts as ground
content, so we do that here too. The baskets however are
player made and placed, so they aren't ground content

* cavestuff ground content

Pebbles are given to mapgen as decorations, so they have
been left as ground content.
The stalactites are not ground content

* user 'placed' nodes -> not ground content

* ground content revision
2024-03-15 17:54:16 +01:00
455f891275 Optimize textures and delete unused textures (#68) 2023-12-23 23:45:46 +11:00
72572bb5c8 Use proper creative mode check (#59) 2023-09-23 13:18:18 -04:00
12cfbe3cb5 Luacheck things (#53)
* add luacheck workflow

* get rid of ancient settings in dryplants

* toss settings.txt code file

* get rid of settings in trunks

* Update .github/workflows/luacheck.yml

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>

---------

Co-authored-by: OgelGames <olliverdc28@gmail.com>
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2023-07-21 15:29:53 -04:00
f4185762d5 Some minor German translation fixes (#47) 2023-07-14 07:07:24 -04:00
c7f65aac83 cleanup codebase (#46)
* cleanup codebase

* fix typo

* add nil checks to on_place

* nuke all mod loaded statements
2023-07-10 18:24:25 -04:00
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
9483fee7b3 Added Esperanto translation (#36)
used the template.txt's
2022-11-06 12:53:16 -05:00
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
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
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
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
52b2d18523 make moss buildable_to
and make sunflower attached_node like other plants
2021-06-29 13:44:00 -04:00
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
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
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
b3cbd3df2e fix moss node drops 2021-06-21 05:21:34 -04:00
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
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
622016713e respect protection when placing twigs 2020-12-02 10:05:01 -05:00
47c20dc550 Remove translations in minetest.log output
because they are not translated anyway
2020-02-15 14:32:06 +00:00
31e0066238 oops 2019-06-18 14:59:34 -04:00
3d13053d97 use table copy instead of own clone node 2019-06-18 14:55:29 -04:00
77093e428a use swap_node() where possible, for speed 2018-10-25 10:27:54 -04:00
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
1ccfeb6214 Reduce usage of debug print statements for no good reason (console floods) 2018-02-17 16:27:12 -08:00
824a77672c Fix two typos 2018-02-10 17:17:09 +01:00
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
2ad8c73f66 Fix trunks mod start failure if some type of trunk does not exist. 2015-11-03 12:46:15 +01:00
afb84c7cc9 Look for default nodes when growing stuff on/around pine trees. 2015-08-14 12:18:12 -04:00
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
e110b09920 use default pines 2015-07-19 16:38:32 -04:00
01555c10c1 better groups settings in trunks "twigs" and "moss" nodes 2015-02-16 17:53:06 -05:00
3eaf687da4 OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 14:08:08 -05:00
d6e9d0a46e local-ize a couple more variables 2014-11-20 11:48:57 -05:00
2bab75fa9e stop crash from not-registered node being called for in trunks mod 2014-09-06 13:06:24 -04:00
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
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
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
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
3b7b242481 Imported dryplants and ferns mods and all components of the Undergrowth modpack 2014-08-12 15:08:11 -04:00