Various Headphones Fixes and Tweaks (#38479)
* sprites, wearables * neck * icon-on sprite
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
ClothingNeckScarfStripedTrans: 2
|
||||
ClothingHeadHatXmasCrown: 2
|
||||
BedsheetRainbow: 2
|
||||
ClothingNeckHeadphones: 2
|
||||
ClothingMultipleHeadphones: 2
|
||||
ClothingHeadHatFlowerWreath: 2
|
||||
ClothingUniformColorRainbow: 2
|
||||
ClothingUnderSocksCoder: 2
|
||||
|
||||
40
Resources/Prototypes/Entities/Clothing/Multiple/misc.yml
Normal file
40
Resources/Prototypes/Entities/Clothing/Multiple/misc.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
- type: entity
|
||||
parent: Clothing
|
||||
id: ClothingMultipleHeadphones
|
||||
name: headphones
|
||||
description: Quality headphones from Drunk Masters, with good sound insulation.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Multiple/headphones.rsi
|
||||
layers:
|
||||
- state: icon
|
||||
map: [ "enum.ToggleableVisuals.Layer" ]
|
||||
- type: Clothing
|
||||
equippedPrefix: off
|
||||
sprite: Clothing/Multiple/headphones.rsi
|
||||
slots:
|
||||
- HEAD
|
||||
- EARS
|
||||
- NECK
|
||||
- type: ToggleableVisuals
|
||||
spriteLayer: enum.ToggleableVisuals.Layer
|
||||
clothingVisuals:
|
||||
head:
|
||||
- state: on-equipped-HELMET
|
||||
ears:
|
||||
- state: on-equipped-EARS
|
||||
neck:
|
||||
- state: on-equipped-NECK
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.ToggleableVisuals.Enabled:
|
||||
enum.ToggleableVisuals.Layer:
|
||||
True: {state: icon-on}
|
||||
False: {state: icon}
|
||||
- type: ItemToggle
|
||||
predictable: false
|
||||
soundActivate:
|
||||
path: /Audio/Items/flashlight_on.ogg
|
||||
soundDeactivate:
|
||||
path: /Audio/Items/flashlight_off.ogg
|
||||
@@ -1,36 +1,3 @@
|
||||
- type: entity
|
||||
parent: ClothingNeckBase
|
||||
id: ClothingNeckHeadphones
|
||||
name: headphones
|
||||
description: Quality headphones from Drunk Masters, with good sound insulation.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Neck/Misc/headphones.rsi
|
||||
layers:
|
||||
- state: icon
|
||||
map: [ "enum.ToggleableVisuals.Layer" ]
|
||||
- type: Clothing
|
||||
equippedPrefix: off
|
||||
sprite: Clothing/Neck/Misc/headphones.rsi
|
||||
- type: ToggleableVisuals
|
||||
spriteLayer: enum.ToggleableVisuals.Layer
|
||||
clothingVisuals:
|
||||
neck:
|
||||
- state: on-equipped-NECK
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.ToggleableVisuals.Enabled:
|
||||
enum.ToggleableVisuals.Layer:
|
||||
True: {state: icon-on}
|
||||
False: {state: icon}
|
||||
- type: ItemToggle
|
||||
predictable: false
|
||||
soundActivate:
|
||||
path: /Audio/Items/flashlight_on.ogg
|
||||
soundDeactivate:
|
||||
path: /Audio/Items/flashlight_off.ogg
|
||||
|
||||
- type: entity
|
||||
parent: Clothing
|
||||
id: ClothingNeckStethoscope
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
- id: ClothingHeadHatPaper
|
||||
- id: ClothingHeadHatPirate
|
||||
- id: ClothingMaskSterile
|
||||
- id: ClothingNeckHeadphones
|
||||
- id: ClothingMultipleHeadphones
|
||||
- id: ClothingNeckTieRed
|
||||
- id: ClothingOuterCoatGentle
|
||||
- !type:AllSelector
|
||||
|
||||
@@ -241,7 +241,7 @@
|
||||
- id: ClothingHeadHatAnimalHeadslime
|
||||
prob: 0.03
|
||||
orGroup: dresserthirdloot
|
||||
- id: ClothingNeckHeadphones
|
||||
- id: ClothingMultipleHeadphones
|
||||
prob: 0.03
|
||||
orGroup: dresserthirdloot
|
||||
- id: ClothingUnderSocksCoder
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
id: Headphones
|
||||
storage:
|
||||
back:
|
||||
- ClothingNeckHeadphones
|
||||
- ClothingMultipleHeadphones
|
||||
|
||||
# Toys
|
||||
- type: loadout
|
||||
|
||||
@@ -31,6 +31,6 @@
|
||||
equipment:
|
||||
head: ClothingHeadHatTophat
|
||||
mask: ClothingMaskBreath
|
||||
neck: ClothingNeckHeadphones
|
||||
neck: ClothingMultipleHeadphones
|
||||
outerClothing: ClothingOuterWinterMusician
|
||||
gloves: ClothingHandsGlovesColorBlack
|
||||
|
||||
Reference in New Issue
Block a user