Modify minimal/give_initial_stuff to always give stuff
parent
440e9cdbef
commit
072c265c30
|
@ -1,12 +1,15 @@
|
||||||
minetest.register_on_newplayer(function(player)
|
minetest.register_on_newplayer(function(player)
|
||||||
print("on_newplayer")
|
print("[minimal] giving initial stuff to player")
|
||||||
if minetest.setting_getbool("give_initial_stuff") then
|
player:get_inventory():add_item('main', 'default:pick_stone')
|
||||||
print("giving give_initial_stuff to player")
|
player:get_inventory():add_item('main', 'default:torch 99')
|
||||||
player:get_inventory():add_item('main', 'default:pick_steel')
|
player:get_inventory():add_item('main', 'default:cobble 99')
|
||||||
player:get_inventory():add_item('main', 'default:torch 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:axe_steel')
|
||||||
player:get_inventory():add_item('main', 'default:shovel_steel')
|
player:get_inventory():add_item('main', 'default:shovel_steel')
|
||||||
player:get_inventory():add_item('main', 'default:cobble 99')
|
player:get_inventory():add_item('main', 'default:pick_wood')
|
||||||
end
|
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')
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue