Content pack (#337)

* added rope

* black shirt replace

* Update migration.yml

* more berets

* loadout update

* captain role and jacket

* bruhh captain cap

* add one-handed sword

* shield!

* Update entities.ftl
This commit is contained in:
Ed
2024-07-19 00:03:08 +03:00
committed by GitHub
parent dec6a1c2ca
commit 2bf17fdc35
72 changed files with 595 additions and 105 deletions

View File

@@ -84,4 +84,17 @@
- type: Sprite
sprite: _CP14/Clothing/Cloak/Simple/dark_blue.rsi
- type: Clothing
sprite: _CP14/Clothing/Cloak/Simple/dark_blue.rsi
sprite: _CP14/Clothing/Cloak/Simple/dark_blue.rsi
- type: entity
parent:
- CP14ClothingCloakBase
- ClothingSlotBase
id: CP14ClothingCloakCaptainJacket
name: captain's jacket
description: the colors white and gold tell you that you're looking at a higher power.
components:
- type: Sprite
sprite: _CP14/Clothing/Cloak/captain_jacket.rsi
- type: Clothing
sprite: _CP14/Clothing/Cloak/captain_jacket.rsi

View File

@@ -71,11 +71,44 @@
- type: entity
parent: CP14ClothingHeadBase
id: CP14ClothingHeadWhiteBeret
name: white beret
id: CP14ClothingHeadYellowBeret
name: yellow beret
description: this is beret.
components:
- type: Sprite
sprite: _CP14/Clothing/Head/Beret/white.rsi
sprite: _CP14/Clothing/Head/Beret/yellow.rsi
- type: Clothing
sprite: _CP14/Clothing/Head/Beret/white.rsi
sprite: _CP14/Clothing/Head/Beret/yellow.rsi
- type: entity
parent: CP14ClothingHeadBase
id: CP14ClothingHeadBlueBeret
name: blue beret
description: this is beret.
components:
- type: Sprite
sprite: _CP14/Clothing/Head/Beret/blue.rsi
- type: Clothing
sprite: _CP14/Clothing/Head/Beret/blue.rsi
- type: entity
parent: CP14ClothingHeadBase
id: CP14ClothingHeadBlackBeret
name: black beret
description: this is beret.
components:
- type: Sprite
sprite: _CP14/Clothing/Head/Beret/black.rsi
- type: Clothing
sprite: _CP14/Clothing/Head/Beret/black.rsi
- type: entity
parent: CP14ClothingHeadBase
id: CP14ClothingHeadCaptainCap
name: captain's cap
description: No, look how handsome he is!
components:
- type: Sprite
sprite: _CP14/Clothing/Head/captain_cap.rsi
- type: Clothing
sprite: _CP14/Clothing/Head/captain_cap.rsi

View File

@@ -24,14 +24,14 @@
- type: entity
parent: CP14ClothingShirtBase
id: CP14ClothingShirtCottonBlueDark
name: cotton dark shirt
id: CP14ClothingShirtCottonBlack
name: cotton black shirt
description: Pleasant to the touch material, in a comfortable loose shirt shape.
components:
- type: Sprite
sprite: _CP14/Clothing/Shirt/Cotton/dark_blue.rsi
sprite: _CP14/Clothing/Shirt/Cotton/black.rsi
- type: Clothing
sprite: _CP14/Clothing/Shirt/Cotton/dark_blue.rsi
sprite: _CP14/Clothing/Shirt/Cotton/black.rsi
- type: entity
parent: CP14ClothingShirtBase

View File

@@ -83,13 +83,15 @@
- CP14ClothingHeadTriangularHatGolden
- CP14ClothingHeadRedBeret
- CP14ClothingHeadPurpleBeret
- CP14ClothingHeadWhiteBeret
- CP14ClothingHeadYellowBeret
- CP14ClothingHeadBlueBeret
- CP14ClothingHeadBlackBeret
- CP14ClothingPantsTrouserWhite
- CP14ClothingPantsTrouserDarkBlue
- CP14ClothingPantsAristocratic
- CP14ClothingPantsLoincloth
- CP14ClothingShirtCottonBlue
- CP14ClothingShirtCottonBlueDark
- CP14ClothingShirtCottonBlack
- CP14ClothingShirtCottonPurple
- CP14ClothingShirtCottonRed
- CP14ClothingShirtCottonWhite

View File

@@ -0,0 +1,34 @@
- type: entity
id: CP14Rope
parent: BaseItem
name: rope
description: Multifunctional rope. You can tie something with it. Or someone.
components:
- type: Item
size: Small
storedRotation: 90
- type: Handcuff
cuffedRSI: _CP14/Objects/Tools/rope.rsi
bodyIconState: body-overlay
startCuffSound:
path: /Audio/Items/Handcuffs/rope_start.ogg
endCuffSound:
path: /Audio/Items/Handcuffs/rope_end.ogg
startUncuffSound:
path: /Audio/Items/Handcuffs/rope_start.ogg
endUncuffSound:
path: /Audio/Items/Handcuffs/rope_breakout.ogg
startBreakoutSound:
path: /Audio/Items/Handcuffs/rope_takeoff.ogg
- type: Sprite
sprite: _CP14/Objects/Tools/rope.rsi
state: icon
- type: MeleeWeapon
wideAnimationRotation: 90
resetOnHandSelected: false
animation: WeaponArcDisarm
damage:
types:
Blunt: 0
- type: UseDelay
delay: 3

View File

@@ -0,0 +1,65 @@
- type: entity
id: CP14BaseShield
parent: BaseItem
name: shield
description: A wooden shield capable of withstanding multiple blows.
components:
- type: Sprite
sprite: _CP14/Objects/Weapons/Melee/Shield/shield.rsi
state: icon
- type: Item
sprite: _CP14/Objects/Weapons/Melee/Shield/shield.rsi
size: Ginormous
- type: Blocking
passiveBlockModifier:
coefficients:
Blunt: 0.9
Slash: 0.9
Piercing: 0.9
Heat: 0.9
activeBlockModifier:
coefficients:
Blunt: 0.8
Slash: 0.8
Piercing: 0.8
Heat: 0.8
flatReductions:
Blunt: 1
Slash: 1
Piercing: 1
Heat: 1
- type: Clothing
equipDelay: 0.45
unequipDelay: 0.45
sprite: _CP14/Objects/Weapons/Melee/Shield/shield.rsi
quickEquip: false
breakOnMove: false
slots:
- back
- type: Damageable
damageContainer: Shield
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 140
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 100 #This is probably enough damage before it breaks
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel:
min: 2
max: 2
SheetGlass:
min: 2
max: 2

View File

@@ -0,0 +1,36 @@
- type: entity
id: CP14BaseSword
parent:
- BaseItem
- CP14BaseWeaponDestructible
- CP14BaseWeaponSharp
- CP14BaseWeaponChemical
- CP14BaseWeaponLight
name: sword
description: the gold standard of edged weapons. Medium length, comfortable grip. No frills.
components:
- type: Item
size: Normal
storedRotation: -45
- type: Clothing
equipDelay: 0.45
unequipDelay: 0.45
sprite: _CP14/Objects/Weapons/Melee/Sword/sword.rsi
quickEquip: false
breakOnMove: false
slots:
- back
- type: Sprite
sprite: _CP14/Objects/Weapons/Melee/Sword/sword.rsi
layers:
- state: icon
- type: MeleeWeapon
attackRate: 1.5
wideAnimationRotation: 210
wideAnimation: CP14WeaponArcSlash
cPAnimationLength: 0.18
damage:
types:
Slash: 12
soundHit:
collection: MetalThud

View File

@@ -127,13 +127,31 @@
head: CP14ClothingHeadPurpleBeret
- type: loadout
id: CP14ClothingHeadWhiteBeret
equipment: CP14ClothingHeadWhiteBeret
id: CP14ClothingHeadYellowBeret
equipment: CP14ClothingHeadYellowBeret
- type: startingGear
id: CP14ClothingHeadWhiteBeret
id: CP14ClothingHeadYellowBeret
equipment:
head: CP14ClothingHeadWhiteBeret
head: CP14ClothingHeadYellowBeret
- type: loadout
id: CP14ClothingHeadBlueBeret
equipment: CP14ClothingHeadBlueBeret
- type: startingGear
id: CP14ClothingHeadBlueBeret
equipment:
head: CP14ClothingHeadBlueBeret
- type: loadout
id: CP14ClothingHeadBlackBeret
equipment: CP14ClothingHeadBlackBeret
- type: startingGear
id: CP14ClothingHeadBlackBeret
equipment:
head: CP14ClothingHeadBlackBeret
# Mask
@@ -200,13 +218,13 @@
- type: loadout
id: CP14ClothingShirtCottonBlueDark
equipment: CP14ClothingShirtCottonBlueDark
id: CP14ClothingShirtCottonBlack
equipment: CP14ClothingShirtCottonBlack
- type: startingGear
id: CP14ClothingShirtCottonBlueDark
id: CP14ClothingShirtCottonBlack
equipment:
shirt: CP14ClothingShirtCottonBlueDark
shirt: CP14ClothingShirtCottonBlack
- type: loadout

View File

@@ -0,0 +1,19 @@
# Head
- type: loadout
id: CP14ClothingHeadCaptainCap
equipment: CP14ClothingHeadCaptainCap
- type: startingGear
id: CP14ClothingHeadCaptainCap
equipment:
head: CP14ClothingHeadCaptainCap
# Cloak
- type: loadout
id: CP14ClothingCloakCaptainJacket
equipment: CP14ClothingCloakCaptainJacket
- type: startingGear
id: CP14ClothingCloakCaptainJacket
equipment:
cloak: CP14ClothingCloakCaptainJacket

View File

@@ -1,6 +1,8 @@
# Basic
- type: loadoutGroup
id: CP14TestCloak
name: cp14-loadout-test-cloak
id: CP14BasicCloak
name: cp14-loadout-basic-cloak
minLimit: 0
loadouts:
- CP14ClothingCloakSimpleWhite
@@ -10,23 +12,29 @@
- CP14ClothingCloakFurcapeBlue
- type: loadoutGroup
id: CP14TestEyes
name: cp14-loadout-test-eyes
id: CP14BasicEyes
name: cp14-loadout-basic-eyes
minLimit: 0
loadouts:
- CP14ClothingEyesMonocle
- CP14ClothingEyesGlasses
- type: loadoutGroup
id: CP14TestGloves
name: cp14-loadout-test-gloves
id: CP14BasicGloves
name: cp14-loadout-basic-gloves
minLimit: 0
loadouts:
- CP14Girdles
- type: loadoutGroup
id: CP14BasicMask
name: cp14-loadout-basic-mask
minLimit: 0
loadouts:
- CP14Sinner
- type: loadoutGroup
id: CP14TestHead
name: cp14-loadout-test-head
id: CP14BasicHead
name: cp14-loadout-basic-head
minLimit: 0
loadouts:
- CP14ClothingHeadMetalHeadband
@@ -34,18 +42,13 @@
- CP14ClothingHeadTriangularHatGolden
- CP14ClothingHeadRedBeret
- CP14ClothingHeadPurpleBeret
- CP14ClothingHeadWhiteBeret
- CP14ClothingHeadYellowBeret
- CP14ClothingHeadBlueBeret
- CP14ClothingHeadBlackBeret
- type: loadoutGroup
id: CP14TestMask
name: cp14-loadout-test-mask
minLimit: 0
loadouts:
- CP14Sinner
- type: loadoutGroup
id: CP14TestPants
name: cp14-loadout-test-pants
id: CP14BasicPants
name: cp14-loadout-basic-pants
loadouts:
- CP14ClothingPantsTrouserWhite
- CP14ClothingPantsTrouserDarkBlue
@@ -53,20 +56,34 @@
- CP14ClothingPantsLoincloth
- type: loadoutGroup
id: CP14TestShirt
name: cp14-loadout-test-shirt
id: CP14BasicShirt
name: cp14-loadout-basic-shirt
loadouts:
- CP14ClothingShirtCottonWhite
- CP14ClothingShirtCottonBlue
- CP14ClothingShirtCottonBlueDark
- CP14ClothingShirtCottonBlack
- CP14ClothingShirtCottonPurple
- CP14ClothingShirtCottonRed
- CP14ClothingShirtCottonYellow
- type: loadoutGroup
id: CP14TestShoes
name: cp14-loadout-test-shoes
id: CP14BasicShoes
name: cp14-loadout-basic-shoes
loadouts:
- CP14ShoesBlack
- CP14ShoesAristocraticBlack
- CP14ShoesSandals
- CP14ShoesSandals
# Command
- type: loadoutGroup
id: CP14CaptainHead
name: cp14-loadout-captain-head
loadouts:
- CP14ClothingHeadCaptainCap
- type: loadoutGroup
id: CP14CaptainCloak
name: cp14-loadout-captain-cloak
loadouts:
- CP14ClothingCloakCaptainJacket

View File

@@ -1,23 +1,35 @@
- type: roleLoadout
id: JobCP14Adventurer
groups:
- CP14TestHead
- CP14TestEyes
- CP14TestMask
- CP14TestCloak
- CP14TestGloves
- CP14TestShirt
- CP14TestPants
- CP14TestShoes
- CP14BasicHead
- CP14BasicEyes
- CP14BasicMask
- CP14BasicCloak
- CP14BasicGloves
- CP14BasicShirt
- CP14BasicPants
- CP14BasicShoes
- type: roleLoadout
id: JobCP14Alchemist
groups:
- CP14TestHead
- CP14TestEyes
- CP14TestMask
- CP14TestCloak
- CP14TestGloves
- CP14TestShirt
- CP14TestPants
- CP14TestShoes
- CP14BasicHead #TODO
- CP14BasicEyes
- CP14BasicMask
- CP14BasicCloak #TODO
- CP14BasicGloves
- CP14BasicShirt
- CP14BasicPants
- CP14BasicShoes
- type: roleLoadout
id: JobCP14Captain
groups:
- CP14CaptainHead
- CP14BasicEyes
- CP14BasicMask
- CP14CaptainCloak
- CP14BasicGloves
- CP14BasicShirt
- CP14BasicPants
- CP14BasicShoes

View File

@@ -0,0 +1,16 @@
- type: job
id: CP14Captain
name: cp14-job-name-captain
description: cp14-job-desc-captain
playTimeTracker: CP14JobCaptain
startingGear: CP14CaptainGear
icon: "CP14JobIconCaptain"
requireAdminNotify: true
joinNotifyCrew: true
canBeAntag: false
supervisors: cp14-job-supervisors-command
- type: startingGear
id: CP14CaptainGear
equipment:
belt1: CP14WalletFilledTest

View File

@@ -2,7 +2,7 @@
id: CP14DeathMatchGear
equipment:
cloak: CP14ClothingCloakFurcapeBlue
shirt: CP14ClothingShirtCottonBlueDark
shirt: CP14ClothingShirtCottonBlack
pants: CP14ClothingPantsLoincloth
shoes: CP14ClothingShoesSandals
inhand:

View File

@@ -11,19 +11,6 @@
skills:
- Warcraft
- type: job
id: CP14Alchemist
name: cp14-job-name-alchemist
description: cp14-job-desc-alchemist
playTimeTracker: CP14JobAlchemist
startingGear: CP14AdventurerGear #TODO
icon: "CP14JobIconAlchemist"
supervisors: cp14-job-supervisors-command
special:
- !type:CP14AddSkillSpecial
skills:
- Alchemy
- type: startingGear
id: CP14AdventurerGear
equipment:

View File

@@ -0,0 +1,17 @@
- type: job
id: CP14Alchemist
name: cp14-job-name-alchemist
description: cp14-job-desc-alchemist
playTimeTracker: CP14JobAlchemist
startingGear: CP14AlchemistGear
icon: "CP14JobIconAlchemist"
supervisors: cp14-job-supervisors-command
special:
- !type:CP14AddSkillSpecial
skills:
- Alchemy
- type: startingGear
id: CP14AlchemistGear
equipment:
belt1: CP14WalletFilledTest

View File

@@ -1,5 +1,5 @@
- type: department
id: CP14Free
id: CP14Mercenary
description: department-CP14Free-desc
color: "#429976"
roles:
@@ -10,3 +10,5 @@
id: CP14Command
description: department-CP14Command-desc
color: "#fadb3e"
roles:
- CP14Captain

View File

@@ -4,4 +4,7 @@
id: CP14JobAdventurer
- type: playTimeTracker
id: CP14JobAlchemist
id: CP14JobAlchemist
- type: playTimeTracker
id: CP14JobCaptain

View File

@@ -17,4 +17,11 @@
id: CP14JobIconAlchemist
icon:
sprite: /Textures/_CP14/Interface/Misc/job_icons.rsi
state: Alchemist
state: Alchemist
- type: statusIcon
parent: CP14JobIcon
id: CP14JobIconCaptain
icon:
sprite: /Textures/_CP14/Interface/Misc/job_icons.rsi
state: Captain