Skip to content
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
4 changes: 4 additions & 0 deletions Resources/Prototypes/GameRules/roundstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
components:
- type: SubGamemodes
rules:
# begin Delta V - Adding Subgamemode Traitors
- id: SubTraitorRule
prob: 0.4
# end Delta V - Adding Subgamemode Traitors
- id: Thief
prob: 0.5
#- id: SubWizard # Delta V - Removed until overhauled
Expand Down
23 changes: 23 additions & 0 deletions Resources/Prototypes/_DV/GameRules/subgamemodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,26 @@
sound: "/Audio/_DV/Ambience/Antag/hitman_briefing_piano_between.ogg"
- type: DynamicRuleCost
cost: 100 # bit more than thief

- type: entity
abstract: true
parent: BaseGameRule
id: SubTraitorRule
components:
- type: TraitorRule
startingBalance: 20 # Less TC for subgamemode
# TODO: codewords in yml
# TODO: uplink in yml
- type: AntagRandomObjectives
sets:
- groups: TraitorObjectiveGroups
maxDifficulty: 6 # Less objectives for subgamemode
- type: AntagSelection
agentName: traitor-round-end-agent-name
selectionTime: IntraPlayerSpawn
definitions:
- prefRoles: [ Traitor ]
max: 2
playerRatio: 30 #a bit more impactful than thief which DV has at 25 so
lateJoinAdditional: true
allowNonHumans: true
Loading