Smoking pipe new (#823)

* pipe

* fix delayed smoke ignition

* sage

---------

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
Co-authored-by: Ed <edwardxperia2000@gmail.com>
This commit is contained in:
Nim
2025-02-05 16:44:34 +02:00
committed by GitHub
parent 5e80f98242
commit bf46e6b5e8
17 changed files with 226 additions and 4 deletions

View File

@@ -0,0 +1,64 @@
- type: entity
id: CP14SmokingPipe
parent: BaseSmokingPipe
name: pipe
description: A comfortable and practical smoking pipe, the latest fashion in the Empire.
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Objects/Consumable/Smokeables/Pipes/pipe.rsi
state: unlit-icon
- type: Clothing
sprite: _CP14/Objects/Consumable/Smokeables/Pipes/pipe.rsi
slots: [ mask ]
equippedPrefix: unlit
- type: Item
size: Tiny
sprite: _CP14/Objects/Consumable/Smokeables/Pipes/pipe.rsi
- type: Appearance
- type: BurnStateVisuals
unlitIcon: unlit-icon
- type: entity
id: CP14SmokingPipeFilledTobacco
parent: CP14SmokingPipe
suffix: Tobacco
categories: [ ForkFiltered ]
components:
- type: ContainerContainer
containers:
bowl_slot: !type:ContainerSlot
- type: ItemSlots
- type: SmokingPipe
bowl_slot:
name: smoking-pipe-slot-component-slot-name-bowl
startingItem: CP14GroundTobacco
whitelist:
tags:
- Smokable
insertSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg
ejectSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg
- type: entity
id: CP14SmokingPipeFilledSage
parent: CP14SmokingPipe
suffix: Sage
categories: [ ForkFiltered ]
components:
- type: ContainerContainer
containers:
bowl_slot: !type:ContainerSlot
- type: ItemSlots
- type: SmokingPipe
bowl_slot:
name: smoking-pipe-slot-component-slot-name-bowl
startingItem: CP14GroundSage
whitelist:
tags:
- Smokable
insertSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg
ejectSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg

View File

@@ -0,0 +1,45 @@
- type: entity
name: ground tobacco
parent: BaseItem
id: CP14GroundTobacco
description: Grinded and dried tabac leaves, some like it is a cur.
categories: [ ForkFiltered ]
components:
- type: Item
size: Tiny
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: Nicotine
Quantity: 10
- type: Sprite
sprite: _CP14/Objects/Misc/reagent_fillings.rsi
state: tobacco_small
- type: Tag
tags:
- Smokable
- type: entity
name: ground sage
parent: BaseItem
id: CP14GroundSage
description: Ground and dried sage root as it turns out is an excellent substitute for tobacco.
categories: [ ForkFiltered ]
components:
- type: Item
size: Tiny
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: THC
Quantity: 8
- ReagentId: Happiness
Quantity: 2
- type: Sprite
sprite: _CP14/Objects/Misc/reagent_fillings.rsi
state: sage_powder
- type: Tag
tags:
- Smokable

View File

@@ -94,5 +94,6 @@
- type: entity
parent: CP14Torch
id: CP14TorchIgnited
suffix: Ignited
components:
- type: CP14AutoIgnite
- type: CP14AutoIgnite

View File

@@ -497,6 +497,12 @@
back:
- CP14Torch
- type: loadout
id: CP14Pipe
storage:
back:
- CP14SmokingPipeFilledTobacco
- type: loadout
id: CP14LyraInstrument
storage: