1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-09 12:00:17 +01:00
server-nalc/mods/_misc/give_initial_stuff.lua
Ombridride b86ec17527 Add _misc and u_skins
- Backup de u_skins pas update (ne pas l’update pour l’instant)
- ajout d’un _misc à jour
2014-11-08 23:21:10 +01:00

11 lines
457 B
Lua

minetest.register_on_newplayer(function(player)
print("Un nouveau joueur vient de nous rejoindre !")
if minetest.setting_getbool("give_initial_stuff") then
print("Equipement de depart transmis")
player:get_inventory():add_item("main", "default:axe_wood")
player:get_inventory():add_item("main", "default:torch 10")
player:get_inventory():add_item("main", "default:sapling 2")
player:get_inventory():add_item("main", "default:apple 5")
end
end)