2017-07-01 14:05:24 +02:00

9 lines
424 B
Lua

minetest.register_on_newplayer(function(player)
--print("on_newplayer")
if minetest.setting_getbool("give_initial_stuff") then
minetest.log("action", "Giving initial stuff to player "..player:get_player_name())
player:get_inventory():add_item('main', 'illuna:noobcoin 42')
player:get_inventory():add_item('main', 'magical_potion:fly_small 2')
end
end)