Skip to content

Commit

Permalink
Medical Treatment - Add separate actions for colored body bags (#9598)
Browse files Browse the repository at this point in the history
* medical treatment: separate actions for each bodybag

* remove extra icons
  • Loading branch information
BrettMayson authored Oct 30, 2023
1 parent 5ae5e51 commit e215443
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 18 deletions.
12 changes: 10 additions & 2 deletions addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,20 +239,28 @@ 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";
treatmentLocations = TREATMENT_LOCATIONS_ALL;
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);
Expand Down
45 changes: 29 additions & 16 deletions addons/medical_treatment/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit e215443

Please sign in to comment.