2012-03-26 22:50:35 +03:00
|
|
|
minetest.register_on_newplayer(function(player)
|
2015-12-26 21:50:56 +01:00
|
|
|
--print("on_newplayer")
|
|
|
|
if minetest.setting_getbool("give_initial_stuff") then
|
|
|
|
minetest.log("action", "Giving initial stuff to player "..player:get_player_name())
|
2017-07-01 14:05:24 +02:00
|
|
|
player:get_inventory():add_item('main', 'illuna:noobcoin 42')
|
2016-10-02 20:18:23 +02:00
|
|
|
player:get_inventory():add_item('main', 'magical_potion:fly_small 2')
|
2015-12-26 21:50:56 +01:00
|
|
|
end
|
|
|
|
end)
|