diff --git a/mods/amogus_generator/init.lua b/mods/amogus_generator/init.lua index 4c741cd..b2e65a4 100644 --- a/mods/amogus_generator/init.lua +++ b/mods/amogus_generator/init.lua @@ -226,7 +226,7 @@ minetest.register_decoration({ biomes = {"amogus_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/tree.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/tree.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -238,7 +238,7 @@ minetest.register_decoration({ biomes = {"green__biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/green_tree.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/green_tree.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -250,7 +250,7 @@ minetest.register_decoration({ biomes = {"green__biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/green_tree_tall.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/green_tree_tall.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -262,7 +262,7 @@ minetest.register_decoration({ biomes = {"amogus_biome","green_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/fallen.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/fallen.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -274,7 +274,7 @@ minetest.register_decoration({ biomes = {"amogus_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/treer.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/treer.mts", flags = "place_center_x, place_center_z", rotation = "random", })minetest.register_decoration({ @@ -292,7 +292,7 @@ minetest.register_decoration({ biomes = {"amogus_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/minihouse.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/minihouse.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -312,7 +312,7 @@ minetest.register_decoration({ biomes = {"amogus_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/amogus_statue.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/amogus_statue.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -332,7 +332,7 @@ minetest.register_decoration({ biomes = {"amogus_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/lucky_tree_2.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/lucky_tree_2.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -351,7 +351,7 @@ minetest.register_decoration({ biomes = {"amogus_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/lucky_tree_1.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/lucky_tree_1.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -371,7 +371,7 @@ minetest.register_decoration({ biomes = {"green_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/lucky_tree_2.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/lucky_tree_2.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -390,7 +390,7 @@ minetest.register_decoration({ biomes = {"green_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/lucky_tree_1.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/lucky_tree_1.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -410,7 +410,7 @@ minetest.register_decoration({ biomes = {"green_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/STONE1.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/STONE1.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -429,7 +429,7 @@ minetest.register_decoration({ biomes = {"green_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/STONE2.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/STONE2.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -448,7 +448,7 @@ minetest.register_decoration({ biomes = {"green_biome"}, y_max = 31000, y_min = 1, - schematic = "/schematics/STONE3.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/STONE3.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -497,7 +497,7 @@ minetest.register_decoration({ y_min = 1, biomes = {"amogus_beach"}, - schematic = "/schematics/sand_house_1.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/sand_house_1.mts", }) minetest.register_decoration({ @@ -509,7 +509,7 @@ minetest.register_decoration({ y_min = 1, biomes = {"amogus_beach"}, - schematic = "/schematics/sand_house_2.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/sand_house_2.mts", }) minetest.register_decoration({ @@ -521,7 +521,7 @@ minetest.register_decoration({ y_min = 1, biomes = {"amogus_beach"}, - schematic = "/schematics/sand_house_3.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/sand_house_3.mts", }) @@ -534,7 +534,7 @@ minetest.register_decoration({ y_min = 1, biomes = {"green_biome"}, - schematic = "/schematics/STATUE_GIANT.mts", + schematic = minetest.get_modpath("amogus_generator") .. "/schematics/STATUE_GIANT.mts", }) minetest.register_abm({ label = "Spawn Imposter",