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:
parent
bbd3e76d95
commit
0451fc6f62
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue