Ores, tools, and wielditems

This commit is contained in:
Signal 2025-10-09 12:26:03 -04:00
parent 889aa531ba
commit 9e63d7fe3a
31 changed files with 268 additions and 12 deletions

View file

@ -0,0 +1,79 @@
rgt.register_item("iron_ingot", {
inventory_image = "rgt_iron_ingot.png",
})
rgt.register_item("iron_lump", {
inventory_image = "rgt_iron_lump.png",
})
rgt.register_node("iron_block", {
tiles = {"rgt_iron_block.png"},
groups = {stone = 1}
})
rgt.register_node("iron_ore", {
tiles = {"rgt_stone.png^rgt_iron_ore.png"},
drop = "iron_lump",
groups = {stone = 1}
})
minetest.register_ore {
ore_type = "scatter",
ore = "iron_ore",
wherein = "stone",
clust_scarcity = 4 * 4 * 4,
clust_num_ores = 8,
clust_size = 3,
noise_params = {
offset = 0,
scale = 1,
spread = {x = 100, y = 100, z = 100},
seed = 23,
octaves = 3,
persistence = 0.7
},
}
rgt.register_item("gold_ingot", {
inventory_image = "rgt_gold_ingot.png",
})
rgt.register_item("gold_lump", {
inventory_image = "rgt_gold_lump.png",
})
rgt.register_node("gold_block", {
tiles = {"rgt_gold_block.png"},
groups = {stone = 1}
})
rgt.register_node("gold_ore", {
tiles = {"rgt_stone.png^rgt_gold_ore.png"},
drop = "gold_lump",
groups = {stone = 1}
})
minetest.register_ore {
ore_type = "scatter",
ore = "gold_ore",
wherein = "stone",
clust_scarcity = 4 * 4 * 4,
clust_num_ores = 8,
clust_size = 3,
noise_params = {
offset = 0,
scale = 1,
spread = {x = 100, y = 100, z = 100},
seed = 9858,
octaves = 3,
persistence = 0.7
},
}

View file

@ -0,0 +1,2 @@
name = rgt_materials
depends = rgt_world

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B