Various Headphones Fixes and Tweaks (#38479)
* sprites, wearables * neck * icon-on sprite
@@ -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
@@ -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
|
||||
|
||||
BIN
Resources/Textures/Clothing/Multiple/headphones.rsi/icon-on.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Resources/Textures/Clothing/Multiple/headphones.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 487 B |
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 508 B |
175
Resources/Textures/Clothing/Multiple/headphones.rsi/meta.json
Normal file
@@ -0,0 +1,175 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da, icon, inhand-left and inhand-right edited by Boaz1111 (github), on-equipped-NECK renamed to on-equipped-HEAD and on-equipped-EARS, off-equipped-NECK renamed to off-equipped-HEAD and off-equipped-EARS by Boaz1111 (github), icon-on made by TiniestShark (github) based on icon, on-equipped-NECK and off-equipped-NECK made by TiniestShark (github).",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "on-equipped-HELMET",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "off-equipped-HELMET",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "on-equipped-EARS",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "off-equipped-EARS",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "on-equipped-NECK",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "off-equipped-NECK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "icon-on",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 273 B |
|
After Width: | Height: | Size: 273 B |
|
After Width: | Height: | Size: 374 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 176 B |
|
Before Width: | Height: | Size: 176 B |
|
Before Width: | Height: | Size: 329 B |
|
Before Width: | Height: | Size: 329 B |
@@ -1,71 +0,0 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "on-equipped-NECK",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "off-equipped-NECK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "icon-on"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -681,3 +681,6 @@ BarSignEmprahAlignTile: BarSignEmprah
|
||||
BarSignSpacebucksAlignTile: BarSignSpacebucks
|
||||
BarSignMaltroachAlignTile: BarSignMaltroach
|
||||
BarSignWhiskeyEchoesAlignTile: BarSignWhiskeyEchoes
|
||||
|
||||
# 2025-06-21
|
||||
ClothingNeckHeadphones: ClothingMultipleHeadphones
|
||||
|
||||