Add more things

This commit is contained in:
Signal 2025-09-17 01:12:02 -04:00
parent be2262fa17
commit d6662e8094
26 changed files with 565 additions and 26 deletions

View file

@ -127,20 +127,20 @@ function rgt.add_tree(pos)
vm:write_to_map()
end
rgt.register_node("tree", {
on_place = function(s, p, pt)
--rgt.add_tree(pt.above)
minetest.spawn_tree(pt.above, {
axiom = "TTTTTT",
trunk = "spruce_planks",
leaves = "oak_planks"
})
end
})
rgt.register_node("outback_planks", {
tiles = {"rgt_outback_planks.png"},
groups = {hand_breakable = 3}
})
rgt.register_node("dirt_stony", {
tiles = {"rgt_dirt_stony.png", "rgt_dirt.png"},
groups = {hand_breakable = 3}
})
rgt.register_node("cobble_mossy", {
tiles = {"rgt_cobble_mossy.png"},
groups = {hand_breakable = 3}
})
minetest.register_mapgen_script(minetest.get_modpath(minetest.get_current_modname()).."/mapgen.lua")