From: Ubaser <134914314+UbaserB@users.noreply.github.com> Date: Sun, 7 Jan 2024 01:06:15 +0000 (+1100) Subject: Add trench coats (#23563) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=94d4d22f2dee9d930f8bc9b297f446737eeb9a67;p=space-station-14.git Add trench coats (#23563) --- diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/winterdrobe.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/winterdrobe.yml index 94d9e64703..0f8c73dac3 100644 --- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/winterdrobe.yml +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/winterdrobe.yml @@ -9,11 +9,12 @@ ClothingNeckScarfStripedLightBlue: 3 ClothingNeckScarfStripedOrange: 3 ClothingNeckScarfStripedPurple: 3 + ClothingOuterCoatTrench: 6 ClothingOuterWinterCoat: 6 + ClothingShoesBootsWinter: 6 ClothingOuterFlannelRed: 2 ClothingOuterFlannelBlue: 2 ClothingOuterFlannelGreen: 2 - ClothingShoesBootsWinter: 6 ClothingOuterCoatBomber: 3 ClothingHeadHatSantahat: 2 ClothingHeadHatXmasCrown: 2 diff --git a/Resources/Prototypes/Entities/Clothing/OuterClothing/coats.yml b/Resources/Prototypes/Entities/Clothing/OuterClothing/coats.yml index c54b4ac46f..f92e533a89 100644 --- a/Resources/Prototypes/Entities/Clothing/OuterClothing/coats.yml +++ b/Resources/Prototypes/Entities/Clothing/OuterClothing/coats.yml @@ -87,6 +87,32 @@ - type: ToggleableClothing clothingPrototype: ClothingHeadHatHoodChaplainHood +- type: entity + parent: ClothingOuterStorageBase + id: ClothingOuterCoatTrench + name: trench coat + description: A comfy trench coat. + components: + - type: Sprite + sprite: Clothing/OuterClothing/Coats/trenchcoat.rsi + - type: Clothing + sprite: Clothing/OuterClothing/Coats/trenchcoat.rsi + - type: TemperatureProtection + coefficient: 0.1 + - type: Armor + modifiers: + coefficients: + Slash: 0.95 + - type: Food + requiresSpecialDigestion: true + - type: SolutionContainerManager + solutions: + food: + maxVol: 20 + reagents: + - ReagentId: Fiber + Quantity: 20 + - type: entity parent: ClothingOuterStorageBase id: ClothingOuterCoatLab diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/equipped-OUTERCLOTHING.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/equipped-OUTERCLOTHING.png new file mode 100644 index 0000000000..c30c8902f8 Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/equipped-OUTERCLOTHING.png differ diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon-open.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon-open.png new file mode 100644 index 0000000000..6f17e306e9 Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon-open.png differ diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon.png new file mode 100644 index 0000000000..059e7c4412 Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/icon.png differ diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-left.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-left.png new file mode 100644 index 0000000000..3a84ff3c84 Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-left.png differ diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-right.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-right.png new file mode 100644 index 0000000000..7cea94fe1c Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/inhand-right.png differ diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/meta.json b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/meta.json new file mode 100644 index 0000000000..4028e552d3 --- /dev/null +++ b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/meta.json @@ -0,0 +1,41 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from paradise at commit https://github.com/ParadiseSS13/Paradise/pull/19491/commits/e9a900022ca1cf0fed0e320c7a0cce500287ab99", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "icon-open" + }, + { + "name": "equipped-OUTERCLOTHING", + "directions": 4 + }, + { + "name": "open-equipped-OUTERCLOTHING", + "directions": 4 + }, + { + "name": "inhand-left", + "directions": 4 + }, + { + "name": "inhand-right", + "directions": 4 + }, + { + "name": "open-inhand-left", + "directions": 4 + }, + { + "name": "open-inhand-right", + "directions": 4 + } + ] +} diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-equipped-OUTERCLOTHING.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-equipped-OUTERCLOTHING.png new file mode 100644 index 0000000000..1480211fc4 Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-equipped-OUTERCLOTHING.png differ diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-left.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-left.png new file mode 100644 index 0000000000..4567c6908c Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-left.png differ diff --git a/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-right.png b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-right.png new file mode 100644 index 0000000000..f8a0ce35f7 Binary files /dev/null and b/Resources/Textures/Clothing/OuterClothing/Coats/trenchcoat.rsi/open-inhand-right.png differ