dofile(path.."/sounds.lua")
dofile(path.."/nodes.lua")
+dofile(path.."/ore.lua")
dofile(path.."/items.lua")
dofile(path.."/schematics.lua")
dofile(path.."/mapgen.lua")
drop="main:cobble",
})
+local ores = {"coal","iron","gold","diamond"}
+for id,ore in pairs(ores) do
+ minetest.register_node("main:"..ore.."ore", {
+ description = ore:gsub("^%l", string.upper).." Ore",
+ tiles = {"stone.png^"..ore.."ore.png"},
+ groups = {stone = id, hard = id, pickaxe = 1, hand = 4},
+ sounds = main.stoneSound(),
+ })
+end
+
minetest.register_node("main:cobble", {
description = "Cobblestone",
tiles = {"cobble.png"},
--- /dev/null
+--[[
+depth = initial level found
+]]--
+
+
+local gold_depth = 64
+local incriment = 50
+local loops = 31000/incriment
+
+for i = 1,loops do
+ minetest.register_ore({
+ ore_type = "scatter",
+ ore = "main:coalore",
+ wherein = "main:stone",
+ clust_scarcity = 13 * 13 * 13,
+ clust_num_ores = 5,
+ clust_size = 3,
+ y_max = 31000,
+ y_min = -31000,
+ })
+end
end
end)
+print("Max stack set to 1000")
+
--minetest.register_globalstep(function(dtime)
-- print(settings:get("dedicated_server_step"))
--end)
--make trees drop stuff with shears
--add treecapitator
--itemstack max 1000
+ores
crafting recipes
make trees drop items on treecapitator
crafting bench
-ores
make a mob?
fishing
bows