From 49f421c0cb95eb479bc3ec5644975e65e46cfc40 Mon Sep 17 00:00:00 2001 From: A Man Date: Mon, 6 Apr 2020 20:26:41 +0200 Subject: [PATCH] Add an display indicator for the count of matches --- .../Configs/CfgWeapons/Tools/Matchbox.hpp | 7 ++- SQF/dayz_code/stringtable.xml | 48 +++++++++++++++---- 2 files changed, 46 insertions(+), 9 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp index 00449c970..73887b246 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp @@ -35,30 +35,35 @@ class ItemMatchbox : ItemMatchbox_base //Do not add to loot tables. class Item5Matchbox : ItemMatchbox { + displayName = $STR_EQUIP_NAME_MATCHES_5; descriptionShort = $STR_EQUIP_DESC_3_A; matches = 5; qtyRemaining = "Item4Matchbox"; }; class Item4Matchbox : ItemMatchbox { + displayName = $STR_EQUIP_NAME_MATCHES_4; descriptionShort = $STR_EQUIP_DESC_3_B; qtyRemaining = "Item3Matchbox"; matches = 4; }; class Item3Matchbox : ItemMatchbox { + displayName = $STR_EQUIP_NAME_MATCHES_3; descriptionShort = $STR_EQUIP_DESC_3_C; qtyRemaining = "Item2Matchbox"; matches = 3; }; class Item2Matchbox : ItemMatchbox -{ +{ + displayName = $STR_EQUIP_NAME_MATCHES_2; descriptionShort = $STR_EQUIP_DESC_3_D; qtyRemaining = "Item1Matchbox"; matches = 2; }; class Item1Matchbox : ItemMatchbox { + displayName = $STR_EQUIP_NAME_MATCHES_1; descriptionShort = $STR_EQUIP_DESC_3_E; qtyRemaining = "ItemMatchboxEmpty"; matches = 1; diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index b7ebd2d66..7b3c6e10c 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -3238,20 +3238,52 @@ Box of Matches - Schachtel Streichhölzer + Streichhölzer Коробок спичек Caja de Fósforos Boîte d'allumettes Krabička zápalek - - 5 Matches Left. Box of safety matches for starting a fire under controlled conditions. - Коробок с пятью спичками. - 5 Partidos de Izquierda. Caja de seguridad de juegos compatibles para iniciar un incendio en condiciones controladas. - 5 allumettes restantes. Boîte d'allumettes de sûreté pour allumer un feu dans des conditions contrôlées. - Zbývá 5 zápalek. Udržujte z dosahu dětí. - Eine Schachtel mit fünf verbleibenden Sicherheitszündhölzern. Von Kindern fernhalten. + + Box of Matches (5 left) + Streichhölzer (5 übrig) + Коробок спичек (5 izquierda) + Caja de Fósforos (5 restante) + Boîte d'allumettes (5 reste) + Krabička zápalek (5 zbývající) + + + Box of Matches (4 left) + Streichhölzer (4 übrig) + Коробок спичек (4 izquierda) + Caja de Fósforos (4 restante) + Boîte d'allumettes (4 reste) + Krabička zápalek (4 zbývající) + + Box of Matches (3 left) + Streichhölzer (3 übrig) + Коробок спичек (3 izquierda) + Caja de Fósforos (3 restante) + Boîte d'allumettes (3 reste) + Krabička zápalek (3 zbývající) + + + Box of Matches (2 left) + Streichhölzer (2 übrig) + Коробок спичек (2 izquierda) + Caja de Fósforos (2 restante) + Boîte d'allumettes (2 reste) + Krabička zápalek (2 zbývající) + + + Box of Matches (1 left) + Streichhölzer (1 übrig) + Коробок спичек (1 izquierda) + Caja de Fósforos (1 restante) + Boîte d'allumettes (1 reste) + Krabička zápalek (1 zbývající) + 4 Matches Left. Box of safety matches for starting a fire under controlled conditions. Коробок с четырьмя спичками.