Add an display indicator for the count of matches

This commit is contained in:
A Man
2020-04-06 20:26:41 +02:00
parent b4b8860cf0
commit 49f421c0cb
2 changed files with 46 additions and 9 deletions

View File

@@ -35,30 +35,35 @@ class ItemMatchbox : ItemMatchbox_base
//Do not add to loot tables. //Do not add to loot tables.
class Item5Matchbox : ItemMatchbox class Item5Matchbox : ItemMatchbox
{ {
displayName = $STR_EQUIP_NAME_MATCHES_5;
descriptionShort = $STR_EQUIP_DESC_3_A; descriptionShort = $STR_EQUIP_DESC_3_A;
matches = 5; matches = 5;
qtyRemaining = "Item4Matchbox"; qtyRemaining = "Item4Matchbox";
}; };
class Item4Matchbox : ItemMatchbox class Item4Matchbox : ItemMatchbox
{ {
displayName = $STR_EQUIP_NAME_MATCHES_4;
descriptionShort = $STR_EQUIP_DESC_3_B; descriptionShort = $STR_EQUIP_DESC_3_B;
qtyRemaining = "Item3Matchbox"; qtyRemaining = "Item3Matchbox";
matches = 4; matches = 4;
}; };
class Item3Matchbox : ItemMatchbox class Item3Matchbox : ItemMatchbox
{ {
displayName = $STR_EQUIP_NAME_MATCHES_3;
descriptionShort = $STR_EQUIP_DESC_3_C; descriptionShort = $STR_EQUIP_DESC_3_C;
qtyRemaining = "Item2Matchbox"; qtyRemaining = "Item2Matchbox";
matches = 3; matches = 3;
}; };
class Item2Matchbox : ItemMatchbox class Item2Matchbox : ItemMatchbox
{ {
displayName = $STR_EQUIP_NAME_MATCHES_2;
descriptionShort = $STR_EQUIP_DESC_3_D; descriptionShort = $STR_EQUIP_DESC_3_D;
qtyRemaining = "Item1Matchbox"; qtyRemaining = "Item1Matchbox";
matches = 2; matches = 2;
}; };
class Item1Matchbox : ItemMatchbox class Item1Matchbox : ItemMatchbox
{ {
displayName = $STR_EQUIP_NAME_MATCHES_1;
descriptionShort = $STR_EQUIP_DESC_3_E; descriptionShort = $STR_EQUIP_DESC_3_E;
qtyRemaining = "ItemMatchboxEmpty"; qtyRemaining = "ItemMatchboxEmpty";
matches = 1; matches = 1;

View File

@@ -3238,20 +3238,52 @@
</Key> </Key>
<Key ID="STR_EQUIP_NAME_3"> <Key ID="STR_EQUIP_NAME_3">
<English>Box of Matches</English> <English>Box of Matches</English>
<German>Schachtel Streichhölzer</German> <German>Streichhölzer</German>
<Russian>Коробок спичек</Russian> <Russian>Коробок спичек</Russian>
<Spanish>Caja de Fósforos</Spanish> <Spanish>Caja de Fósforos</Spanish>
<French>Boîte d&apos;allumettes</French> <French>Boîte d&apos;allumettes</French>
<Czech>Krabička zápalek</Czech> <Czech>Krabička zápalek</Czech>
</Key> </Key>
<Key ID="STR_EQUIP_DESC_3_A"> <Key ID="STR_EQUIP_NAME_MATCHES_5">
<English>5 Matches Left. Box of safety matches for starting a fire under controlled conditions.</English> <English>Box of Matches (5 left)</English>
<Russian>Коробок с пятью спичками.</Russian> <German>Streichhölzer (5 übrig)</German>
<Spanish>5 Partidos de Izquierda. Caja de seguridad de juegos compatibles para iniciar un incendio en condiciones controladas.</Spanish> <Russian>Коробок спичек (5 izquierda)</Russian>
<French>5 allumettes restantes. Boîte d&apos;allumettes de sûreté pour allumer un feu dans des conditions contrôlées.</French> <Spanish>Caja de Fósforos (5 restante)</Spanish>
<Czech>Zbývá 5 zápalek. Udržujte z dosahu dětí.</Czech> <French>Boîte d&apos;allumettes (5 reste)</French>
<German>Eine Schachtel mit fünf verbleibenden Sicherheitszündhölzern. Von Kindern fernhalten.</German> <Czech>Krabička zápalek (5 zbývající)</Czech>
</Key>
<Key ID="STR_EQUIP_NAME_MATCHES_4">
<English>Box of Matches (4 left)</English>
<German>Streichhölzer (4 übrig)</German>
<Russian>Коробок спичек (4 izquierda)</Russian>
<Spanish>Caja de Fósforos (4 restante)</Spanish>
<French>Boîte d&apos;allumettes (4 reste)</French>
<Czech>Krabička zápalek (4 zbývající)</Czech>
</Key> </Key>
<Key ID="STR_EQUIP_NAME_MATCHES_3">
<English>Box of Matches (3 left)</English>
<German>Streichhölzer (3 übrig)</German>
<Russian>Коробок спичек (3 izquierda)</Russian>
<Spanish>Caja de Fósforos (3 restante)</Spanish>
<French>Boîte d&apos;allumettes (3 reste)</French>
<Czech>Krabička zápalek (3 zbývající)</Czech>
</Key>
<Key ID="STR_EQUIP_NAME_MATCHES_2">
<English>Box of Matches (2 left)</English>
<German>Streichhölzer (2 übrig)</German>
<Russian>Коробок спичек (2 izquierda)</Russian>
<Spanish>Caja de Fósforos (2 restante)</Spanish>
<French>Boîte d&apos;allumettes (2 reste)</French>
<Czech>Krabička zápalek (2 zbývající)</Czech>
</Key>
<Key ID="STR_EQUIP_NAME_MATCHES_1">
<English>Box of Matches (1 left)</English>
<German>Streichhölzer (1 übrig)</German>
<Russian>Коробок спичек (1 izquierda)</Russian>
<Spanish>Caja de Fósforos (1 restante)</Spanish>
<French>Boîte d&apos;allumettes (1 reste)</French>
<Czech>Krabička zápalek (1 zbývající)</Czech>
</Key>
<Key ID="STR_EQUIP_DESC_3_B"> <Key ID="STR_EQUIP_DESC_3_B">
<English>4 Matches Left. Box of safety matches for starting a fire under controlled conditions.</English> <English>4 Matches Left. Box of safety matches for starting a fire under controlled conditions.</English>
<Russian>Коробок с четырьмя спичками.</Russian> <Russian>Коробок с четырьмя спичками.</Russian>