Go to file
Coder12a 2e621eab78 Add files 2021-09-05 18:16:03 -05:00
LICENSE Upload from harddisk 2021-09-05 22:55:44 +00:00
README.md Add files 2021-09-05 18:16:03 -05:00
init.lua Add files 2021-09-05 18:16:03 -05:00
mod.conf Add files 2021-09-05 18:16:03 -05:00
settingtypes.txt Add files 2021-09-05 18:16:03 -05:00

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