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

Add default whistle + whistles reorganize #27676

Merged
merged 6 commits into from
May 5, 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
30 changes: 19 additions & 11 deletions Resources/Prototypes/Entities/Objects/Fun/whistles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
description: Someone forgot to turn off kettle?
components:
- type: Item
sprite: Objects/Fun/whistles.rsi
size: Tiny
- type: Sprite
sprite: Objects/Fun/whistles.rsi
- type: Clothing
sprite: Objects/Fun/whistles.rsi
quickEquip: false
slots: neck
- type: UseDelay
Expand All @@ -16,18 +20,26 @@
sound:
collection: BaseWhistle
- type: Whistle
distance: 5
distance: 3

- type: entity
parent: BaseWhistle
id: Whistle
components:
- type: Sprite
state: whistle

- type: entity
parent: BaseWhistle
id: SecurityWhistle
description: Sound of it make you feel fear.
components:
- type: Sprite
sprite: Objects/Fun/whistle.rsi
state: securityWhistle
- type: Item
sprite: Objects/Fun/whistle.rsi
state: sec
- type: Clothing
equippedPrefix: sec
- type: Whistle
distance: 5

- type: entity
parent: BaseWhistle
Expand All @@ -36,13 +48,9 @@
description: A whistle used by Syndicate commanders to draw attention. Avanti!
components:
- type: Sprite
sprite: Clothing/Neck/Misc/whistles.rsi
state: icon
state: trench
- type: Clothing
sprite: Clothing/Neck/Misc/whistles.rsi
quickEquip: False
slots:
- neck
equippedPrefix: trench
- type: EmitSoundOnUse
sound:
collection: TrenchWhistle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
- PlushiePenguin
- PlushieHuman
- ClothingHeadHatCowboyRed
- Whistle
- type: WiresPanel
- type: Wires
layoutId: Arcade
Expand Down
19 changes: 0 additions & 19 deletions Resources/Textures/Clothing/Neck/Misc/whistles.rsi/meta.json

This file was deleted.

14 changes: 0 additions & 14 deletions Resources/Textures/Objects/Fun/whistle.rsi/meta.json

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions Resources/Textures/Objects/Fun/whistles.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "sec and whistle made by Foleps (discord), trench by Firewatchin (discord)",
"size": {
"x": 32,
"y": 32
},

"states": [
{
"name": "equipped-NECK",
"directions": 4
},
{
"name": "whistle"
},
{
"name": "sec-equipped-NECK",
"directions": 4
},
{
"name": "sec"
},
{
"name": "trench-equipped-NECK",
"directions": 4
},
{
"name": "trench"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading