[Mod] Wells, Rainbarrels, Non-Apocalyptic Water [rainbarrel]
Posted: Wed Feb 06, 2019 22:24
Any Minetest Server operator knows that one substance alone is the ultimate griefing weapon, the bane of protection mods, and the apocalyptic substance of lag, capable of unleashing biblical floods if it falls into the hands of an evil player, which is highly likely, since it is painfully common, and infinitely obtainable.
This destructive element is known, and feared as it spills through land and sky with no regard for protection.
It goes by many names... it is l'eau, akvo, mizu, water.
To those who dread it most, it is default:water_source.
The developers have been silent when it comes to giving us a register_on_renewliquid function, or anything at all to limit the server-destroying power of water, but I haven't. I'm throwing my code into the ring, for what it's worth, and offering my partial solution to this problem that works for both players and admins!
And so, I present
rainbarrel!
The rainbarrel mod changes the manner by which water is renewable.
Instead of simply making an obscenely unrealistic "water generator", players must use rain barrels or wells, which slowly accumulate water.
Wells fill only half as fast as rain barrels, but have 4 times the capacity.
Also, if you have my fork of snowdrift installed, rain barrels will fill twice as fast, but only in the rain, for more realism.
Obviously, this mod will break water generators, and remove the ability to quickly fill artificial lakes/etc.
Download
License:
code: LGPLv2.1
textures/models: CC BY-SA 4.0
This destructive element is known, and feared as it spills through land and sky with no regard for protection.
It goes by many names... it is l'eau, akvo, mizu, water.
To those who dread it most, it is default:water_source.
The developers have been silent when it comes to giving us a register_on_renewliquid function, or anything at all to limit the server-destroying power of water, but I haven't. I'm throwing my code into the ring, for what it's worth, and offering my partial solution to this problem that works for both players and admins!
And so, I present
rainbarrel!
The rainbarrel mod changes the manner by which water is renewable.
Instead of simply making an obscenely unrealistic "water generator", players must use rain barrels or wells, which slowly accumulate water.
Wells fill only half as fast as rain barrels, but have 4 times the capacity.
Also, if you have my fork of snowdrift installed, rain barrels will fill twice as fast, but only in the rain, for more realism.
Obviously, this mod will break water generators, and remove the ability to quickly fill artificial lakes/etc.
Download
License:
code: LGPLv2.1
textures/models: CC BY-SA 4.0