Refactor Game Modes (#5819)
This commit is contained in:
committed by
GitHub
parent
8be5c25bd4
commit
8831d08229
@@ -0,0 +1,2 @@
|
||||
death-match-title = DeathMatch
|
||||
death-match-description = Kill anything that moves!
|
||||
@@ -0,0 +1,2 @@
|
||||
extended-title = Extended
|
||||
extended-description = No antagonists, have fun!
|
||||
@@ -0,0 +1,2 @@
|
||||
sandbox-title = Sandbox
|
||||
sandbox-description = No stress, build something!
|
||||
@@ -0,0 +1,2 @@
|
||||
suspicion-title = Suspicion
|
||||
suspicion-description = Suspicion on the Space Station. There are traitors on board... Can you kill them before they kill you?
|
||||
@@ -25,6 +25,7 @@ traitor-objective-condition-success = {$condition} | [color={$markupColor}]Succe
|
||||
traitor-objective-condition-fail = {$condition} | [color={$markupColor}]Failure![/color] ({$progress}%)
|
||||
|
||||
traitor-title = Traitor
|
||||
traitor-description = There are traitors among us...
|
||||
traitor-not-enough-ready-players = Not enough players readied up for the game! There were {$readyPlayersCount} players readied up out of {$minimumPlayers} needed.
|
||||
traitor-no-one-ready = No players readied up! Can't start Traitor.
|
||||
|
||||
@@ -40,4 +41,4 @@ traitor-death-match-end-round-description-entry = {$originalName}'s PDA, with {$
|
||||
# TraitorRole
|
||||
traitor-role-name = Syndicate Agent
|
||||
traitor-role-greeting = Hello Agent
|
||||
traitor-role-codewords = Your codewords are: {$codewords}
|
||||
traitor-role-codewords = Your codewords are: {$codewords}
|
||||
|
||||
@@ -4,5 +4,5 @@ rule-suspicion-check-winner-stalemate = Everybody is dead, it's a stalemate!
|
||||
rule-suspicion-check-winner-station-win = The traitors are dead! The innocents win.
|
||||
rule-suspicion-check-winner-traitor-win = The innocents are dead! The traitors win.
|
||||
rule-suspicion-end-round-innocents-victory = The innocents have won!
|
||||
rule-suspicion-end-round-trators-victory = The traitors have won!
|
||||
rule-suspicion-end-round-nobody-victory = Nobody wins!
|
||||
rule-suspicion-end-round-traitors-victory = The traitors have won!
|
||||
rule-suspicion-end-round-nobody-victory = Nobody wins!
|
||||
|
||||
@@ -6,6 +6,6 @@ suspicion-objective = Objective: {$objectiveText}
|
||||
|
||||
# Shown when greeted with the Suspicion role
|
||||
suspicion-partners-in-crime = {$partnersCount ->
|
||||
*[zero] You're on your own. Good luck!
|
||||
[zero] You're on your own. Good luck!
|
||||
[one] Your partner in crime is {$partnerNames}.
|
||||
[other] Your partners in crime are {$partnerNames}.
|
||||
[other] Your partners in crime are {$partnerNames}.
|
||||
|
||||
@@ -16,8 +16,3 @@ ui-vote-gamemode-win = { $winner } won the gamemode vote!
|
||||
ui-vote-map-title = Next map
|
||||
ui-vote-map-tie = Tie for map vote! Picking... { $picked }
|
||||
ui-vote-map-win = { $winner } won the map vote!
|
||||
|
||||
mode-traitor = Traitor
|
||||
mode-extended = Extended
|
||||
mode-sandbox = Sandbox
|
||||
mode-suspicion = Suspicion
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
- RifleCalico
|
||||
chance: 0.75
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Pistol Spawner
|
||||
@@ -45,7 +45,7 @@
|
||||
- PistolPaco
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Melee Spawner
|
||||
@@ -66,7 +66,7 @@
|
||||
- Stunbaton
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Revolver Spawner
|
||||
@@ -84,7 +84,7 @@
|
||||
- RevolverMateba
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Shotgun Spawner
|
||||
@@ -106,7 +106,7 @@
|
||||
- ShotgunSawn
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion SMG Spawner
|
||||
@@ -126,7 +126,7 @@
|
||||
- SmgZoric
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Sniper Spawner
|
||||
@@ -144,7 +144,7 @@
|
||||
- SniperHeavy
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Hitscan Spawner
|
||||
@@ -166,7 +166,7 @@
|
||||
- TaserGun
|
||||
chance: 0.85
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Launchers Spawner
|
||||
@@ -183,7 +183,7 @@
|
||||
- LauncherRocket
|
||||
chance: 0.75
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Grenades Spawner
|
||||
@@ -206,7 +206,7 @@
|
||||
- SoapSyndie # shhh!
|
||||
chance: 0.75
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Rifle Ammo Spawner
|
||||
@@ -227,7 +227,7 @@
|
||||
- MagazinePistolCalicoTopMounted
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Shotgun Ammo Spawner
|
||||
@@ -243,7 +243,7 @@
|
||||
- MagazineShotgun
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Pistol Ammo Spawner
|
||||
@@ -260,7 +260,7 @@
|
||||
- MagazineHCPistol
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Magnum Ammo Spawner
|
||||
@@ -277,7 +277,7 @@
|
||||
- MagazineMagnumSmg
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
- type: entity
|
||||
name: Suspicion Launcher Ammo Spawner
|
||||
@@ -294,4 +294,4 @@
|
||||
- GrenadeFrag
|
||||
chance: 0.95
|
||||
gameRules:
|
||||
- RuleSuspicion
|
||||
- Suspicion
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
- TraitorDMRedemptionMachine
|
||||
chance: 1.0
|
||||
gameRules:
|
||||
- RuleTraitorDeathMatch
|
||||
- TraitorDeathMatch
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- type: antag
|
||||
id: SuspicionTraitor
|
||||
name: "traitor"
|
||||
name: "suspect"
|
||||
antagonist: true
|
||||
setPreference: true
|
||||
objective: "Kill the innocents."
|
||||
|
||||
6
Resources/Prototypes/Roles/Antags/traitor.yml
Normal file
6
Resources/Prototypes/Roles/Antags/traitor.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- type: antag
|
||||
id: Traitor
|
||||
name: "traitor"
|
||||
antagonist: true
|
||||
setPreference: true
|
||||
objective: "Complete your objectives without being caught."
|
||||
60
Resources/Prototypes/game_presets.yml
Normal file
60
Resources/Prototypes/game_presets.yml
Normal file
@@ -0,0 +1,60 @@
|
||||
- type: gamePreset
|
||||
id: Extended
|
||||
alias:
|
||||
- extended
|
||||
- shittersafari
|
||||
name: extended-title
|
||||
showInVote: true
|
||||
description: extended-description
|
||||
|
||||
- type: gamePreset
|
||||
id: Sandbox
|
||||
alias:
|
||||
- sandbox
|
||||
name: sandbox-title
|
||||
description: sandbox-description
|
||||
showInVote: true
|
||||
rules:
|
||||
- Sandbox
|
||||
|
||||
- type: gamePreset
|
||||
id: Traitor
|
||||
alias:
|
||||
- traitor
|
||||
name: traitor-title
|
||||
description: traitor-description
|
||||
showInVote: true
|
||||
rules:
|
||||
- Traitor
|
||||
|
||||
- type: gamePreset
|
||||
id: Suspicion
|
||||
alias:
|
||||
- suspicion
|
||||
- sus
|
||||
name: suspicion-title
|
||||
description: suspicion-description
|
||||
showInVote: true
|
||||
rules:
|
||||
- Suspicion
|
||||
|
||||
- type: gamePreset
|
||||
id: Deathmatch
|
||||
alias:
|
||||
- deathmatch
|
||||
- dm
|
||||
name: death-match-title
|
||||
description: death-match-description
|
||||
rules:
|
||||
- DeathMatch
|
||||
|
||||
- type: gamePreset
|
||||
id: TraitorDeathMatch
|
||||
alias:
|
||||
- traitordm
|
||||
- traitordeathmatch
|
||||
name: traitor-death-match-title
|
||||
description: traitor-death-match-description
|
||||
rules:
|
||||
- TraitorDeathMatch
|
||||
- MaxTimeRestart
|
||||
20
Resources/Prototypes/game_rules.yml
Normal file
20
Resources/Prototypes/game_rules.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
- type: gameRule
|
||||
id: DeathMatch
|
||||
|
||||
- type: gameRule
|
||||
id: InactivityTimeRestart
|
||||
|
||||
- type: gameRule
|
||||
id: MaxTimeRestart
|
||||
|
||||
- type: gameRule
|
||||
id: Suspicion
|
||||
|
||||
- type: gameRule
|
||||
id: Traitor
|
||||
|
||||
- type: gameRule
|
||||
id: TraitorDeathMatch
|
||||
|
||||
- type: gameRule
|
||||
id: Sandbox
|
||||
Reference in New Issue
Block a user