Add propeller hat & swirl lollipop (#38260)

This commit is contained in:
SlamBamActionman
2025-06-12 03:22:51 +02:00
committed by GitHub
parent a8801e4abf
commit 9a5bd9de6a
15 changed files with 135 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
sprite: Objects/Specific/Service/vending_machine_restock.rsi
state: base
product: CrateVendingMachineRestockClothesFilled
cost: 2480
cost: 2500
category: cargoproduct-category-name-service
group: market

View File

@@ -79,6 +79,7 @@
ClothingHeadHatCorpsoft: 2
ClothingHeadFishCap: 2
ClothingHeadRastaHat: 2
ClothingHeadPropellerHat: 2
ClothingBeltStorageWaistbag: 3
ClothingEyesGlasses: 6
ClothingHandsGlovesColorBlack: 4

View File

@@ -8,4 +8,5 @@
FoodSnackSus: 3
FoodSnackSemki: 3
contrabandInventory:
FoodSnackSwirlLollipop: 2
FoodSnackSyndi: 3

View File

@@ -1316,3 +1316,36 @@
sprite: Clothing/Head/Hats/solidheadband.rsi
- type: Clothing
sprite: Clothing/Head/Hats/solidheadband.rsi
- type: entity
parent: ClothingHeadBase
id: ClothingHeadPropellerHat
name: propeller hat
description: You're the bestest boy.
components:
- type: Sprite
sprite: Clothing/Head/Hats/propellerhat.rsi
layers:
- state: icon
map: [ "enum.ToggleableVisuals.Layer" ]
- type: Clothing
equippedPrefix: off
sprite: Clothing/Head/Hats/propellerhat.rsi
- type: ToggleableVisuals
spriteLayer: enum.ToggleableVisuals.Layer
clothingVisuals:
head:
- state: on-equipped-HELMET
- type: Appearance
- type: GenericVisualizer
visuals:
enum.ToggleableVisuals.Enabled:
enum.ToggleableVisuals.Layer:
True: {state: icon-on}
False: {state: icon}
- type: ItemToggle
predictable: true
soundActivate:
path: /Audio/Items/flashlight_on.ogg
soundDeactivate:
path: /Audio/Items/flashlight_off.ogg

View File

@@ -51,3 +51,4 @@
- id: FoodSnackSemki
- id: FoodSnackSus
- id: FoodSnackSyndi
- id: FoodSnackSwirlLollipop

View File

@@ -520,6 +520,41 @@
- ReagentId: Theobromine
Quantity: 3
- type: entity
name: swirl lollipop
parent: FoodSnackBase
id: FoodSnackSwirlLollipop
description: A swirly circle of pure concentrated sugar. Who's the biggest kid on the playground now?
components:
- type: Sprite
sprite: Objects/Consumable/Food/candy.rsi
state: swirl_lollipop
- type: Item
sprite: Objects/Consumable/Food/candy.rsi
heldPrefix: swirl_lollipop
size: Small
- type: Tag
tags:
- FoodSnack
- ReptilianFood
- type: SolutionContainerManager
solutions:
food:
maxVol: 20 # Room for extra condiments
reagents:
- ReagentId: Sugar
Quantity: 15
- type: FlavorProfile
flavors:
- sweet
- type: MeleeWeapon
wideAnimationRotation: -135
damage:
types:
Blunt: 2
soundHit:
collection: WeakHit
# Trash
- type: entity

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

View File

@@ -0,0 +1,51 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/9bfce7e50375ac0b347c0236aa282de77c001767",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "on-equipped-HELMET",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "icon"
},
{
"name": "icon-on"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24, swirl_lollipop taken from tgstation at https://github.com/tgstation/tgstation/commit/9bfce7e50375ac0b347c0236aa282de77c001767",
"size": {
"x": 32,
"y": 32
@@ -41,6 +41,17 @@
},
{
"name": "orange"
},
{
"name": "swirl_lollipop"
},
{
"name": "swirl_lollipop-inhand-right",
"directions": 4
},
{
"name": "swirl_lollipop-inhand-left",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 B