minetest/games/minimal/mods/give_initial_stuff/init.lua

17 lines
864 B
Lua
Raw Normal View History

2011-11-26 02:49:46 +01:00
minetest.register_on_newplayer(function(player)
print("[minimal] giving initial stuff to player")
player:get_inventory():add_item('main', 'default:pick_stone')
player:get_inventory():add_item('main', 'default:torch 99')
player:get_inventory():add_item('main', 'default:cobble 99')
player:get_inventory():add_item('main', 'default:wood 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:pick_wood')
player:get_inventory():add_item('main', 'default:pick_steel')
player:get_inventory():add_item('main', 'default:pick_mese')
player:get_inventory():add_item('main', 'default:mese 99')
player:get_inventory():add_item('main', 'default:water_source 99')
player:get_inventory():add_item('main', 'experimental:tester_tool_1')
2011-11-26 02:49:46 +01:00
end)