zombies4test/stuffx/init.lua

12 lines
479 B
Lua
Raw Normal View History

2023-01-23 04:13:39 +03:00
minetest.register_on_newplayer(function(player)
print("[minimal] giving initial stuff to player")
player:get_inventory():add_item('main','toolx:baseball_bat')
2023-02-02 16:48:14 +03:00
player:get_inventory():add_item('main','foodx:canned_tomato 8')
player:get_inventory():add_item('main','itemx:walkietalkie')
2023-01-23 04:13:39 +03:00
--player:get_inventory():add_item('main','')
--player:get_inventory():add_item('main','')
--player:get_inventory():add_item('main','')
--player:get_inventory():add_item('main','')
end)