Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ребаланс ивентов для МРП #2629

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions Resources/Prototypes/GameRules/events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,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 @@ -160,8 +162,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 @@ -465,8 +469,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
15 changes: 15 additions & 0 deletions 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 @@ -309,6 +318,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
Loading