mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Fix give_initial_stuff mod; experimental mod: dug_item -> drop; scriptapi.cpp: drops -> drop
This commit is contained in:
parent
00bc9a8678
commit
0a426f3592
3 changed files with 9 additions and 9 deletions
|
@ -2,11 +2,11 @@ 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: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')
|
||||
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')
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue