Endscreen message + command objectives updadte (#533)

* add simple end screen common goals

* finish common objectives endscreen

* personal objectives endscreen

* Update personal_objectives.yml

* new empire objectives
This commit is contained in:
Ed
2024-11-04 13:41:09 +03:00
committed by GitHub
parent 16a0b99daf
commit c21dd891f3
26 changed files with 274 additions and 102 deletions

View File

@@ -152,6 +152,8 @@
gender: epicene
- type: ReplacementAccent
accent: pig
- type: StealTarget
stealGroup: CP14Boar
- type: entity
id: CP14MobBoar
@@ -191,3 +193,5 @@
- type: NPCRetaliation
attackMemoryLength: 10
- type: FactionException
- type: StealTarget
stealGroup: CP14Boar

View File

@@ -106,6 +106,8 @@
variation: 0.125
- type: SoundWhileAlive
- type: FloorOcclusion
- type: StealTarget
stealGroup: CP14Dino
- type: entity
id: CP14MobDinoSmallHydra

View File

@@ -92,6 +92,8 @@
- type: Tag
tags:
- FootstepSound
- type: StealTarget
stealGroup: CP14Mole
- type: entity
id: CP14ActionMoleSpellSubterraneanLeap

View File

@@ -47,6 +47,4 @@
sprite: _CP14/Objects/Materials/gold_ore.rsi
layers:
- state: ore1
map: ["random"]
- type: StealTarget
stealGroup: CP14Gold
map: ["random"]

View File

@@ -19,23 +19,41 @@
maxCollectionSize: 10
objectiveText: cp14-objective-town-send-title
descriptionText: cp14-objective-town-send-desc
descriptionMultiplyText: cp14-objective-town-send-multiply-desc
- type: Objective
- type: entity
parent: CP14BaseTownSendObjective
id: CP14TownSendGoldObjective
id: CP14TownSendDinoObjective
components:
- type: CP14TownSendCondition
collectGroup: CP14Gold
minCollectionSize: 200
maxCollectionSize: 250
collectGroup: CP14Dino
minCollectionSize: 10
maxCollectionSize: 50
- type: entity
parent: CP14BaseTownSendObjective
id: CP14TownSendMoleObjective
components:
- type: CP14TownSendCondition
collectGroup: CP14Mole
minCollectionSize: 10
maxCollectionSize: 50
- type: entity
parent: CP14BaseTownSendObjective
id: CP14TownSendBoarObjective
components:
- type: CP14TownSendCondition
collectGroup: CP14Boar
minCollectionSize: 10
maxCollectionSize: 50
- type: weightedRandom
id: CP14TownSendObjectiveGroup
weights:
CP14TownSendGoldObjective: 1
CP14TownSendDinoObjective: 1
CP14TownSendMoleObjective: 1
CP14TownSendBoarObjective: 1
#Bank money
- type: entity
@@ -51,13 +69,6 @@
state: coin10
- type: Objective
- type: entity
parent: CP14BaseTownBankEarningObjective
id: CP14TownBankEarningObjectiveSmall
components:
- type: CP14CurrencyStoredCondition
currency: 10000
- type: entity
parent: CP14BaseTownBankEarningObjective
id: CP14TownBankEarningObjectiveMedium
@@ -75,6 +86,5 @@
- type: weightedRandom
id: CP14BankEarningObjectiveGroup
weights:
CP14TownBankEarningObjectiveSmall: 1
CP14TownBankEarningObjectiveMedium: 0.6
CP14TownBankEarningObjectiveBig: 0.3

View File

@@ -24,28 +24,9 @@
state: coin10
# Collect currency group
- type: entity
parent: CP14BasePersonalCurrencyCollectObjective
id: CP14PersonalCurrencyCollectObjectiveSmall
components:
- type: Objective
difficulty: 0.25
- type: CP14CurrencyCollectCondition
currency: 500
- type: entity
parent: CP14BasePersonalCurrencyCollectObjective
id: CP14PersonalCurrencyCollectObjectiveMedium
components:
- type: Objective
difficulty: 0.5
- type: CP14CurrencyCollectCondition
currency: 750
- type: entity
parent: CP14BasePersonalCurrencyCollectObjective
id: CP14PersonalCurrencyCollectObjectiveBig
id: CP14PersonalCurrencyCollectObjective
components:
- type: Objective
difficulty: 1
@@ -55,6 +36,4 @@
- type: weightedRandom
id: CP14PersonalCurrencyCollectObjectiveGroup
weights:
CP14PersonalCurrencyCollectObjectiveSmall: 0.25
CP14PersonalCurrencyCollectObjectiveMedium: 0.5
CP14PersonalCurrencyCollectObjectiveBig: 1
CP14PersonalCurrencyCollectObjective: 1

View File

@@ -1,6 +1,20 @@
- type: stealTargetGroup
id: CP14Gold
name: cp14-steal-target-gold-ore
id: CP14Dino
name: cp14-steal-target-dino
sprite:
sprite: _CP14/Objects/Materials/gold_ore.rsi
state: ore1
sprite: _CP14/Mobs/Animals/dino.rsi
state: dead
- type: stealTargetGroup
id: CP14Mole
name: cp14-steal-target-mole
sprite:
sprite: _CP14/Mobs/Monster/mole.rsi
state: dead
- type: stealTargetGroup
id: CP14Boar
name: cp14-steal-target-boar
sprite:
sprite: _CP14/Mobs/Animals/boar.rsi
state: dead