2e621eab78 | ||
---|---|---|
LICENSE | ||
README.md | ||
init.lua | ||
mod.conf | ||
settingtypes.txt |
README.md
Lava Ore Generation
This mod makes the lava turn stone into ore over time.
When lava comes in contact with stone it turns red hot. After a specific time it turns into ore.
Installation
-
Unzip the archive, rename the folder to
lava_ore_gen
and place it in .. minetest/mods/ -
GNU/Linux: If you use a system-wide installation place it in ~/.minetest/mods/.
-
If you only want this to be used in a single world, place the folder in .. worldmods/ in your world directory.
For further information or help, see:
https://wiki.minetest.net/Installing_Mods
API
lava_ore_gen.blacklist
is a table where you can blacklist node names by listing them in the table.
Example code:
lava_ore_gen.blacklist["default:stone_with_iron"] = true
Settings
Fixed interval of when stone is changed into ore.
lava_ore_gen.interval = 3600
Random chance of when to change stone into ore.
lava_ore_gen.chance = 86400
Make ores random instead of being based on how rare they are.
lava_ore_gen.random = false