1
0
Fork 0

Small texture rename in readme

This commit is contained in:
FossFanatic 2023-06-15 07:08:46 +00:00 committed by FossFanatic
parent 3884a9e548
commit 3347e9b42b
1 changed files with 36 additions and 36 deletions

View File

@ -1,36 +1,36 @@
# mcl_dripping # mcl_dripping
Dripping Mod by kddekadenz, modified for MineClone 2 by Wuzzy, NO11 and AFCM Dripping Mod by kddekadenz, modified for MineClone 2 by Wuzzy, NO11 and AFCM
## Manual ## Manual
- drops are generated rarely under solid nodes - drops are generated rarely under solid nodes
- they will stay some time at the generated block and than they fall down - they will stay some time at the generated block and than they fall down
- when they collide with the ground, a sound is played and they are destroyed - when they collide with the ground, a sound is played and they are destroyed
Water and Lava have builtin drops registered. Water and Lava have builtin drops registered.
## License ## License
code & sounds: CC0 code & sounds: CC0
## API ## API
```lua ```lua
mcl_dripping.register_drop({ mcl_dripping.register_drop({
-- The group the liquid's nodes belong to -- The group the liquid's nodes belong to
liquid = "water", liquid = "water",
-- The texture used (particles will take a random 2x2 area of it) -- The texture used (particles will take a random 2x2 area of it)
texture = "default_water_source_animated.png", texture = "mcl_core_water_source_animation.png",
-- Define particle glow, ranges from `0` to `minetest.LIGHT_MAX` -- Define particle glow, ranges from `0` to `minetest.LIGHT_MAX`
light = 1, light = 1,
-- The nodes (or node group) the particles will spawn under -- The nodes (or node group) the particles will spawn under
nodes = { "group:opaque", "group:leaves" }, nodes = { "group:opaque", "group:leaves" },
-- The sound that will be played then the particle detaches from the roof, see SimpleSoundSpec in lua_api.txt -- The sound that will be played then the particle detaches from the roof, see SimpleSoundSpec in lua_api.txt
sound = "drippingwater_drip", sound = "drippingwater_drip",
-- The interval for the ABM to run -- The interval for the ABM to run
interval = 60, interval = 60,
-- The chance of the ABM -- The chance of the ABM
chance = 10, chance = 10,
}) })
``` ```