mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge branch 'medical-rewrite' into medical-rewrite-effects
This commit is contained in:
commit
0c6eec8485
@ -39,11 +39,11 @@ class ACE_Medical_StateMachine {
|
||||
class Unconscious {
|
||||
onState = QUOTE(DFUNC(handleStateUnconscious));
|
||||
onStateEntered = QUOTE([ARR_2(_this,(true))] call FUNC(setUnconscious));
|
||||
onStateLeaving = QUOTE([ARR_2(_this,(false))] call FUNC(setUnconscious));
|
||||
class WakeUp {
|
||||
targetState = "Injured";
|
||||
condition = QUOTE(_this call FUNC(hasStableVitals));
|
||||
events[] = {QGVAR(WakeUp)};
|
||||
onTransition = QUOTE([ARR_2(_this,(false))] call FUNC(setUnconscious));
|
||||
};
|
||||
class FatalTransitions {
|
||||
targetState = "CardiacArrest";
|
||||
|
Loading…
Reference in New Issue
Block a user