add note for bones position

This commit is contained in:
tchncs 2015-12-26 21:41:52 +01:00
parent 4330e88e1d
commit 5112ff6bbc

View File

@ -181,7 +181,10 @@ minetest.register_on_dieplayer(function(player)
end
minetest.set_node(pos, {name="bones:bones", param2=param2})
minetest.chat_send_player(player_name, "Your stuff is waiting for you at "..minetest.pos_to_string(pos).. ". Go and grab it! ;-)")
minetest.log("action", player_name.." left their bones at "..minetest.pos_to_string(pos))
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
inv:set_size("main", 8*4)