forked from luanti-org/minetest_game
		
	River water renewability: Add comments to nodes.lua and bucket mod
This commit is contained in:
		| @@ -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}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user