Allow Pacifists to Use Bola (#37188)
This commit is contained in:
@@ -52,7 +52,6 @@ public abstract class SharedEnsnareableSystem : EntitySystem
|
||||
SubscribeLocalEvent<EnsnaringComponent, StepTriggerAttemptEvent>(AttemptStepTrigger);
|
||||
SubscribeLocalEvent<EnsnaringComponent, StepTriggeredOffEvent>(OnStepTrigger);
|
||||
SubscribeLocalEvent<EnsnaringComponent, ThrowDoHitEvent>(OnThrowHit);
|
||||
SubscribeLocalEvent<EnsnaringComponent, AttemptPacifiedThrowEvent>(OnAttemptPacifiedThrow);
|
||||
}
|
||||
|
||||
protected virtual void OnEnsnareInit(Entity<EnsnareableComponent> ent, ref ComponentInit args)
|
||||
@@ -187,11 +186,6 @@ public abstract class SharedEnsnareableSystem : EntitySystem
|
||||
}
|
||||
}
|
||||
|
||||
private void OnAttemptPacifiedThrow(Entity<EnsnaringComponent> ent, ref AttemptPacifiedThrowEvent args)
|
||||
{
|
||||
args.Cancel("pacified-cannot-throw-snare");
|
||||
}
|
||||
|
||||
private void OnRemoveEnsnareAlert(Entity<EnsnareableComponent> ent, ref RemoveEnsnareAlertEvent args)
|
||||
{
|
||||
if (args.Handled)
|
||||
|
||||
@@ -7,8 +7,6 @@ pacified-cannot-throw = I can't bring myself to throw { THE($projectile) }, that
|
||||
pacified-cannot-throw-embed = No way I could throw { THE($projectile) }, that could get lodged inside someone!
|
||||
# With liquid-spilling projectiles:
|
||||
pacified-cannot-throw-spill = I can't possibly throw { THE($projectile) }, that could spill nasty stuff on someone!
|
||||
# With bolas and snares:
|
||||
pacified-cannot-throw-snare = I can't throw { THE($projectile) }, what if someone trips?!
|
||||
|
||||
pacified-cannot-harm-directly = I can't bring myself to hurt { THE($entity) }!
|
||||
pacified-cannot-harm-indirect = I can't damage { THE($entity) }, it could hurt someone!
|
||||
|
||||
Reference in New Issue
Block a user