Add files via upload

master
AiTechEye 2021-01-09 10:29:06 +01:00 committed by GitHub
parent 1f8c2c5545
commit 349961e959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
if minetest.settings:get_bool("xaenvironment_survivorstart") == true then
local items = {
"player_style:backpack",
"hook:pchest",
"hook:pchest",
"default:arrow_arrow 99",
"default:bow_steel",
"default:furnace",
"default:torch 99",
"beds:tent",
"player_style:matel_bottle 1 1",
"plants:cabbage 40",
"default:recycling_mill",
"default:telescopic",
"default:knuckles",
"default:bucket_with_water_source",
"default:flint 20",
"default:iron_ingot 20",
"default:wool 5",
"hook:climb_rope",
"hook:mba",
"clock:clock1",
}
minetest.register_on_newplayer(function(player)
local inv = player:get_inventory()
for i,v in pairs(items) do
inv:add_item("main",ItemStack(v))
end
end)
end

View File

@ -0,0 +1,2 @@
name = survivorstart
description = Begin the world with useful items