2014-05-10 09:35:17 -05:00
|
|
|
minetest.register_on_newplayer(function(player)
|
|
|
|
--print("on_newplayer")
|
|
|
|
minetest.log("action", "Giving initial stuff to player "..player:get_player_name())
|
|
|
|
player:get_inventory():add_item('main', 'default:stick 6')
|
|
|
|
player:get_inventory():add_item('main', 'default:torch 25')
|
|
|
|
player:get_inventory():add_item('main', 'default:tree 3')
|
2015-06-29 21:56:29 -05:00
|
|
|
player:get_inventory():add_item('main', 'default:axe_steel')
|
2015-07-25 23:10:15 -05:00
|
|
|
player:get_inventory():add_item('main', 'books_plus:booklocked')
|
2015-06-29 21:56:29 -05:00
|
|
|
if minetest.get_modpath("landrush") ~= nil then
|
|
|
|
player:get_inventory():add_item('main', 'landrush:landclaim 4')
|
|
|
|
end
|
2014-05-10 09:35:17 -05:00
|
|
|
end)
|
|
|
|
|