Refactor Game Modes (#5819)

This commit is contained in:
Vera Aguilera Puerto
2021-12-21 18:56:47 +01:00
committed by GitHub
parent 8be5c25bd4
commit 8831d08229
59 changed files with 1969 additions and 1713 deletions

View File

@@ -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

View File

@@ -12,4 +12,4 @@
- TraitorDMRedemptionMachine
chance: 1.0
gameRules:
- RuleTraitorDeathMatch
- TraitorDeathMatch

View File

@@ -1,6 +1,6 @@
- type: antag
id: SuspicionTraitor
name: "traitor"
name: "suspect"
antagonist: true
setPreference: true
objective: "Kill the innocents."

View File

@@ -0,0 +1,6 @@
- type: antag
id: Traitor
name: "traitor"
antagonist: true
setPreference: true
objective: "Complete your objectives without being caught."

View 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

View 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