Bank implementation (#512)
* get currency refactor * bank work * finish vault markers * add bank doors * map update * loadouts * Update CP14StationTravelingStoreShipTargetComponent.cs * oopsie
This commit is contained in:
@@ -33,4 +33,31 @@
|
||||
- id: CP14VialTinyChromiumSlime
|
||||
prob: 0.3
|
||||
- id: CP14VialTinyLumiMushroom
|
||||
prob: 0.3
|
||||
prob: 0.3
|
||||
|
||||
- type: entity
|
||||
parent: CP14WoodenCloset
|
||||
id: CP14WoodenClosetBankerFilled
|
||||
suffix: Banker, Filled
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: HandLabeler #TODO custom cp14 labeler
|
||||
- id: CP14PaperFolderRed
|
||||
amount: 2
|
||||
- id: CP14PaperFolderBlue
|
||||
amount: 2
|
||||
- id: CP14PaperFolderRed
|
||||
prob: 0.5
|
||||
- id: CP14PaperFolderBlue
|
||||
prob: 0.5
|
||||
- id: CP14Paper
|
||||
amount: 2
|
||||
- id: CP14PenFeather
|
||||
amount: 2
|
||||
- id: CP14Inkwell
|
||||
prob: 0.2
|
||||
- id: CP14CopperCoin5
|
||||
prob: 0.2
|
||||
- id: CP14SilverCoin1
|
||||
prob: 0.2
|
||||
@@ -14,4 +14,22 @@
|
||||
- id: CP14ClothingHeadAlchemistBeret
|
||||
prob: 0.6
|
||||
- id: CP14ClothingHeadAlchemistBandana
|
||||
prob: 0.6
|
||||
prob: 0.6
|
||||
|
||||
- type: entity
|
||||
parent: CP14WoodenCabinet
|
||||
id: CP14WoodenCabinetBanker
|
||||
suffix: Banker, Filled
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: CP14ClothingHeadBowler
|
||||
prob: 0.5
|
||||
- id: CP14ClothingPantsAristocratic
|
||||
prob: 0.5
|
||||
- id: CP14ClothingShirtBanker
|
||||
prob: 0.5
|
||||
- id: CP14ClothingEyesMonocle
|
||||
prob: 0.2
|
||||
- id: CP14ClothingEyesGlasses
|
||||
prob: 0.3
|
||||
@@ -1,10 +0,0 @@
|
||||
- type: entity
|
||||
id: CP14ExpeditionShipTargetPoint
|
||||
parent: MarkerBase
|
||||
name: Expedition ship target point
|
||||
description: One of the possible arrival points of a ship carrying players
|
||||
categories: [ ForkFiltered ]
|
||||
components:
|
||||
- type: CP14ExpeditionShipFTLTarget
|
||||
- type: Sprite
|
||||
state: pink
|
||||
29
Resources/Prototypes/_CP14/Entities/Markers/misc.yml
Normal file
29
Resources/Prototypes/_CP14/Entities/Markers/misc.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
- type: entity
|
||||
id: CP14ExpeditionShipTargetPoint
|
||||
parent: MarkerBase
|
||||
name: Expedition ship target point
|
||||
description: One of the possible arrival points of a ship carrying players
|
||||
categories: [ ForkFiltered ]
|
||||
components:
|
||||
- type: CP14ExpeditionShipFTLTarget
|
||||
- type: Sprite
|
||||
state: pink
|
||||
|
||||
- type: entity
|
||||
id: CP14BankStorageMarker
|
||||
parent: MarkerBase
|
||||
categories: [ ForkFiltered ]
|
||||
name: Bank vault marker
|
||||
suffix: ONCE ON MAP
|
||||
description: Marks the specified area as a “bank vault” to credit all bankers with treasure storage goals
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: pink
|
||||
- sprite: /Textures/_CP14/Objects/Economy/jewelry.rsi
|
||||
state: ruby1
|
||||
- type: StealArea
|
||||
range: 2
|
||||
- type: CP14StealAreaAutoJobConnect
|
||||
departments:
|
||||
- CP14Bank
|
||||
@@ -40,10 +40,10 @@
|
||||
id: CP14JewelryEmerald
|
||||
name: emerald
|
||||
description: A beautiful emerald stone that's worth a lot of money.
|
||||
suffix: 20gp
|
||||
suffix: 40gp
|
||||
components:
|
||||
- type: CP14Currency
|
||||
currency: 2000
|
||||
currency: 4000
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: emerald1
|
||||
|
||||
@@ -42,3 +42,111 @@
|
||||
#- type: Construction
|
||||
# graph: CP14WoodenDoor
|
||||
# node: CP14WoodenDoorMirrored
|
||||
|
||||
# Bank
|
||||
|
||||
- type: entity
|
||||
parent: CP14IronDoor
|
||||
id: CP14IronDoorBankStaff
|
||||
suffix: Bank Staff
|
||||
components:
|
||||
- type: CP14Lock
|
||||
autoGenerateShape: BankStaff
|
||||
- type: Lock
|
||||
locked: true
|
||||
|
||||
- type: entity
|
||||
parent:
|
||||
- CP14IronDoorBankStaff
|
||||
- CP14IronDoorMirrored
|
||||
id: CP14IronDoorMirroredBankStaff
|
||||
suffix: Bank Staff, Mirrored
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: CP14IronDoor
|
||||
id: CP14IronDoorBankVault
|
||||
suffix: Bank Vault
|
||||
components:
|
||||
- type: CP14Lock
|
||||
autoGenerateShape: BankVault
|
||||
- type: Lock
|
||||
locked: true
|
||||
|
||||
- type: entity
|
||||
parent:
|
||||
- CP14IronDoorBankVault
|
||||
- CP14IronDoorMirrored
|
||||
id: CP14IronDoorMirroredBankVault
|
||||
suffix: Bank Vault, Mirrored
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: CP14IronDoor
|
||||
id: CP14IronDoorBankSafe1
|
||||
suffix: Bank Safe 1
|
||||
components:
|
||||
- type: CP14Lock
|
||||
autoGenerateShape: BankSafe1
|
||||
- type: Lock
|
||||
locked: true
|
||||
|
||||
- type: entity
|
||||
parent: CP14IronDoor
|
||||
id: CP14IronDoorBankCommandantRoom
|
||||
suffix: Bank Commandant room
|
||||
components:
|
||||
- type: CP14Lock
|
||||
autoGenerateShape: BankCommandantRoom
|
||||
- type: Lock
|
||||
locked: true
|
||||
|
||||
- type: entity
|
||||
parent: CP14IronDoor
|
||||
id: CP14IronDoorBankSafe2
|
||||
suffix: Bank Safe 2
|
||||
components:
|
||||
- type: CP14Lock
|
||||
autoGenerateShape: BankSafe2
|
||||
- type: Lock
|
||||
locked: true
|
||||
|
||||
- type: entity
|
||||
parent: CP14IronDoor
|
||||
id: CP14IronDoorBankSafe3
|
||||
suffix: Bank Safe 3
|
||||
components:
|
||||
- type: CP14Lock
|
||||
autoGenerateShape: BankSafe3
|
||||
- type: Lock
|
||||
locked: true
|
||||
|
||||
- type: entity
|
||||
parent: CP14IronDoor
|
||||
id: CP14IronDoorBankSafe4
|
||||
suffix: Bank Safe 4
|
||||
components:
|
||||
- type: CP14Lock
|
||||
autoGenerateShape: BankSafe4
|
||||
- type: Lock
|
||||
locked: true
|
||||
|
||||
- type: entity
|
||||
parent: CP14IronDoor
|
||||
id: CP14IronDoorBankSafe5
|
||||
suffix: Bank Safe 5
|
||||
components:
|
||||
- type: CP14Lock
|
||||
autoGenerateShape: BankSafe5
|
||||
- type: Lock
|
||||
locked: true
|
||||
|
||||
- type: entity
|
||||
parent: CP14IronDoor
|
||||
id: CP14IronDoorBankSafe6
|
||||
suffix: Bank Safe 6
|
||||
components:
|
||||
- type: CP14Lock
|
||||
autoGenerateShape: BankSafe6
|
||||
- type: Lock
|
||||
locked: true
|
||||
@@ -45,3 +45,22 @@
|
||||
#- type: Construction
|
||||
# graph: CP14WoodenDoor
|
||||
# node: CP14WoodenDoorMirrored
|
||||
|
||||
# Bank
|
||||
|
||||
- type: entity
|
||||
parent: CP14IronDoorWindowed
|
||||
id: CP14IronDoorWindowedBankEntrance
|
||||
suffix: Bank Entrance
|
||||
components:
|
||||
- type: CP14Lock
|
||||
autoGenerateShape: BankEntrance
|
||||
- type: Lock
|
||||
locked: true
|
||||
|
||||
- type: entity
|
||||
parent:
|
||||
- CP14IronDoorWindowedBankEntrance
|
||||
- CP14IronDoorWindowedMirrored
|
||||
id: CP14IronDoorWindowedMirroredBankEntrance
|
||||
suffix: Bank Entrance, Mirrored
|
||||
@@ -59,4 +59,38 @@
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: CP14KeyAlchemy
|
||||
- id: CP14KeyAlchemy
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKeyRing
|
||||
id: CP14KeyRingBanker
|
||||
suffix: Banker
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: CP14KeyBankEntrance
|
||||
- id: CP14KeyBankStaff
|
||||
- id: CP14KeyBankSafe1
|
||||
- id: CP14KeyBankSafe2
|
||||
- id: CP14KeyBankSafe3
|
||||
- id: CP14KeyBankSafe4
|
||||
- id: CP14KeyBankSafe5
|
||||
- id: CP14KeyBankSafe6
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKeyRing
|
||||
id: CP14KeyRingCommandant
|
||||
suffix: Commandant
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: CP14KeyBankCommandantRoom
|
||||
- id: CP14KeyBankVault
|
||||
- id: CP14KeyBankEntrance
|
||||
- id: CP14KeyBankStaff
|
||||
- id: CP14KeyBankSafe1
|
||||
- id: CP14KeyBankSafe2
|
||||
- id: CP14KeyBankSafe3
|
||||
- id: CP14KeyBankSafe4
|
||||
- id: CP14KeyBankSafe5
|
||||
- id: CP14KeyBankSafe6
|
||||
@@ -115,4 +115,104 @@
|
||||
- type: Sprite
|
||||
state: key8
|
||||
- type: CP14Key
|
||||
autoGenerateShape: Alchemy
|
||||
autoGenerateShape: Alchemy
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKey
|
||||
id: CP14KeyBankEntrance
|
||||
name: bank entrance key
|
||||
components:
|
||||
- type: Sprite
|
||||
state: key9
|
||||
- type: CP14Key
|
||||
autoGenerateShape: BankEntrance
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKey
|
||||
id: CP14KeyBankStaff
|
||||
name: bank staff key
|
||||
components:
|
||||
- type: Sprite
|
||||
state: key10
|
||||
- type: CP14Key
|
||||
autoGenerateShape: BankStaff
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKey
|
||||
id: CP14KeyBankVault
|
||||
name: bank vault key
|
||||
components:
|
||||
- type: Sprite
|
||||
state: key11
|
||||
- type: CP14Key
|
||||
autoGenerateShape: BankVault
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKey
|
||||
id: CP14KeyBankCommandantRoom
|
||||
name: bank commandant room key
|
||||
components:
|
||||
- type: Sprite
|
||||
state: key11
|
||||
- type: CP14Key
|
||||
autoGenerateShape: BankCommandantRoom
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKey
|
||||
id: CP14KeyBankSafe1
|
||||
name: bank safe 1 key
|
||||
components:
|
||||
- type: Sprite
|
||||
state: key12
|
||||
- type: CP14Key
|
||||
autoGenerateShape: BankSafe1
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKey
|
||||
id: CP14KeyBankSafe2
|
||||
name: bank safe 2 key
|
||||
components:
|
||||
- type: Sprite
|
||||
state: key12
|
||||
- type: CP14Key
|
||||
autoGenerateShape: BankSafe2
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKey
|
||||
id: CP14KeyBankSafe3
|
||||
name: bank safe 3 key
|
||||
components:
|
||||
- type: Sprite
|
||||
state: key12
|
||||
- type: CP14Key
|
||||
autoGenerateShape: BankSafe3
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKey
|
||||
id: CP14KeyBankSafe4
|
||||
name: bank safe 4 key
|
||||
components:
|
||||
- type: Sprite
|
||||
state: key12
|
||||
- type: CP14Key
|
||||
autoGenerateShape: BankSafe4
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKey
|
||||
id: CP14KeyBankSafe5
|
||||
name: bank safe 5 key
|
||||
components:
|
||||
- type: Sprite
|
||||
state: key12
|
||||
- type: CP14Key
|
||||
autoGenerateShape: BankSafe5
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseKey
|
||||
id: CP14KeyBankSafe6
|
||||
name: bank safe 6 key
|
||||
components:
|
||||
- type: Sprite
|
||||
state: key12
|
||||
- type: CP14Key
|
||||
autoGenerateShape: BankSafe6
|
||||
@@ -15,6 +15,8 @@
|
||||
departmentObjectives:
|
||||
CP14Command:
|
||||
- CP14TownSendObjectiveGroup
|
||||
CP14Bank:
|
||||
- CP14BankEarningObjectiveGroup
|
||||
- type: CP14PersonalObjectivesRule
|
||||
departmentObjectives:
|
||||
CP14Mercenary:
|
||||
|
||||
@@ -2,6 +2,49 @@
|
||||
id: Debug
|
||||
complexity: 10
|
||||
|
||||
# Bank
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: BankEntrance
|
||||
complexity: 3
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: BankStaff
|
||||
complexity: 5
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: BankVault
|
||||
complexity: 7
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: BankCommandantRoom
|
||||
complexity: 7
|
||||
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: BankSafe1
|
||||
complexity: 5
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: BankSafe2
|
||||
complexity: 5
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: BankSafe3
|
||||
complexity: 5
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: BankSafe4
|
||||
complexity: 5
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: BankSafe5
|
||||
complexity: 5
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: BankSafe6
|
||||
complexity: 5
|
||||
|
||||
# Tavern
|
||||
|
||||
- type: CP14LockCategory
|
||||
@@ -12,6 +55,7 @@
|
||||
id: TavernStaff
|
||||
complexity: 5
|
||||
|
||||
|
||||
- type: CP14LockCategory
|
||||
id: TavernDorms1
|
||||
complexity: 3
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
components:
|
||||
- type: Objective
|
||||
issuer: cp14-objective-issuer-town
|
||||
difficulty: 1
|
||||
|
||||
|
||||
# Send group
|
||||
@@ -13,13 +14,13 @@
|
||||
parent: CP14BaseTownObjective
|
||||
id: CP14BaseTownSendObjective
|
||||
components:
|
||||
- type: Objective
|
||||
- type: CP14TownSendCondition
|
||||
minCollectionSize: 5
|
||||
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
|
||||
@@ -29,10 +30,35 @@
|
||||
collectGroup: CP14Gold
|
||||
minCollectionSize: 200
|
||||
maxCollectionSize: 250
|
||||
- type: Objective
|
||||
difficulty: 1
|
||||
|
||||
- type: weightedRandom
|
||||
id: CP14TownSendObjectiveGroup
|
||||
weights:
|
||||
CP14TownSendGoldObjective: 1
|
||||
CP14TownSendGoldObjective: 1
|
||||
|
||||
|
||||
#Bank money
|
||||
- type: entity
|
||||
abstract: true
|
||||
parent: CP14BaseTownObjective
|
||||
id: CP14BaseTownBankEarningObjective
|
||||
components:
|
||||
- type: CP14CurrencyStoredCondition
|
||||
objectiveText: cp14-objective-bank-earning-title
|
||||
objectiveDescription: cp14-objective-bank-earning-desc
|
||||
objectiveSprite:
|
||||
sprite: /Textures/_CP14/Objects/Economy/pp_coin.rsi
|
||||
state: coin10
|
||||
- type: Objective
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseTownBankEarningObjective
|
||||
id: CP14TownBankEarningObjective
|
||||
components:
|
||||
- type: CP14CurrencyStoredCondition
|
||||
currency: 50000
|
||||
|
||||
- type: weightedRandom
|
||||
id: CP14BankEarningObjectiveGroup
|
||||
weights:
|
||||
CP14TownBankEarningObjective: 1
|
||||
@@ -10,4 +10,5 @@
|
||||
- type: startingGear
|
||||
id: CP14BankerGear
|
||||
equipment:
|
||||
belt1: CP14KeyRingInnkeeper
|
||||
belt1: CP14WalletFilledTest
|
||||
keys: CP14KeyRingBanker
|
||||
@@ -14,4 +14,5 @@
|
||||
- type: startingGear
|
||||
id: CP14CommandantGear
|
||||
equipment:
|
||||
belt1: CP14KeyRingInnkeeper
|
||||
belt1: CP14WalletFilledTest
|
||||
keys: CP14KeyRingCommandant
|
||||
Reference in New Issue
Block a user