Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traitor/Detective Item + Changes: Upgradable Armour and Cheaper Wearable TC Cost #10

Merged
merged 2 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Resources/Locale/en-US/_SSS/store_items.ftl
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
uplink-carp-box-name = Dehydrated Carp Box
uplink-carp-box-desc = Box filled with 4 dehydrated carps. Make sure your friends pet it as well!

uplink-armour-upgrade-name = Armour Upgrade Kit
uplink-armour-upgrade-desc = An armour upgrade kit. Use on your armour to upgrade the protection. Armour will drop if equipped!
32 changes: 29 additions & 3 deletions Resources/Prototypes/_SSS/Catalog/sss_uplink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
description: uplink-clothing-no-slips-shoes-desc
productEntity: ClothingShoesChameleonNoSlips
cost:
Telecrystal: 4
Telecrystal: 2
categories:
- SSSTraitorWearables

Expand All @@ -338,7 +338,7 @@
description: uplink-clothing-shoes-boots-mag-syndie-desc
productEntity: ClothingShoesBootsMagSyndie
cost:
Telecrystal: 4
Telecrystal: 1
categories:
- SSSTraitorWearables

Expand All @@ -349,10 +349,23 @@
icon: { sprite: /Textures/Clothing/OuterClothing/Hardsuits/syndicate.rsi, state: icon }
productEntity: ClothingBackpackDuffelSyndicateHardsuitBundle
cost:
Telecrystal: 8
Telecrystal: 3
categories:
- SSSTraitorWearables

- type: listing
id: UplinkArmourUpgradeKitSSS
name: uplink-armour-upgrade-name
description: uplink-armour-upgrade-desc
productEntity: ClothingOuterVestWebMercSuspicionUpgradeKit
cost:
Telecrystal: 3
categories:
- SSSTraitorWearables
conditions:
- !type:ListingLimitedStockCondition
stock: 1

- type: listing
id: UplinkClothingOuterHardsuitJuggernautSSS
name: uplink-clothing-outer-hardsuit-juggernaut-name
Expand Down Expand Up @@ -388,3 +401,16 @@
conditions:
- !type:ListingLimitedStockCondition
stock: 1

- type: listing
id: UplinkArmourUpgradeKitSSSDetective
name: uplink-armour-upgrade-name
description: uplink-armour-upgrade-desc
productEntity: ClothingOuterVestWebMercSuspicionUpgradeKit
cost:
Telecrystal: 2
categories:
- SSSDetectiveWearables
conditions:
- !type:ListingLimitedStockCondition
stock: 1
15 changes: 15 additions & 0 deletions Resources/Prototypes/_SSS/Objects/store_items.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,18 @@
reagents:
- ReagentId: Water
Quantity: 30

- type: entity
name: Armour Upgrade Kit
parent: [BaseItem, BaseSyndicateContraband]
id: ClothingOuterVestWebMercSuspicionUpgradeKit
description: An armour upgrade kit. Use on your armour to upgrade the protection. Armour will drop if equipped!
components:
- type: Sprite
sprite: Objects/Misc/module.rsi
state: abductor_mod # temp - new item might be better but for now this will work
- type: Item
size: Small
- type: Tag
tags:
- ClothingOuterVestWebMercSuspicionUpgradeKit
32 changes: 32 additions & 0 deletions Resources/Prototypes/_SSS/Objects/suspicion_clothing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,38 @@
- type: entity
parent: ClothingOuterVestWebMerc
id: ClothingOuterVestWebMercSuspicion
suffix: SSS
components:
- type: Armor
modifiers:
coefficients:
Blunt: 0.9 # 30% to 10% resistance, Blunt and Slash are underused damage types, increased viability for Melee
Slash: 0.9
Piercing: 0.7 # 50% to 30% resistance, giving a path for upgradable armour. Fine tune this value as it could be 20% instead.
Heat: 0.9
- type: ExplosionResistance
damageCoefficient: 0.9 # Leaving this incase we want to modify it.
- type: Construction
graph: UpgradeClothingOuterVestWebMercSuspicion
node: start

- type: entity
parent: ClothingOuterVestWebMercSuspicion
id: ClothingOuterVestWebMercSuspicionUpgraded
suffix: SSS-Upgraded
components:
- type: Armor
modifiers:
coefficients:
Blunt: 0.9
Slash: 0.9
Piercing: 0.5 # 30% back to 50%, weaker to the base game bulletproofvest
Heat: 0.9
- type: ExplosionResistance
damageCoefficient: 0.8 # 10% to 20%, equivilent to the base game bulletproofvest
- type: Construction
graph: UpgradeClothingOuterVestWebMercSuspicion
node: upgraded

- type: entity
parent: HoPIDCard
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: constructionGraph
id: UpgradeClothingOuterVestWebMercSuspicion
start: start
graph:
- node: start
edges:
- to: upgraded
steps:
- tag: ClothingOuterVestWebMercSuspicionUpgradeKit
doAfter: 4

- node: upgraded
entity: ClothingOuterVestWebMercSuspicionUpgraded
2 changes: 2 additions & 0 deletions Resources/Prototypes/_SSS/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- type: Tag
id: ClothingOuterVestWebMercSuspicionUpgradeKit
Loading