Commit Graph

45 Commits

Author SHA1 Message Date
kabou 4e282df905 Mangrove roots are not leaves and some trivia.
* Remove `leaves` group from mangrove roots node registration.  Mangrove
  roots should not decay like leaves do.
* Fix some formatting weirdness.
* Add a "fixme" comment to some duplicated code that causes luacheck to
  complain.
2022-12-15 22:42:09 +00:00
kabou 1b0b2b8b04 Add `compostability` group to mangrove leaves. 2022-12-15 22:42:09 +00:00
kabou c33d7d0106 Remove duplicate callback registration.
* `on_place` was registered twice in mangrove tree trunk node
  registration.  Remove one.
2022-12-15 22:42:08 +00:00
kabou cec5b1668a Remove unused `leafdecay` group.
* This group is no longer used and is removed from leaves node groups.
* Since it was never added to GROUPS.md, nothing needs changed there.
* Remove the `leafdecay_distance` parameter from node registrations.
2022-12-15 22:42:08 +00:00
kabou a4ef367708 Add "orphaned" leaves nodes.
* Add "orphaned" leaves nodes, these are copies of the regular leaves
  nodes whose sole purpose is to replace leaves nodes when no more tree
  trunks are present nearby.  The orphaned nodes are swapped in by a
  callback on destruction of tree trunk nodes and will be decayed by a
  dedicated abm that processes all nodes in `group:leaves_orphan`.
* Add `mcl_core.update_leaves()` function, a `after_destruct` callback
  handler for tree trunk nodes.  The function finds leaves nodes nearby
  destroyed tree trunk nodes and swaps these for orphaned leaves nodes
  if no other tree trunk nodes remain near them.
* Add `after_destruct` callbacks to tree trunk node registrations in
  mcl_core/nodes_trees.lua and mcl_mangrove/init.lua to update orphaned
  leaves.
* Add entry for group `leaves_orphan` to GROUPS.md
* Also add entry for group `leaves` to GROUPS.md (it was missing).
2022-12-15 22:42:08 +00:00
Michieal 9ffdd13fa5 Make waterlogged roots more water looking
A quick change to the setting within the wlroots definition that makes the water translucent.
It's not perfect, but I think it looks better blended than opaque.
2022-11-20 19:16:39 +00:00
PrairieWind 89a342a34f Add Bee Nest Tree Schematics and generation 2022-11-17 03:16:45 +01:00
cora 5a977b5b76 Fix mangrove leaves dropping themselves 2022-10-06 20:40:16 +02:00
3raven b02daff1c9 Mise à jour de 'mods/ITEMS/mcl_mangrove/init.lua' 2022-08-24 05:02:18 +00:00
3raven 7a67555889 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/mcl_mangrove.fr.tr' 2022-08-24 04:09:11 +00:00
3raven e442d225e5 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/mcl_mangrove.fr.tr' 2022-08-24 04:05:11 +00:00
3raven 3dcd301ed5 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/template.txt' 2022-08-24 04:02:57 +00:00
3raven 32c834c1d6 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/mcl_mangrove.fr.tr' 2022-08-24 04:02:26 +00:00
3raven 071ae27fcc Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/mcl_mangrove.fr.tr' 2022-08-24 03:59:20 +00:00
3raven 1a86c3d3b0 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/mcl_mangrove.fr.tr' 2022-08-24 03:54:58 +00:00
3raven 8a6c2f2850 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/template.txt' 2022-08-24 03:24:24 +00:00
3raven b53b363a9a Mise à jour de 'mods/ITEMS/mcl_mangrove/init.lua' 2022-08-24 03:12:09 +00:00
3raven 64fc1d0c14 Mise à jour de 'mods/ITEMS/mcl_mangrove/init.lua' 2022-08-24 03:07:35 +00:00
3raven 8eacc9ef94 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/template.txt' 2022-08-23 23:55:56 +00:00
3raven 07f5cde5d7 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/mcl_mangrove.fr.tr' 2022-08-23 23:55:32 +00:00
3raven 38318180b8 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/mcl_mangrove.fr.tr' 2022-08-23 21:39:16 +00:00
3raven 556fe6c7e2 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/mcl_mangrove.fr.tr' 2022-08-23 21:10:55 +00:00
3raven f1a1b4d59c Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/mcl_mangrove.fr.tr' 2022-08-23 21:07:25 +00:00
3raven 478c99ec26 Ajouter 'mods/ITEMS/mcl_mangrove/locale/mcl_mangrove.fr.tr' 2022-08-23 20:57:53 +00:00
3raven fb7207b926 Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/template.txt' 2022-08-23 20:57:00 +00:00
3raven 60c220c33e Mise à jour de 'mods/ITEMS/mcl_mangrove/locale/template.txt' 2022-08-23 20:47:30 +00:00
3raven 27a172ab00 Ajouter 'mods/ITEMS/mcl_mangrove/locale/template.txt' 2022-08-23 20:47:03 +00:00
3raven 9b471f6e5c Supprimer 'mods/ITEMS/mcl_mangrove/template.txt' 2022-08-23 20:46:40 +00:00
3raven 0957c1b3c4 Mise à jour de 'mods/ITEMS/mcl_mangrove/template.txt' 2022-08-23 20:45:40 +00:00
3raven 7c771ad702 Mise à jour de 'mods/ITEMS/mcl_mangrove/init.lua' 2022-08-23 20:45:02 +00:00
3raven 0e69ef9156 Ajouter 'mods/ITEMS/mcl_mangrove/template.txt' 2022-08-23 20:42:56 +00:00
cora e901003e22 Fix mangrove (trap)door, stair and slab recipes 2022-08-03 11:57:17 +02:00
cora c36b359c70 Fix mangrove roots and water logged roots(somewhat) 2022-08-03 00:00:44 +02:00
cora 191e117e05 Axe can strip mangrove wood 2022-08-02 23:51:48 +02:00
cora 1065165952 fix mangrove trapdoor 2022-08-02 12:06:13 +02:00
cora c0fec69c70 Add plantlike_rooted propagules 2022-08-02 12:02:20 +02:00
cora 844cf6c5dc Fix waterlogged texture to be animated 2022-08-02 12:02:20 +02:00
cora 2b90675ea2 fix warnings 2022-08-02 12:02:20 +02:00
cora 8e41d5a1f4 Fix propagule growth 2022-08-02 12:02:20 +02:00
cora 811d7a778f Add tall mangrove tree schematics 2022-08-02 12:02:20 +02:00
cora 4491e962d5 grand mcl_mangrove cleanup 2022-08-02 12:02:20 +02:00
cora 77c878f609 make waterlogged roots work with river water 2022-08-02 12:02:20 +02:00
cora 3bf45ec4e9 Spawn mangroves in shallow water, fix schematics 2022-08-02 12:02:20 +02:00
cora e8fc56ab33 Fix water- and mudlogged roots, add w. logging abm 2022-08-02 12:02:20 +02:00
Thunder1035 d284ddf150 Add mangrove trees 2022-08-02 12:02:20 +02:00