From 81a167f0813fe22eb4602777ff5a4182171bde58 Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Mon, 11 Nov 2024 14:30:31 +0100 Subject: [PATCH] Mtn: Add item to inventory even if armor is missing --- maps/mountain_fortress_v3/functions.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maps/mountain_fortress_v3/functions.lua b/maps/mountain_fortress_v3/functions.lua index 813d6876..4d8ca14a 100644 --- a/maps/mountain_fortress_v3/functions.lua +++ b/maps/mountain_fortress_v3/functions.lua @@ -2851,6 +2851,8 @@ function Public.equip_players(starting_items, recreate) for _ = 1, item_data.count do p_armor[1].grid.put({ name = item }) end + else + player.insert({ name = item, count = item_data.count }) end else player.insert({ name = item, count = item_data.count })