init.lua 864 B

12345678910111213141516
  1. minetest.register_on_newplayer(function(player)
  2. print("[minimal] giving initial stuff to player")
  3. player:get_inventory():add_item('main', 'default:pick_stone')
  4. player:get_inventory():add_item('main', 'default:torch 99')
  5. player:get_inventory():add_item('main', 'default:cobble 99')
  6. player:get_inventory():add_item('main', 'default:wood 99')
  7. player:get_inventory():add_item('main', 'default:axe_steel')
  8. player:get_inventory():add_item('main', 'default:shovel_steel')
  9. player:get_inventory():add_item('main', 'default:pick_wood')
  10. player:get_inventory():add_item('main', 'default:pick_steel')
  11. player:get_inventory():add_item('main', 'default:pick_mese')
  12. player:get_inventory():add_item('main', 'default:mese 99')
  13. player:get_inventory():add_item('main', 'default:water_source 99')
  14. player:get_inventory():add_item('main', 'experimental:tester_tool_1')
  15. end)