mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-05 07:41:06 +01:00
12 lines
458 B
Lua
12 lines
458 B
Lua
|
minetest.register_on_newplayer(function(player)
|
||
|
--print("on_newplayer")
|
||
|
if minetest.setting_getbool("give_initial_stuff") then
|
||
|
player:get_inventory():add_item('main', 'default:pick_steel')
|
||
|
player:get_inventory():add_item('main', 'default:shovel_steel')
|
||
|
player:get_inventory():add_item('main', 'default:torch 16')
|
||
|
player:get_inventory():add_item('main', 'default:axe_steel')
|
||
|
player:get_inventory():add_item('main', 'default:cobble 64')
|
||
|
end
|
||
|
end)
|
||
|
|