-- Craft essential items if wood >= 2 and stone >= 1 then craftItem("pickaxe") craftItem("axe") end
while resourceGathering do -- Gather resources local pos = getPlayerPos() local wood = getResource("wood", pos) local stone = getResource("stone", pos) westland survival script
-- Auto-gather resources and craft essential items local resourceGathering = true local crafting = true -- Craft essential items if wood >= 2
-- Upgrade shelter if wood >= 10 and stone >= 5 then upgradeShelter() end = 2 and stone >