Bureaucratic error changes (#532)

* reenables bureaucratic error event

* change

* Update events.yml

removed whitespace likely causing test failures

Signed-off-by: Colin-Tel <113523727+Colin-Tel@users.noreply.github.com>

---------

Signed-off-by: Colin-Tel <113523727+Colin-Tel@users.noreply.github.com>
Co-authored-by: Colin-Tel <113523727+Colin-Tel@users.noreply.github.com>
This commit is contained in:
Guess-My-Name 2024-02-12 22:01:43 +01:00 committed by GitHub
parent bbd3e76d95
commit 0451fc6f62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 11 deletions

View File

@ -33,12 +33,14 @@ public sealed class BureaucraticErrorRule : StationEventSystem<BureaucraticError
{
var chosenJob = RobustRandom.PickAndTake(jobList);
_stationJobs.MakeJobUnlimited(chosenStation.Value, chosenJob); // INFINITE chaos.
/* DeltaV - don't close all other jobs
foreach (var job in jobList)
{
if (_stationJobs.IsJobUnlimited(chosenStation.Value, job))
continue;
_stationJobs.TrySetJobSlot(chosenStation.Value, job, 0);
}
*/
}
else
{

View File

@ -43,17 +43,17 @@
minimumPlayers: 15
- type: BreakerFlipRule
# - type: entity
# id: BureaucraticError # DeltaV - Prevent the BureaucraticError event to happen.
# parent: BaseGameRule
# noSpawn: true
# components:
# - type: StationEvent
# startAnnouncement: station-event-bureaucratic-error-announcement
# minimumPlayers: 25
# weight: 5
# duration: 1
# - type: BureaucraticErrorRule
- type: entity
id: BureaucraticError
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
startAnnouncement: station-event-bureaucratic-error-announcement
minimumPlayers: 25
weight: 5
duration: 1
- type: BureaucraticErrorRule
- type: entity
id: ClericalError