Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local moreores = {}
- local defaults = {
- tin_chunk_size = 7,
- silver_chunk_size = 11,
- mithril_chunk_size = 11,
- tin_ore_per_chunk = 3,
- silver_ore_per_chunk = 4,
- mithril_ore_per_chunk = 1,
- tin_min_depth = -31000,
- silver_min_depth = -31000,
- mithril_min_depth = -31000,
- tin_max_depth = 8,
- silver_max_depth = -2,
- mithril_max_depth = -512,
- }
- for key, value in pairs(defaults) do
- local newval = minetest.setting_get("moreores_" .. key)
- if newval then newval = tonumber(newval) else newval = value end
- moreores[key] = value
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement