Objective Assignment Refactor (#11678)

This commit is contained in:
Rane
2022-11-16 15:58:47 -05:00
committed by GitHub
parent 2100f4dc77
commit 3184619d42
6 changed files with 72 additions and 35 deletions

View File

@@ -0,0 +1,41 @@
# Traitor
- type: weightedRandom
id: TraitorObjectiveGroups
weights:
TraitorObjectiveGroupSteal: 1
TraitorObjectiveGroupKill: 1
TraitorObjectiveGroupState: 1 #As in, something about your character. Alive, dead, arrested, gained an ability...
TraitorObjectiveGroupSocial: 1 #Involves helping/harming others without killing them or stealing their stuff
- type: weightedRandom
id: TraitorObjectiveGroupSteal
weights:
CaptainIDStealObjective: 1
CMOHyposprayStealObjective: 1
RDHardsuitStealObjective: 1
NukeDiskStealObjective: 1
IDComputerBoardStealObjective: 1
MagbootsStealObjective: 1
SupplyConsoleBoardStealObjective: 1
CorgiMeatStealObjective: 1
CaptainGunStealObjective: 0.5
CaptainJetpackStealObjective: 0.5
- type: weightedRandom
id: TraitorObjectiveGroupKill
weights:
KillRandomObjective: 1
- type: weightedRandom
id: TraitorObjectiveGroupState
weights:
EscapeShuttleObjective: 1
DieObjective: 0.05
- type: weightedRandom
id: TraitorObjectiveGroupSocial
weights:
RandomTraitorAliveObjective: 1
RandomTraitorProgressObjective: 1
#Changeling, crew, wizard, when you code it...

View File

@@ -2,7 +2,6 @@
id: CaptainIDStealObjective
issuer: syndicate
difficultyOverride: 2.75
prob: 0.2
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement
@@ -42,7 +41,6 @@
- type: objective
id: DieObjective
issuer: syndicate
prob: 0.03
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement
@@ -56,7 +54,6 @@
id: CMOHyposprayStealObjective
issuer: syndicate
difficultyOverride: 2.75
prob: 0.2
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement
@@ -73,7 +70,6 @@
id: RDHardsuitStealObjective
issuer: syndicate
difficultyOverride: 2.75
prob: 0.2
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement
@@ -89,7 +85,6 @@
- type: objective
id: NukeDiskStealObjective
issuer: syndicate
prob: 0.2
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement
@@ -116,7 +111,6 @@
- type: objective
id: IDComputerBoardStealObjective
issuer: syndicate
prob: 0.2
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement
@@ -133,7 +127,6 @@
id: MagbootsStealObjective
issuer: syndicate
difficultyOverride: 2.75
prob: 0.2
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement
@@ -149,7 +142,6 @@
- type: objective
id: SupplyConsoleBoardStealObjective
issuer: syndicate
prob: 0.2
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement
@@ -165,7 +157,6 @@
- type: objective
id: CorgiMeatStealObjective
issuer: syndicate
prob: 0.2
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement
@@ -182,7 +173,6 @@
id: CaptainGunStealObjective
issuer: syndicate
difficultyOverride: 2.75
prob: 0.1
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement
@@ -199,7 +189,6 @@
id: CaptainJetpackStealObjective
issuer: syndicate
difficultyOverride: 2.75
prob: 0.1
requirements:
- !type:TraitorRequirement {}
- !type:IncompatibleConditionsRequirement