From 1d200dcca492bdf20ef2137095a62bb8bf7ddadc Mon Sep 17 00:00:00 2001 From: NathanSalapat Date: Sat, 27 Apr 2019 19:21:06 -0500 Subject: [PATCH] fixed possible bug with schem reading. --- init.lua | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/init.lua b/init.lua index 722c549..029d282 100644 --- a/init.lua +++ b/init.lua @@ -984,7 +984,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/brain.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/brain.mts", param2 = 48, param2_max = 96, }) @@ -1013,7 +1013,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/horn.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/horn.mts", param2 = 48, param2_max = 96, }) @@ -1042,7 +1042,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/bubble.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/bubble.mts", param2 = 48, param2_max = 96, }) @@ -1071,7 +1071,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/tube.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/tube.mts", param2 = 48, param2_max = 96, }) @@ -1100,7 +1100,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/fire.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/fire.mts", param2 = 48, param2_max = 96, }) @@ -1129,7 +1129,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/brain2.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/brain2.mts", param2 = 48, param2_max = 96, }) @@ -1158,7 +1158,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/horn2.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/horn2.mts", param2 = 48, param2_max = 96, }) @@ -1187,7 +1187,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/bubble2.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/bubble2.mts", param2 = 48, param2_max = 96, }) @@ -1216,7 +1216,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/tube2.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/tube2.mts", param2 = 48, param2_max = 96, }) @@ -1245,7 +1245,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/fire2.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/fire2.mts", param2 = 48, param2_max = 96, }) @@ -1274,7 +1274,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/tube3.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/tube3.mts", param2 = 48, param2_max = 96, }) @@ -1303,7 +1303,7 @@ minetest.register_decoration({ y_max = -10, y_min = -40, flags = "force_placement", - schematic = "/schems/brain3.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/brain3.mts", param2 = 48, param2_max = 96, }) @@ -1332,7 +1332,7 @@ minetest.register_decoration({ y_max = -15, y_min = -40, flags = "force_placement", - schematic = "/schems/brain4.mts", + schematic = minetest.get_modpath("xocean") .. "/schems/brain4.mts", param2 = 48, param2_max = 96, }) @@ -1851,4 +1851,4 @@ mobs:register_mob("xocean:fish3", { }) mobs:spawn_specific("xocean:fish3", {"default:water_source"}, {"default:water_flowing","default:water_source"}, 2, 20, 30, 10000, 5, -31000, l_water_level) mobs:register_egg("xocean:fish3", "Tropical Fish (Dasher)", "xocean_fish3.png", 0) -end \ No newline at end of file +end -- 2.44.0