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