mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 15:00:18 +01:00
River water renewability: Add comments to nodes.lua and bucket mod
This commit is contained in:
parent
91997d9342
commit
3ae382c913
@ -188,6 +188,12 @@ bucket.register_liquid(
|
||||
{water_bucket = 1}
|
||||
)
|
||||
|
||||
-- River water source is 'liquid_renewable = false' to avoid horizontal spread
|
||||
-- of water sources in sloping rivers that can cause water to overflow
|
||||
-- riverbanks and cause floods.
|
||||
-- River water source is instead made renewable by the 'force renew' option
|
||||
-- used here.
|
||||
|
||||
bucket.register_liquid(
|
||||
"default:river_water_source",
|
||||
"default:river_water_flowing",
|
||||
|
@ -1656,6 +1656,10 @@ minetest.register_node("default:river_water_source", {
|
||||
liquid_alternative_flowing = "default:river_water_flowing",
|
||||
liquid_alternative_source = "default:river_water_source",
|
||||
liquid_viscosity = 1,
|
||||
-- Not renewable to avoid horizontal spread of water sources in sloping
|
||||
-- rivers that can cause water to overflow riverbanks and cause floods.
|
||||
-- River water source is instead made renewable by the 'force renew'
|
||||
-- option used in the 'bucket' mod by the river water bucket.
|
||||
liquid_renewable = false,
|
||||
liquid_range = 2,
|
||||
post_effect_color = {a = 103, r = 30, g = 76, b = 90},
|
||||
|
Loading…
Reference in New Issue
Block a user