From cae51966567095c31df1a0d965efb08efc9bd946 Mon Sep 17 00:00:00 2001 From: commy2 Date: Mon, 26 Sep 2016 21:09:32 +0200 Subject: [PATCH] fix wound translations being lost in limbo --- .../medical_damage/ACE_Medical_Injuries.hpp | 66 +-- addons/medical_damage/stringtable.xml | 401 ++++++++++++++++++ 2 files changed, 434 insertions(+), 33 deletions(-) create mode 100644 addons/medical_damage/stringtable.xml diff --git a/addons/medical_damage/ACE_Medical_Injuries.hpp b/addons/medical_damage/ACE_Medical_Injuries.hpp index f50827b216..fcb377c9eb 100644 --- a/addons/medical_damage/ACE_Medical_Injuries.hpp +++ b/addons/medical_damage/ACE_Medical_Injuries.hpp @@ -4,26 +4,26 @@ class ACE_Medical_Injuries { // Source: Scarle // Also called scrapes, they occur when the skin is rubbed away by friction against another rough surface (e.g. rope burns and skinned knees). class Abrasion { - name = ECSTRING(medical,Wounds_Abrasion); + name = CSTRING(Abrasion); selections[] = {"All"}; bleedingRate = 0.0001; pain = 0.01; causes[] = {"falling", "ropeburn", "vehiclecrash", "unknown"}; minDamage = 0.01; class Minor { - name = ECSTRING(medical,Wounds_Abrasion_Minor); + name = CSTRING(Abrasion_Minor); minDamage = 0.01; maxDamage = 0.2; bleedingRate = 0.0001; }; class Medium { - name = ECSTRING(medical,Wounds_Abrasion_Medium); + name = CSTRING(Abrasion_Medium); minDamage = 0.2; maxDamage = 0.3; bleedingRate = 0.00015; }; class Large { - name = ECSTRING(medical,Wounds_Abrasion_Large); + name = CSTRING(Abrasion_Large); minDamage = 0.3; maxDamage = 0.5; bleedingRate = 0.0002; @@ -31,33 +31,33 @@ class ACE_Medical_Injuries { }; // Occur when an entire structure or part of it is forcibly pulled away, such as the loss of a permanent tooth or an ear lobe. Explosions, gunshots, and animal bites may cause avulsions. class Avulsions { - name = ECSTRING(medical,Wounds_Avulsion); + name = CSTRING(Avulsion); selections[] = {"All"}; bleedingRate = 0.01; pain = 0.3; causes[] = {"explosive", "vehiclecrash", "grenade", "shell", "bullet", "backblast", "bite"}; minDamage = 0.2; class Minor { - name = ECSTRING(medical,Wounds_Avulsion_Minor); + name = CSTRING(Avulsion_Minor); minDamage = 0.2; maxDamage = 0.3; bleedingRate = 0.01; }; class Medium { - name = ECSTRING(medical,Wounds_Avulsion_Medium); + name = CSTRING(Avulsion_Medium); minDamage = 0.3; maxDamage = 0.6; bleedingRate = 0.02; }; class Large { - name = ECSTRING(medical,Wounds_Avulsion_Large); + name = CSTRING(Avulsion_Large); minDamage = 0.5; bleedingRate = 0.05; }; }; // Also called bruises, these are the result of a forceful trauma that injures an internal structure without breaking the skin. Blows to the chest, abdomen, or head with a blunt instrument (e.g. a football or a fist) can cause contusions. class Contusion { - name = ECSTRING(medical,Wounds_Contusion); + name = CSTRING(Contusion); selections[] = {"All"}; bleedingRate = 0.0; pain = 0.05; @@ -65,147 +65,147 @@ class ACE_Medical_Injuries { minDamage = 0.01; maxDamage = 0.1; class Minor { - name = ECSTRING(medical,Wounds_Contusion_Minor); + name = CSTRING(Contusion_Minor); minDamage = 0.01; maxDamage = 0.1; }; class Medium { - name = ECSTRING(medical,Wounds_Contusion_Medium); + name = CSTRING(Contusion_Medium); minDamage = 0.1; maxDamage = 0.15; }; class Large { - name = ECSTRING(medical,Wounds_Contusion_Large); + name = CSTRING(Contusion_Large); minDamage = 0.15; maxDamage = 0.2; }; }; // Occur when a heavy object falls onto a person, splitting the skin and shattering or tearing underlying structures. class CrushWound { - name = ECSTRING(medical,Wounds_Crush); + name = CSTRING(Crush); selections[] = {"All"}; bleedingRate = 0.01; pain = 0.1; causes[] = {"falling", "vehiclecrash", "punch", "unknown"}; minDamage = 0.1; class Minor { - name = ECSTRING(medical,Wounds_Crush_Minor); + name = CSTRING(Crush_Minor); minDamage = 0.1; maxDamage = 0.45; bleedingRate = 0.005; }; class Medium { - name = ECSTRING(medical,Wounds_Crush_Medium); + name = CSTRING(Crush_Medium); minDamage = 0.4; maxDamage = 0.7; bleedingRate = 0.007; }; class Large { - name = ECSTRING(medical,Wounds_Crush_Large); + name = CSTRING(Crush_Large); minDamage = 0.6; bleedingRate = 0.0095; }; }; // Slicing wounds made with a sharp instrument, leaving even edges. They may be as minimal as a paper cut or as significant as a surgical incision. class Cut { - name = ECSTRING(medical,Wounds_Cut); + name = CSTRING(Cut); selections[] = {"All"}; bleedingRate = 0.01; pain = 0.075; causes[] = {"vehiclecrash", "grenade", "explosive", "shell", "backblast", "stab", "unknown"}; minDamage = 0.1; class Minor { - name = ECSTRING(medical,Wounds_Cut_Minor); + name = CSTRING(Cut_Minor); minDamage = 0.1; maxDamage = 0.3; bleedingRate = 0.005; }; class Medium { - name = ECSTRING(medical,Wounds_Cut_Medium); + name = CSTRING(Cut_Medium); minDamage = 0.3; maxDamage = 0.65; bleedingRate = 0.02; }; class Large { - name = ECSTRING(medical,Wounds_Cut_Large); + name = CSTRING(Cut_Large); minDamage = 0.65; bleedingRate = 0.05; }; }; // Also called tears, these are separating wounds that produce ragged edges. They are produced by a tremendous force against the body, either from an internal source as in childbirth, or from an external source like a punch. class Laceration { - name = ECSTRING(medical,Wounds_Laceration); + name = CSTRING(Laceration); selections[] = {"All"}; bleedingRate = 0.01; pain = 0.075; causes[] = {"vehiclecrash", "punch"}; minDamage = 0.01; class Minor { - name = ECSTRING(medical,Wounds_Laceration_Minor); + name = CSTRING(Laceration_Minor); minDamage = 0.1; maxDamage = 0.5; bleedingRate = 0.005; }; class Medium { - name = ECSTRING(medical,Wounds_Laceration_Medium); + name = CSTRING(Laceration_Medium); minDamage = 0.5; maxDamage = 0.7; bleedingRate = 0.01; }; class Large { - name = ECSTRING(medical,Wounds_Laceration_Large); + name = CSTRING(Laceration_Large); minDamage = 0.7; bleedingRate = 0.03; }; }; // Also called velocity wounds, they are caused by an object entering the body at a high speed, typically a bullet or small peices of shrapnel. class velocityWound { - name = ECSTRING(medical,Wounds_VelocityWound); + name = CSTRING(VelocityWound); selections[] = {"All"}; bleedingRate = 0.01; pain = 0.2; causes[] = {"bullet", "grenade","explosive", "shell", "unknown"}; minDamage = 0.15; class Minor { - name = ECSTRING(medical,Wounds_VelocityWound_Minor); + name = CSTRING(VelocityWound_Minor); minDamage = 0.15; maxDamage = 0.3; bleedingRate = 0.025; }; class Medium { - name = ECSTRING(medical,Wounds_VelocityWound_Medium); + name = CSTRING(VelocityWound_Medium); minDamage = 0.3; maxDamage = 0.75; bleedingRate = 0.05; }; class Large { - name = ECSTRING(medical,Wounds_VelocityWound_Large); + name = CSTRING(VelocityWound_Large); minDamage = 0.75; bleedingRate = 0.1; }; }; // Deep, narrow wounds produced by sharp objects such as nails, knives, and broken glass. class punctureWound { - name = ECSTRING(medical,Wounds_PunctureWound); + name = CSTRING(PunctureWound); selections[] = {"All"}; bleedingRate = 0.01; pain = 0.075; causes[] = {"stab", "grenade"}; minDamage = 0.01; class Minor { - name = ECSTRING(medical,Wounds_PunctureWound_Minor); + name = CSTRING(PunctureWound_Minor); minDamage = 0.01; maxDamage = 0.5; bleedingRate = 0.01; }; class Medium { - name = ECSTRING(medical,Wounds_PunctureWound_Medium); + name = CSTRING(PunctureWound_Medium); minDamage = 0.5; maxDamage = 0.75; bleedingRate = 0.03; }; class Large { - name = ECSTRING(medical,Wounds_PunctureWound_Large); + name = CSTRING(PunctureWound_Large); minDamage = 0.65; bleedingRate = 0.08; }; @@ -213,7 +213,7 @@ class ACE_Medical_Injuries { }; class fractures { class Femur { - name = ECSTRING(medical,Wounds_Femur); + name = CSTRING(Femur); selections[] = {"Head", "Body"}; pain = 0.2; causes[] = {"Bullet", "VehicleCrash", "Backblast", "Explosive", "Shell", "Grenade"}; diff --git a/addons/medical_damage/stringtable.xml b/addons/medical_damage/stringtable.xml new file mode 100644 index 0000000000..94b62f916f --- /dev/null +++ b/addons/medical_damage/stringtable.xml @@ -0,0 +1,401 @@ + + + + + Scrape + Kratzer + Scorticatura + Ссадина + Eraflure + Draśnięcie + Arañazo + Horzsolás + Raspão + Odřenina + + + Minor Scrape + Kleiner Kratzer + Minima Scorticatura + Малая ссадина + Petite éraflure + Pomniejsze draśnięcie + Arañazo menor + Kis horzsolás + Raspão leve + Malá odřenina + + + Medium Scrape + Mittlerer Kratzer + Media Scorticatura + Средняя ссадина + Moyenne éraflure + Średnie draśnięcie + Arañazo medio + Közepes horzsolás + Raspão médio + Středně velká odřenina + + + Large Scrape + Großer Kratzer + Alta Scorticatura + Большая ссадина + Grande éraflure + Duże draśnięcie + Arañazo severo + Nagy horzsolás + Raspão grave + Velká odřenina + + + Avulsion + Avulsion + Avulsione + Рваная рана + Avulsion + Rana płatowa + Avulsión + Leszakadás + Avulsão + Avulze + + + Minor Avulsion + Kleine Avulsion + Minima Avulsione + Малая рваная рана + Petite avulsion + Pomniejsza rana płatowa + Avulsión menor + Kis leszakadás + Avulsão leve + Malá avulze + + + Medium Avulsion + Mittlere Avulsion + Media Avulsione + Средняя рваная рана + Moyenne avulsion + Średnia rana płatowa + Avulsión media + Közepes leszakadás + Avulsão média + Střední avulze + + + Large Avulsion + Große Avulsion + Alta Avulsione + Большая рваная рана + Grande avulsion + Duża rana płatowa + Avulsión severa + Nagy leszakadás + Avulsão grave + Velká avulze + + + Bruise + Prellung + Contusione + Ушиб + Hématome + Stłuczenie + Contusión + Zúzódás + Contusão + Modřina + + + Minor Bruise + Kleine Prellung + Minima Contusione + Малый ушиб + Petit hématome + Pomniejsze stłuczenie + Contusión menor + Kis zúzódás + Contusão leve + Malá modřina + + + Medium Bruise + Mittlere Prellung + Media Contusione + Средний ушиб + Hématome moyen + Średnie stłuczenie + Contusión media + Közepes zúzódás + Contusão média + Středně velká modřina + + + Large Bruise + Große Prellung + Alta Contusione + Большой ушиб + Hématome important + Duże stłuczenie + Contusión severa + Nagy zúzódás + Contusão grave + Velká modřina + + + Crushed tissue + Quetschverletzung + Tessuto Schiacciato + Компресионная травма + Tissu écrasé + Zgniecienie tkanek miękkich + Tejido triturado + Zúzott szövet + Tecido esmagado + Zhmoždění měkkých tkání + + + Minor crushed tissue + Kleine Quetschverletzung + Minimo Tessuto Schiacciato + Малая компрессионная травма + Tissu écrasé léger + Pomniejsze zgniecienie tkanek miękkich + Tejido triturado menor + Kis zúzott szövet + Tecido esmagado leve + Malé zhmoždění měkkých tkání + + + Medium crushed tissue + Mittlere Quetschverletzung + Medio Tessuto Schiacciato + Средняя компрессионная травма + Tissu écrasé moyen + Średnie zgniecienie tkanek miękkich + Tejido triturado medio + Közepes zúzott szövet + Tecido esmagado médio + Střední zhmoždění měkkých tkání + + + Large crushed tissue + Große Quetschverletzung + Alto Tessuto Schiacciato + Большая компрессионная травма + Tissu écrasé large + Duże zgniecienie tkanek miękkich + Tejido triturado severo + Nagy zúzött szövet + Tecido esmagado grave + Velké zhmoždění měkkých tkání + + + Cut + Schnittwunde + Taglio + Резаная рана + Coupure + Rana cięta + Corte + Vágás + Corte + Řezná rána + + + Small Cut + Kleine Schnittwunde + Piccolo Taglio + Малая резаная рана + Pomniejsza rana cięta + Corte menor + Kis vágás + Petite coupure + Corte leve + Malá řezná rána + + + Medium Cut + Mittlere Schnittwunde + Medio Taglio + Средняя резаная рана + Średnia rana cięta + Corte mediano + Közepes vágás + Moyenne coupure + Corte médio + Střední řezná rána + + + Large Cut + Große Schnittwunde + Grande Taglio + Большая резаная рана + Duża rana cięta + Corte severo + Nagy vágás + Large coupure + Corte grave + Velká řezná rána + + + Tear + Riss + Strappo + Рваная рана + Rozerwanie skóry + Déchirure + Desgarro + Szakadás + Ruptura + Tržná rána + + + Small Tear + Kleiner Riss + Piccolo Strappo + Малая рваная рана + Pomniejsze rozerwanie skóry + Petite Déchirure + Desgarro menor + Kis szakadás + Ruptura leve + Malá tržná rána + + + Medium Tear + Mittlerer Riss + Medio Strappo + Средняя рваная рана + Średnie rozerwanie skóry + Desgarro medio + Közepes szakadás + Moyenne déchirure + Ruptura média + Střední tržná rána + + + Large Tear + Großer Riss + Grande Strappo + Большая рваная рана + Duże rozerwanie skóry + Desgarro severo + Nagy szakadás + Large déchirure + Ruptura grave + Velká tržná rána + + + Velocity Wound + Ballistisches Trauma + Velocità Ferita + Огнестрельная рана + Rana postrzałowa + Blessure de vélocité + Herida de bala + Lőtt seb + Ferimento por projétil de arma de fogo + Střelné poranění + + + Small Velocity Wound + Kleines Ballistisches Trauma + Lenta Velocità Ferita + Малая огнестрельная рана + Pomniejsza rana postrzałowa + Herida de bala menor + Kis lőtt seb + Petite blessure de vélocité + Ferimento leve por projétil de arma de fogo + Malé střelné poranění + + + Medium Velocity Wound + Mittleres Ballistisches Trauma + Media Velocità Ferita + Средняя огнестрельная рана + Średnia rana postrzałowa + Herida de bala media + Közepes lőtt seb + Moyenne blessure de vélocité + Ferimento médio por projétil de arma de fogo + Střední střelné poranění + + + Large Velocity Wound + Großes Ballistisches Trauma + Alta Velocità Ferita + Большая огнестрельная рана + Duża rana postrzałowa + Herida de bala severa + Nagy lőtt seb + Large blessure de vélocité + Ferimento grave por projétil de arma de fogo + Velké střelné poranění + + + Puncture Wound + Stichwunde + Puntura Ferita + Колотая рана + Rana kłuta + Blessure de perforation + Herida punzante + Szúrt seb + Ferimento por perfuração + Bodná rána + + + Minor Puncture Wound + Kleine Stichwunde + Piccola Puntura Ferita + Малая колотая рана + Pomniejsza rana kłuta + Herida punzante menor + Kis szúrt seb + Légère blessure de perforation + Ferimento leve por perfuração + Malá bodná rána + + + Medium Puncture Wound + Mittlere Stichwunde + Media Puntura Ferita + Средняя колотая рана + Średnia rana kłuta + Herida punzante media + Közepes szúrt seb + Moyenne blessure de perforation + Ferimento médio por perfuração + Střední bodná rána + + + Large Puncture Wound + Große Stichwunde + Grande Puntura Ferita + Большая колотая рана + Duża rana kłuta + Herida punzante severa + Nagy szúrt seb + Large blessure de perforation + Ferimento grave por perfuração + Velká bodná rána + + + Broken Femur + Gebrochener Oberschenkelknochen + Femore Rotto + Перелом + Zkłamana kość udowa + Fémur cassé + Femur roto + Törött combcsont + Fêmur quebrado + Zlomená stehenní kost + + +