1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-12-27 10:50:24 +01:00
Commit Graph

407 Commits

Author SHA1 Message Date
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
46717958bc use biome_lib.get_nodedef_field
instead of biome_lib:get_nodedef_field
(change `.` to `:`)
2021-07-19 14:08:57 -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
b1b4a08834 make pebbles fall when ground is dug. 2021-06-21 00:36:14 -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
Vanessa Dannenberg
c061ef23cf Merge branch 'bls-197' into 'master'
Fixes bug with stalactite placement

See merge request VanessaE/plantlife_modpack!7
2021-06-07 17:04:31 +00:00
Oversword
d87d8e51f5 Fixes bug with stalactite placement 2021-06-07 17:04:31 +00:00
Vanessa Dannenberg
70df655a42 allow pebbles to spawn on a few more surface types 2021-04-06 04:09:34 -04:00
Vanessa Dannenberg
4876fc1265 let biome_lib place pebbles instead of using custom mapgen code 2021-04-06 04:08:41 -04:00
Vanessa Dannenberg
81b2b0898b don't use a function to pick random dry grasses
just use `biome_lib`'s random-choice table feature
(it was only there to let the mod replace junglegrass, but that's pointless
when junglegrass doesn't tend to spawn in the same areas)
2021-04-06 03:32:04 -04:00
Vanessa Dannenberg
a750bac532 Merge branch 'master' into 'master'
Made woodsoils soils tillable.

See merge request VanessaE/plantlife_modpack!6
2021-02-07 23:29:08 +00:00
Tin Švagelj
b4b24dedba Made woodsoils soils tillable. 2021-02-07 21:17:29 +01:00
VanessaE
622016713e respect protection when placing twigs 2020-12-02 10:05:01 -05:00
VanessaE
9963e588d6 add minimum minetest version key for contentdb 2020-06-03 13:00:31 -04:00
Vanessa Dannenberg
686dd21b9d Merge branch 'mt5-locale' into 'master'
MT5 locale

See merge request VanessaE/plantlife_modpack!5
2020-02-15 14:32:06 +00: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
07b6fc48ea Merge branch 'vines-typo' into 'master'
Fix typo in vines/init.lua

See merge request VanessaE/plantlife_modpack!4
2019-05-15 20:10:45 +00:00
Pierre-Adrien Langrognet
9a3d101c89 Fix typo in vines/init.lua 2019-05-14 17:12:29 +00:00
Vanessa Dannenberg
0d228f705c Merge branch 'pg-grow-fern-saplings' into 'master'
Fix growth of tree fern saplings

See merge request VanessaE/plantlife_modpack!3
2019-04-11 22:44:09 +00:00
Pedro Gimeno
229d6aba88 Fix growth of tree fern saplings
While on it, factor out calls to get_node.
2019-04-12 00:10:44 +02:00
Vanessa Dannenberg
4e32feaa55 Merge branch 'patch-1' into 'master'
more realistic frequency of molehills

See merge request VanessaE/plantlife_modpack!2
2019-03-17 23:49:28 +00:00
John Wayne
b9b592af44 more realistic frequency of molehills 2019-03-17 22:53:50 +00:00
Vanessa Dannenberg
08698ecd60 make spawning of under-dirt roots configurable
(enabled by default, unless explicitly set to false)
2018-12-08 18:51:53 -05:00
Vanessa Dannenberg
45a400f6ce minor license declaration tweak 2018-11-08 19:10:02 -05:00
Vanessa Dannenberg
3dde23cff8 license fixups: use LGPL3.0 for code, CC-by-SA 4.0 for media 2018-11-08 18:29:07 -05:00
Vanessa Dannenberg
feb3092d06 switch to Tenplus1's fork of vines 2018-10-25 11:49:01 -04:00
Vanessa Dannenberg
77093e428a use swap_node() where possible, for speed 2018-10-25 10:27:54 -04:00
Vanessa Dannenberg
2c7a776c7f remove an old outdated alias 2018-08-13 15:57:50 -04:00
Vanessa Dannenberg
3eb2befaa4 defer to farming for sugar 2018-08-13 15:57:45 -04:00
tenplus1
60c3664cbb Update cooking.lua with food_ groups and easier recipes. 2018-08-12 14:23:13 +00:00
sys4-fr
9789d6da3a Fix ferns compatibility with minetest >= 0.4.16 (#78) 2018-03-17 16:37:02 -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
8350dd0c86 Add luackeck rc file 2018-02-17 16:27:34 -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
Vanessa Dannenberg
b0f742e5c1
Merge pull request #76 from LeMagnesium/fix_typos
Fix two typos
2018-02-13 13:31:23 -05:00
LeMagnesium
824a77672c
Fix two typos 2018-02-10 17:17:09 +01:00
Vanessa Ezekowitz
156f068ead Merge pull request #74 from afmachado/master
Rename pt.txt to pt_br.txt
2017-09-25 23:24:11 -04:00
Vanessa Ezekowitz
de4de190e5 include both kinds of leaves in nature blossoms' leafdecay reg 2017-08-12 19:59:19 -04:00
Vanessa Ezekowitz
6fe2a34fa5 Merge pull request #75 from fat115/master
global i18n : add plantlife_i18n mod
2017-08-12 16:34:55 -04:00
Free Educational Software for Mobile Devices - Translations to Brazilian Portuguese
e5be707c15 Rename pt_br.txt to pt_BR.txt 2017-08-03 13:28:54 -03: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
Free Educational Software for Mobile Devices - Translations to Brazilian Portuguese
637767f673 Rename pt.txt to pt_br.txt 2017-07-26 17:35:50 -03:00
Vanessa Ezekowitz
983574c253 Merge pull request #73 from afmachado/master
Translation to Brazilian Portuguese
2017-07-20 01:38:44 -04:00