Skip to content

Commit

Permalink
Fix_Event
Browse files Browse the repository at this point in the history
  • Loading branch information
Krosus777 committed Sep 26, 2024
1 parent a0c5994 commit 83b98a1
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 10 deletions.
20 changes: 13 additions & 7 deletions Resources/Prototypes/GameRules/events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@
parent: BaseGameRule
abstract: true
components:
- type: GameRule
delay:
min: 10
max: 20
- type: GameRule
delay:
# Corvax-MRP-Start
min: 610 # 10 min
max: 900 # 15 min
# Corvax-MRP-End

- type: entity
id: BaseStationEventLongDelay
Expand Down Expand Up @@ -159,8 +161,10 @@
id: DragonSpawn
components:
- type: StationEvent
weight: 6.5
earliestStart: 40
#Corvax-MRP
weight: 4.5
earliestStart: 80
#Corvax-MRP
reoccurrenceDelay: 20
minimumPlayers: 20
duration: null
Expand Down Expand Up @@ -467,8 +471,10 @@
id: LoneOpsSpawn
components:
- type: StationEvent
#Corvax-MRP-Start
earliestStart: 35
weight: 5.5
weight: 4.5
#Corvax-MRP-End
minimumPlayers: 20
duration: 1
- type: RuleGrids
Expand Down
17 changes: 16 additions & 1 deletion Resources/Prototypes/GameRules/roundstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
components:
- type: GameRule

#Corvax-MRP-Start
- type: entity
parent: BaseGameRule
id: SurvivalGameRule
components:
- type: GameRule
minPlayers: 20
#Corvax-MRP-End

- type: entity
parent: BaseGameRule
id: RespawnDeadRule
Expand Down Expand Up @@ -282,7 +291,7 @@
tableId: CalmPestEventsTable
- !type:NestedSelector
tableId: SpicyPestEventsTable


- type: entityTable
id: SpaceTrafficControlTable
Expand All @@ -302,6 +311,12 @@
- type: BasicStationEventScheduler
scheduledGameRules: !type:NestedSelector
tableId: BasicGameRulesTable
#Corvax-MRP-Start
minimumTimeUntilFirstEvent: 600 # 10 mins
minMaxEventTiming:
min: 610 # 7 mins
max: 900 # 15 mins
#Corvax-MRP-End

- type: entity
id: RampingStationEventScheduler
Expand Down
5 changes: 3 additions & 2 deletions Resources/Prototypes/game_presets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- SpaceTrafficControlEventScheduler
- SpaceTrafficControlFriendlyEventScheduler
- BasicRoundstartVariation
- SurvivalGameRule #Corvax-MRP

- type: gamePreset
id: KesslerSyndrome
Expand Down Expand Up @@ -91,7 +92,7 @@
showInVote: false #4boring4vote
description: greenshift-description
rules:
- SpaceTrafficControlFriendlyEventScheduler
- SpaceTrafficControlFriendlyEventScheduler
- BasicRoundstartVariation

- type: gamePreset
Expand Down Expand Up @@ -126,7 +127,7 @@
showInVote: false #Admin Use
description: secret-description
rules:
- SpaceTrafficControlFriendlyEventScheduler
- SpaceTrafficControlFriendlyEventScheduler
- BasicRoundstartVariation

- type: gamePreset
Expand Down

0 comments on commit 83b98a1

Please sign in to comment.