* Refactor medical to use hashmaps for wound storage
- We most frequently want to access wounds by body part, so this makes
that a constant time lookup.
- The body part index is no longer stored in every wound since it's
inherent in the wound storage.
- Using body part names as the keys of the hashmap to improve code
clarity (no more magic numbers).
closes#6468
* Add deserilization migration from old wound arrays
Will migrate from old form array wound storage to the new hashmap
strucutre during deserlization. This is relevant for communities piping
medical state out to a database or similar between sessions.
* fix issue with suture stitching
* change version number in comment
---------
Co-authored-by: Salluci <salluci.lovi@gmail.com>
* Korean Translation 100% done
fixed typos, changing the Korean transliteration of proper nouns, and changing the meaning of the original to a more understandable interpretation without compromising the transmission of the original
* Something Edited
edit incorrect translation and add typo correction
- Add stackable wound handler system for easy 3rd party extensibility and overriding of default wound handler.
- Change mapping from wound type -> damage types, to damage type -> wound types. Improves the semantics and makes configuration easier to reason about.
- Allow damage types to influence wound properties (bleed, size, etc.) with configurable variance parameters.
- Allow configuration of wound type variance per damage type. Enabling more logically driven variance for sensible but still varied end results.
- Improve handling of non-selection-specific damage events. The wound handler now receives all incoming damages and may apply damage to multiple selections (previously only ever one) if the damage type is not configured to be selection specific (with new config property `selectionSpecific`).
- Add debug script for testing explosion damage events at varied ranges.
- Add custom fire wound handler.
* Improve Chinese translation
* Optional Compat SOG and Tracers Simplified Chinese
* Fix settings string not correctly localized
* Fix mode of heli minigun have no realistic name
* Fix Regex replace flaw
* fix merge
* Various improvements
* Translate CSW, fix short name not short
* Trim
* Magazines naming
* Minor tweak
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* Added German Translation
Added German Translation
* Added German Translation
Added German Translation
* Added German Translation
Added German Translation
* Added German Translation
Added German Translation
* Added German Translation
Added German Translation
* Update addons/arsenal/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/ballistics/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/ballistics/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/cargo/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/cargo/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update stringtable.xml
* Update stringtable.xml
* Update stringtable.xml
* Update stringtable.xml
* Update stringtable.xml
* Update stringtable.xml
* Update stringtable.xml
* Update stringtable.xml
* Update stringtable.xml
* Update addons/common/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/common/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/common/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/ui/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/vehicle_damage/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/vehicle_damage/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/vehiclelock/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/common/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/cookoff/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/cookoff/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/explosives/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/explosives/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/field_rations/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/field_rations/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/field_rations/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/fire/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/field_rations/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/fortify/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/gforces/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/grenades/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/gunbag/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/hellfire/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/hellfire/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/interact_menu/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/interaction/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/magazinerepack/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/map_gestures/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/map_gestures/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/map_gestures/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/map_gestures/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/map_gestures/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/map_gestures/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/markers/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/markers/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/markers/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/markers/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/markers/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/medical_engine/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/medical_engine/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/medical_feedback/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update stringtable.xml
* Update addons/medical/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Apply suggestions from code review
Co-authored-by: Jo David <github@jonathandavid.de>
* Update stringtable.xml
* Update addons/explosives/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/gforces/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/medical/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
* Update addons/medical_engine/stringtable.xml
Co-authored-by: Jo David <github@jonathandavid.de>
Co-authored-by: Jo David <github@jonathandavid.de>
* Medical - Add force walk option to fracture setting
* Add French translation
Co-authored-by: Elgin675 <elgin675@hotmail.com>
* Reduce calls to statusEffect_set (#7865)
* Reduce calls to statusEffect_set
* statusEffect_addType fracture to forcewalk
Co-authored-by: Elgin675 <elgin675@hotmail.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* fix the medical hitpoints test
* fix the Enoch pilot
* readd optional test for all units
* Run test at preStart
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* Changes to be committed:
Updated german stringtables for new med_rewrite
* Changes to be committed:
Updated german stringtables for new med_rewrite
* Update addons/medical/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_blood/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_blood/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_blood/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_blood/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_blood/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_feedback/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_statemachine/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_statemachine/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_statemachine/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_statemachine/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_statemachine/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update stringtable.xml
Stell ein
* Update stringtable.xml
* Update stringtable.xml
* Update stringtable.xml
* Update stringtable.xml
* Update addons/medical/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_blood/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_blood/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_blood/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_statemachine/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_damage/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update addons/medical_treatment/stringtable.xml
Co-Authored-By: Jo David <github@jonathandavid.de>
* Update stringtable.xml
added a missing string
* Update stringtable.xml
* Update stringtable.xml
* remove and merge duplicate keys
Co-authored-by: padddyyy <50599448+padddyyy@users.noreply.github.com>
* Add some translation eng to ita
* Translation eng-ita completed
Translation completed from English to Italian finally completed, I hope there is no problem but I would like to communicate that during the translation I carelessly "translated" and placed two names in objects, I leave you the id
1. STR_ACE_Medical_Blood_EnabledFor_Description
2. STR_ACE_Tracers_100Rnd_580x42_Drum_yellow
I hope I haven't done any damage :)
PS: Thanks again for this wonderful mod
Good luck with all upcoming updates
* Some erros(?)
Some erros(?) Rows 3 to 5 are highlighted red I hope there is no problem XD
* fix tabs first
* re-add moved
* fix merge
* Update stringtable.xml
* fix STR_ACE_Medical_Blood_EnabledFor_Description
Co-authored-by: PabstMirror <pabstmirror@gmail.com>