From 9b8441ffa8030fc2b907358dc995cf0a77299013 Mon Sep 17 00:00:00 2001
From: SimpleStation14 <130339894+SimpleStation14@users.noreply.github.com>
Date: Sun, 5 May 2024 14:52:23 -0700
Subject: [PATCH] Mirror: Added cheap sunglasses into ClothesMate (#209)
## Mirror of PR #25479: [Added cheap sunglasses into
ClothesMate](https://github.com/space-wizards/space-station-14/pull/25479)
from
[space-wizards](https://github.com/space-wizards)/[space-station-14](https://github.com/space-wizards/space-station-14)
###### `d370f16e04fc12c8fa2b89c41c3fce12225334b4`
PR opened by shampunj at
2024-02-22 21:58:13 UTC
---
PR changed 3 files with 15 additions and 7 deletions.
The PR had the following labels:
- No C#
- Status: Needs Review
- Merge Conflict
---
Original Body
>
>
>
> ## About the PR
>
> Added cheap sunglasses that wasnt protect against flashing into
ClothesMate
>
> ## Why / Balance
>
> To replace removed regular sunglasses in ClothesMate
https://github.com/space-wizards/space-station-14/pull/25221
> ## Technical details
>
> n/a
> ## Media
>
>
> - [X] I have added screenshots/videos to this PR showcasing its
changes ingame, **or** this PR does not require an ingame showcase
>
![Screenshot_53](https://github.com/space-wizards/space-station-14/assets/140359015/7799a6e3-45e5-4b1b-b403-7c8675ec1b3b)
>
![Screenshot_54](https://github.com/space-wizards/space-station-14/assets/140359015/5d48f59f-8b62-4874-bb66-6a7c582ac213)
>
>
> ## Breaking changes
>
>
> **Changelog**
>
>
>
> - add: Added cheap sunglasses that wasnt protect against flashing into
ClothesMate
>
---------
Co-authored-by: SimpleStation14
Co-authored-by: VMSolidus
---
.../Catalog/Cargo/cargo_vending.yml | 4 ++--
.../Inventories/clothesmate.yml | 1 +
.../Entities/Clothing/Eyes/glasses.yml | 19 +++++++++++++------
3 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml b/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml
index 6287710182a..2165fb4e585 100644
--- a/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml
+++ b/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml
@@ -33,8 +33,8 @@
sprite: Objects/Specific/Service/vending_machine_restock.rsi
state: base
product: CrateVendingMachineRestockClothesFilled
- cost: 7250 #DeltaV
- category: Service
+ cost: 7245
+ category: cargoproduct-category-name-service
group: market
- type: cargoProduct
diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/clothesmate.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/clothesmate.yml
index 8f40ce99de2..1dbc412a9c8 100644
--- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/clothesmate.yml
+++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/clothesmate.yml
@@ -100,6 +100,7 @@
ClothingHandsGlovesColorGreen: 2
ClothingHandsGlovesColorOrange: 2
ClothingHandsGlovesColorPurple: 2
+ ClothingEyesGlassesCheapSunglasses: 3
contrabandInventory:
ClothingMaskNeckGaiter: 2
ClothingUniformJumpsuitTacticool: 1
diff --git a/Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml b/Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml
index 79446d8633e..9af8edb0028 100644
--- a/Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml
+++ b/Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml
@@ -129,17 +129,14 @@
- type: entity
parent: ClothingEyesBase
- id: ClothingEyesGlassesSunglasses
- name: sun glasses
- description: A pair of black sunglasses.
+ id: ClothingEyesGlassesCheapSunglasses
+ name: cheap sunglasses
+ description: A pair of black sunglasses. Doesn't block light well, more of an accessory than something useful.
components:
- type: Sprite
sprite: Clothing/Eyes/Glasses/sunglasses.rsi
- type: Clothing
sprite: Clothing/Eyes/Glasses/sunglasses.rsi
- - type: FlashImmunity
- - type: EyeProtection
- protectionTime: 5
- type: Tag
tags:
- HamsterWearable
@@ -148,6 +145,16 @@
- type: IdentityBlocker
coverage: EYES
+- type: entity
+ parent: ClothingEyesGlassesCheapSunglasses
+ id: ClothingEyesGlassesSunglasses
+ name: sun glasses
+ description: A pair of black sunglasses.
+ components:
+ - type: FlashImmunity
+ - type: EyeProtection
+ protectionTime: 5
+
- type: entity
parent: ClothingEyesBase
id: ClothingEyesGlassesSecurity