mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Flatten share/ and user/ in the source and for the RUN_IN_PLACE build
This commit is contained in:
parent
19ed3bb193
commit
97b693052c
122 changed files with 57 additions and 43 deletions
12
games/mesetint/mods/give_initial_stuff/init.lua
Normal file
12
games/mesetint/mods/give_initial_stuff/init.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
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')
|
||||
end
|
||||
end)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue