diff --git a/mods/poop/init.lua b/mods/poop/init.lua index 7f85fdd..62d6396 100644 --- a/mods/poop/init.lua +++ b/mods/poop/init.lua @@ -1,3 +1,7 @@ +x_p = 15 +y_p = 27 +z_p = 15 + currentPage = 1 function game_over() @@ -52,7 +56,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) if currentPage >= 4 then minetest.close_formspec(player:get_player_name(), "story:story_formspec") -- teleport player to 10 9.5 18 - player:setpos({x=10, y=9.5, z=18}) + player:setpos({x=15,y=21,z=15}) return end currentPage = currentPage + 1 -- Fuck Lua and its lack of arithmetic assignment operators @@ -100,7 +104,7 @@ is_game_finished = false minetest.register_on_newplayer(function(ObjectRef) minetest.place_schematic({x = 0, y = 0, z = 0}, minetest.get_modpath("poop") .. "/map.mts", "0", nil, true) - ObjectRef:set_pos({x = 15, y = 11, z = 15}) + ObjectRef:set_pos({x = 15, y = 21, z = 15}) end) @@ -385,7 +389,7 @@ minetest.register_craftitem("poop:plumba", { if pointed_thing.type ~= "node" then return end - if pooped_things >= 100 then + if pooped_things >= 200 then is_game_finished = true you_win(user) return diff --git a/mods/poop/textures/thanks.png b/mods/poop/textures/thanks.png new file mode 100644 index 0000000..c599181 Binary files /dev/null and b/mods/poop/textures/thanks.png differ