1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-18 15:25:10 -05:00
minetest/games/mesetint/mods/give_initial_stuff/init.lua

13 lines
503 B
Lua
Raw Normal View History

2011-11-25 20:49:46 -05:00
minetest.register_on_newplayer(function(player)
print("on_newplayer")
if minetest.setting_getbool("give_initial_stuff") then
print("giving give_initial_stuff to player")
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')
2011-11-25 20:49:46 -05:00
end
end)