Initial commit

This commit is contained in:
Signal 2025-09-12 15:40:57 -04:00
commit d52c39e873
21 changed files with 581 additions and 0 deletions

View file

@ -0,0 +1,25 @@
rgt_towns.main = {}
ns = rgt_towns.main
ns.plots = {
}
rgt_towns.register_spawner{
plot = "covered_wagon",
label = "Town Charter"
}
minetest.register_chatcommand("charter", {
func = function(name, args)
minetest.get_player_by_name(name):get_inventory():add_item("main", rgt_towns.create_spawner("covered_wagon"))
end
})
rgt_towns.register_plot{
name = "covered_wagon",
label = "Covered Wagon",
description = "Hello world",
schematic = minetest.get_modpath(minetest.get_current_modname()).."/schems/covered_wagon.mts",
can_build = ns.plots
}

View file

@ -0,0 +1,2 @@
name = rgt_towns_main
depends = rgt_towns_core

Binary file not shown.