8e2148ffc3
Merge remote-tracking branch 'upstream/master'
2021-07-24 13:12:23 +02:00
Vanessa Dannenberg
680b02f7e2
fix crash for sure this time
2021-07-19 23:56:47 -04: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
46717958bc
use biome_lib.get_nodedef_field
...
instead of biome_lib:get_nodedef_field
(change `.` to `:`)
2021-07-19 14:08:57 -04:00
5ac025cda4
Merge remote-tracking branch 'upstream/master'
2021-07-03 17:29:19 +02:00
Vanessa Dannenberg
52b2d18523
make moss buildable_to
...
and make sunflower attached_node like other plants
2021-06-29 13:44:00 -04:00
efe869d386
Fix crash caused by the previous merge
2021-06-26 20:04:36 +02:00
b597f99014
Merge remote-tracking branch 'upstream/master'
2021-06-26 19:07:22 +02: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
637f96e215
Merge remote-tracking branch 'upstream/master'
2021-06-20 17:27:50 +02: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
fa9f30043f
Merge remote-tracking branch 'upstream/master'
2021-04-08 13:38:00 +02: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
d97f25e112
Merge remote-tracking branch 'upstream/master'
2021-02-13 14:19:21 +01: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
86896848d5
Merge remote-tracking branch 'upstream/master'
2020-12-03 20:55:06 +01:00
VanessaE
622016713e
respect protection when placing twigs
2020-12-02 10:05:01 -05:00
5b66d54632
Add protection check when placing twigs from trunks mod
2020-07-24 23:14:34 +02:00
031260a62d
[youngtrees] Optimize math.random call function
2020-07-24 00:08:50 +02:00
d4e83d7e78
[trunks] Tidy code and disable auto roof corners ABM
2020-07-24 00:03:48 +02:00
8d65559828
[nature_classic] Optimize math.random call function
2020-07-23 23:10:37 +02:00
ec8132b06c
[flowers_plus] Optimize math.random call function
2020-07-23 23:02:17 +02:00
4dcf14ce1f
[ferns] Optimize math.random call function
2020-07-23 22:59:08 +02:00
d7b543f5d7
[dryplants] Tidy code
2020-07-23 22:45:28 +02:00
f661500cb3
[cavestuff] Optimize math.* call functions
2020-07-23 22:14:52 +02:00
c2681261e0
[bushes_classic] Optimize math.random call function
2020-07-23 22:10:33 +02:00
2c433e0b57
[bushes] Tidy code
2020-07-23 22:05:25 +02:00
1f52bbea19
[vines] Optimize math.random call function
2020-07-23 21:23:51 +02:00
10ff005066
Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev
2020-06-14 21:13:14 +02:00
VanessaE
9963e588d6
add minimum minetest version key for contentdb
2020-06-03 13:00:31 -04:00
80b548535a
Merge branch 'master' of yunohost.local:mtcontrib/plantlife_modpack into nalc-1.2-dev
2020-03-25 23:11:23 +01: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
45a8064d3d
Merge branch 'master' of yunohost.local:mtcontrib/plantlife_modpack into nalc-1.2-dev
2019-12-22 14:34:30 +01: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
1696d8bd8f
Merge branch 'master' into nalc-1.2
2019-06-09 13:43:28 +02: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
091ce416d0
[trunks] Ajoute moss et moss_fungus dans le groupe attached_node.
...
* Permet de les dropper quand on récolte le bloc où ils sont attachés.
2019-04-26 20:00:38 +02:00