Elkien3 bc20045705 Fixed Redundant Folder
Now there wont be two "kingdoms_game"folders
2017-09-18 07:57:27 -05:00

11 lines
553 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', 'default:pick_stone')
player:get_inventory():add_item('main', 'xdecor:crafting_guide')
player:get_inventory():add_item('main', 'default:torch')
player:get_inventory():add_item('main', 'default:papyrus 8')
player:setpos({x=0,y=30,z=0})
end
end)