2011-11-26 02:49:46 +01: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")
|
2011-12-02 11:12:07 +01:00
|
|
|
player:add_to_inventory('tool "SteelPick" 0')
|
|
|
|
player:add_to_inventory('node "torch" 99')
|
|
|
|
player:add_to_inventory('tool "SteelAxe" 0')
|
|
|
|
player:add_to_inventory('tool "SteelShovel" 0')
|
|
|
|
player:add_to_inventory('node "cobble" 99')
|
2011-11-26 02:49:46 +01:00
|
|
|
end
|
|
|
|
end)
|
|
|
|
|