Skip to content

Commit

Permalink
refactor: adapt changeling objectives to respect new MindRole code
Browse files Browse the repository at this point in the history
  • Loading branch information
pa.pecherskij committed Dec 3, 2024
1 parent a426511 commit c554291
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions Resources/Prototypes/GameRules/roundstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,17 @@
delay:
min: 30
max: 60
- type: AntagObjectives
objectives:
- ChangelingSurviveObjective
- ChangelingStealDNAObjective
- EscapeIdentityObjective
- type: AntagSelection
agentName: changeling-roundend-name
definitions:
- prefRoles: [ Changeling ]
max: 8
playerRatio: 10
lateJoinAdditional: true
mindComponents:
- type: ChangelingRole
prototype: Changeling
mindRoles:
- MindRoleChangeling
2 changes: 1 addition & 1 deletion Resources/Prototypes/Objectives/changeling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
issuer: objective-issuer-hivemind
- type: RoleRequirement
roles:
components:
mindRoles:
- ChangelingRole

- type: entity
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/game_presets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
- Changeling
- SubGamemodesRule
- BasicStationEventScheduler
- GameRuleMeteorScheduler
- SpaceTrafficControlEventScheduler
- BasicRoundstartVariation

- type: gamePreset
Expand All @@ -265,5 +265,5 @@
- Traitor
- SubGamemodesRule
- BasicStationEventScheduler
- GameRuleMeteorScheduler
- SpaceTrafficControlEventScheduler
- BasicRoundstartVariation

0 comments on commit c554291

Please sign in to comment.