-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Medical - Improve Epi status message in the event of critical injury #83
base: master
Are you sure you want to change the base?
Conversation
If medkit is still usable to heal hitzones, the message will still display 'too injured'. If a patient is critically injured and fully healed in the field, the message wil display 'critically injured'
Corrected logic with requested addition and updated localization messages |
addons/medical/scripts/Game/ACE_Medical/Components/Damage/SCR_CharacterDamageManagerComponent.c
Outdated
Show resolved
Hide resolved
addons/medical/scripts/Game/ACE_Medical/Components/Damage/SCR_CharacterDamageManagerComponent.c
Outdated
Show resolved
Hide resolved
addons/medical/scripts/Game/ACE_Medical/Components/Damage/SCR_CharacterDamageManagerComponent.c
Outdated
Show resolved
Hide resolved
addons/medical/scripts/Game/ACE_Medical/Components/Gadgets/SCR_ConsumableEffectBase.c
Outdated
Show resolved
Hide resolved
addons/medical/scripts/Game/ACE_Medical/Components/Gadgets/ACE_Medical_ConsumableEpinephrine.c
Outdated
Show resolved
Hide resolved
Also updated docstring
…o clarify the issue from previous message
…ead of accepting any float
addons/medical/scripts/Game/ACE_Medical/Components/Damage/SCR_CharacterDamageManagerComponent.c
Outdated
Show resolved
Hide resolved
addons/medical/scripts/Game/ACE_Medical/Components/Gadgets/ACE_Medical_ConsumableEpinephrine.c
Outdated
Show resolved
Hide resolved
addons/medical/scripts/Game/ACE_Medical/Components/Gadgets/ACE_Medical_ConsumableEpinephrine.c
Outdated
Show resolved
Hide resolved
@@ -1,6 +1,7 @@ | |||
ACE_SettingsConfig { | |||
m_aInitialModSettings { | |||
ACE_Medical_Settings "{60FD72EFA3DB8236}" { | |||
m_bSecondChanceOnHeadEnabled 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we want to edit default settings? @Kexanone ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that should remain disabled.
@@ -14,6 +14,7 @@ modded class SCR_CharacterDamageManagerComponent : SCR_DamageManagerComponent | |||
protected ACE_Medical_PainHitZone m_pACE_Medical_PainHitZone; | |||
protected float m_fACE_Medical_ModeratePainThreshold; | |||
protected float m_fACE_Medical_SeriousPainThreshold; | |||
protected float m_fACE_Medical_MedicalKitMaxHeal; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Settings needs to be replicated, move down to other Rpl props. Also needs a default value in case the settings are not there.
protected float m_fACE_Medical_MedicalKitMaxHeal; | |
[RplProp()] | |
protected float m_fACE_Medical_MedicalKitMaxHeal; |
Epi Status Messages: