[April fools] Remove drunkenness/damage from Very Bad Day gamemode (#36246)
Some checks failed
Build & Test Debug / Build & Test Debug (push) Has been cancelled
Build & Test Debug / build (ubuntu-latest) (push) Has been cancelled
Some checks failed
Build & Test Debug / Build & Test Debug (push) Has been cancelled
Build & Test Debug / build (ubuntu-latest) (push) Has been cancelled
my eyes
This commit is contained in:
@@ -31,14 +31,6 @@ public sealed class VeryBadDayRule : StationEventSystem<VeryBadDayRuleComponent>
|
|||||||
if (!TryGetRandomStation(out var station))
|
if (!TryGetRandomStation(out var station))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var query = EntityQueryEnumerator<MindContainerComponent, HumanoidAppearanceComponent>();
|
|
||||||
|
|
||||||
while (query.MoveNext(out var ent, out _, out _))
|
|
||||||
{
|
|
||||||
_drunkSystem.TryApplyDrunkenness(ent, 1000);
|
|
||||||
_damageableSystem.TryChangeDamage(ent,
|
|
||||||
new DamageSpecifier(_protoMan.Index<DamageGroupPrototype>("Brute"), _random.Next(5, 50)));
|
|
||||||
}
|
|
||||||
_alertLevelSystem.SetLevel((EntityUid)station, "red", false, true, true);
|
_alertLevelSystem.SetLevel((EntityUid)station, "red", false, true, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user