9 lines
349 B
Lua
Raw Normal View History

2014-05-10 09:35:17 -05:00
minetest.register_on_newplayer(function(player)
--print("on_newplayer")
minetest.log("action", "Giving initial stuff to player "..player:get_player_name())
player:get_inventory():add_item('main', 'default:stick 6')
player:get_inventory():add_item('main', 'default:torch 25')
player:get_inventory():add_item('main', 'default:tree 3')
end)