Medical Treatment - Add separate actions for colored body bags (#9598)

* medical treatment: separate actions for each bodybag

* remove extra icons
This commit is contained in:
BrettMayson 2023-10-30 14:54:29 -06:00 committed by GitHub
parent 5ae5e514b1
commit e2154439a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 18 deletions

View File

@ -239,7 +239,7 @@ class GVAR(actions) {
// - Misc -----------------------------------------------------------------
class BodyBag: BasicBandage {
displayName = CSTRING(PlaceInBodyBag);
displayName = CSTRING(PlaceInBodyBagBlack);
displayNameProgress = CSTRING(PlacingInBodyBag);
icon = QPATHTOEF(medical_gui,ui\bodybag.paa);
category = "advanced";
@ -247,12 +247,20 @@ class GVAR(actions) {
allowSelfTreatment = 0;
medicRequired = 0;
treatmentTime = QGVAR(treatmentTimeBodyBag);
items[] = {"ACE_bodyBag", "ACE_bodyBag_blue", "ACE_bodyBag_white"};
items[] = {"ACE_bodyBag"};
condition = QFUNC(canPlaceInBodyBag);
callbackSuccess = QFUNC(placeInBodyBag);
consumeItem = 1;
litter[] = {};
};
class BodyBagBlue: BodyBag {
displayName = CSTRING(PlaceInBodyBagBlue);
items[] = {"ACE_bodyBag_blue"};
};
class BodyBagWhite: BodyBag {
displayName = CSTRING(PlaceInBodyBagWhite);
items[] = {"ACE_bodyBag_white"};
};
class Grave: BodyBag {
displayName = CSTRING(DigGrave);
displayNameProgress = CSTRING(DiggingGrave);

View File

@ -4491,22 +4491,35 @@
<Chinese>&lt;br/&gt;%2卸載&lt;br/&gt;%1</Chinese>
<Chinesesimp>&lt;br/&gt;%2卸载&lt;br/&gt;%1</Chinesesimp>
</Key>
<Key ID="STR_ACE_Medical_Treatment_PlaceInBodyBag">
<English>Place body in bodybag</English>
<Spanish>Colocar cuerpo en bolsa para cadáveres</Spanish>
<Russian>Поместить тело в мешок для трупов</Russian>
<German>Körper in Leichesack verstauen</German>
<Polish>Zapakuj ciało do worka na zwłoki</Polish>
<French>Mettre le corps dans la housse mortuaire</French>
<Hungarian>Test hullazsákba helyezése</Hungarian>
<Italian>Metti il corpo nella sacca per cadaveri</Italian>
<Portuguese>Colocar corpo dentro do saco para cadáver</Portuguese>
<Czech>Umístit tělo do pytle na mrtvoly</Czech>
<Japanese>死体袋に入れる</Japanese>
<Korean>시체 운반용 부대에 담기</Korean>
<Chinesesimp>将尸体装入尸袋</Chinesesimp>
<Chinese>將屍體放入屍袋</Chinese>
<Turkish>Vücudu ceset torbasına yerleştir</Turkish>
<Key ID="STR_ACE_Medical_Treatment_PlaceInBodyBagBlack">
<English>Place body in black bodybag</English>
<Spanish>Colocar cuerpo en bolsa para cadáveres negra</Spanish>
<German>Körper in schwarzen Leichensack verstauen</German>
<French>Mettre le corps dans la housse mortuaire noir</French>
<Italian>Metti il corpo nella sacca per cadaveri nera</Italian>
<Portuguese>Colocar corpo dentro do saco para cadáver preto</Portuguese>
<Czech>Umístit tělo do černého pytle na mrtvoly</Czech>
<Turkish>Vücudu siyah ceset torbasına yerleştir</Turkish>
</Key>
<Key ID="STR_ACE_Medical_Treatment_PlaceInBodyBagBlue">
<English>Place body in blue bodybag</English>
<Spanish>Colocar cuerpo en bolsa para cadáveres azule</Spanish>
<German>Körper in Blau Leichensack verstauen</German>
<French>Mettre le corps dans la housse mortuaire bleu</French>
<Italian>Metti il corpo nella sacca per cadaveri blu</Italian>
<Portuguese>Colocar corpo dentro do saco para cadáver azul</Portuguese>
<Czech>Umístit tělo do modrého pytle na mrtvoly</Czech>
<Turkish>Vücudu mavi ceset torbasına yerleştir</Turkish>
</Key>
<Key ID="STR_ACE_Medical_Treatment_PlaceInBodyBagWhite">
<English>Place body in white bodybag</English>
<Spanish>Colocar cuerpo en bolsa para cadáveres blanca</Spanish>
<German>Körper in weißen Leichensack verstauen</German>
<French>Mettre le corps dans la housse mortuaire blanc</French>
<Italian>Metti il corpo nella sacca per cadaveri bianca</Italian>
<Portuguese>Colocar corpo dentro do saco para cadáver branco</Portuguese>
<Czech>Umístit tělo do bílého pytle na mrtvoly</Czech>
<Turkish>Vücudu beyaz ceset torbasına yerleştir</Turkish>
</Key>
<Key ID="STR_ACE_Medical_Treatment_PlacingInBodyBag">
<English>Placing body in bodybag...</English>