parent
aac32a771a
commit
0cb9e803e5
1 changed files with 2 additions and 1 deletions
|
|
@ -30,8 +30,9 @@ public sealed class EscapeShuttleConditionSystem : EntitySystem
|
|||
return 0f;
|
||||
|
||||
// You're not escaping if you're restrained!
|
||||
// Granting 50% as to allow for partial completion of the objective.
|
||||
if (TryComp<CuffableComponent>(mind.OwnedEntity, out var cuffed) && cuffed.CuffedHandCount > 0)
|
||||
return 0f;
|
||||
return _emergencyShuttle.IsTargetEscaping(mind.OwnedEntity.Value) ? 0.5f : 0f;
|
||||
|
||||
// Any emergency shuttle counts for this objective, but not pods.
|
||||
return _emergencyShuttle.IsTargetEscaping(mind.OwnedEntity.Value) ? 1f : 0f;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue