Added player_api

This commit is contained in:
2022-11-21 21:58:39 -05:00
parent c77289c9ca
commit 889b9f0b59
15 changed files with 350 additions and 6 deletions

View File

@@ -104,9 +104,9 @@ is_game_finished = false
minetest.register_on_newplayer(function(ObjectRef)
minetest.set_node({x = 32, y = 12, z = 34}, {name = "poop:floor"})
ObjectRef:set_pos({x = 32, y = 13, z = 34})
--minetest.after(1, function()
minetest.after(1, function()
minetest.place_schematic({x = 0, y = 0, z = 0}, minetest.get_modpath("poop") .. "/map.mts", "0", nil, true)
minetest.fix_light({x = 0, y = 0, z = 0}, {x = 100, y = 100, z = 100})--)
minetest.fix_light({x = 0, y = 0, z = 0}, {x = 100, y = 100, z = 100}) end)

1
mods/shit_poop/mod.conf Normal file
View File

@@ -0,0 +1 @@
name = poop