Commit graph

24 commits

Author SHA1 Message Date
Wbjitscool
1b4bcda9da Update 'mods/ITEMS/mcl_mangrove/init.lua' 2022-12-20 02:58:58 +00:00
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
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
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
7c771ad702 Mise à jour de 'mods/ITEMS/mcl_mangrove/init.lua' 2022-08-23 20:45:02 +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
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
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