diff --git a/mods/give_initial_stuff/init.lua b/mods/give_initial_stuff/init.lua index c65ddeae..6d273fc2 100644 --- a/mods/give_initial_stuff/init.lua +++ b/mods/give_initial_stuff/init.lua @@ -1,12 +1,21 @@ 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_steel') - player:get_inventory():add_item('main', 'default:torch 99') - player:get_inventory():add_item('main', 'default:axe_steel') - player:get_inventory():add_item('main', 'default:shovel_steel') - player:get_inventory():add_item('main', 'default:cobble 99') - end -end) + --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_steel') + player:get_inventory():add_item('main', 'default:axe_steel') + player:get_inventory():add_item('main', 'default:torch 99') + player:get_inventory():add_item('main', 'default:chest_locked 1') + player:get_inventory():add_item('main', 'craft_guide:sign_wall 1') + player:get_inventory():add_item('main', '') + player:get_inventory():add_item('main', '') + player:get_inventory():add_item('main', '') + player:get_inventory():add_item('main', '3d_armor:helmet_steel') + player:get_inventory():add_item('main', '3d_armor:chestplate_steel') + player:get_inventory():add_item('main', '3d_armor:leggings_steel') + player:get_inventory():add_item('main', '3d_armor:boots_steel') + player:get_inventory():add_item('main', 'shields:shield_wood') + + end +end)