Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Pipe tobacco pouches (new-frontiers-14#1997)
Browse files Browse the repository at this point in the history
* initial

* more

* whiff to shady's

* fixes

* minor cleanup

* whatstones sweet dreams

* Less psicodine spam, better msgs (not happiness)

* Fix sweet dreams colour

* Remove brown base color for fungal whiff sprite

---------

Co-authored-by: Whatstone <[email protected]>
  • Loading branch information
ErhardSteinhauer and whatston3 authored Sep 14, 2024
1 parent 9096638 commit 505616e
Show file tree
Hide file tree
Showing 22 changed files with 534 additions and 29 deletions.
1 change: 1 addition & 0 deletions Resources/Locale/en-US/_NF/flavors/flavor-profiles.ftl
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
flavor-base-basic = basic
flavor-base-earthy = earthy
5 changes: 5 additions & 0 deletions Resources/Locale/en-US/_NF/reagents/meta/narcotics.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
reagent-name-rock-dust = rock dust
reagent-desc-rock-dust = A blend of finely pulverized rock minerals suspended in water, presents a murky, earth-toned liquid.
reagent-name-shroom-mix = shroom mix
reagent-desc-shroom-mix = A blend of cut, chewed and ground partially dried shrooms, suspended in mopwata.
3 changes: 3 additions & 0 deletions Resources/Locale/en-US/_NF/reagents/psicodine.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
psicodine-effect-nf-calm = You feel calm and at ease.
psicodine-effect-nf-no-stress = You feel your stress lifting away.
psicodine-effect-nf-everything-is-fine = Everything will be fine.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@
PackPaperRollingFilters: 8
CheapLighter: 6
NFAshtray: 4
SmokingPipe: 4 # Frontier
TobaccoPouchBrownFilled: 2 # Frontier
TobaccoPouchBlueFilled: 2 # Frontier
TobaccoPouchPurpleFilled: 2 # Frontier
contrabandInventory: # Frontier
TobaccoPouchRedFilled: 2 # Frontier
emaggedInventory:
CigPackSyndicate: 4
7 changes: 5 additions & 2 deletions Resources/Prototypes/Reagents/medicine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1295,10 +1295,13 @@
type: Local
visualType: Medium
messages:
- "psicodine-effect-fearless"
# - "psicodine-effect-fearless" # Frontier
- "psicodine-effect-anxieties-wash-away"
- "psicodine-effect-at-peace"
probability: 0.2
- "psicodine-effect-nf-calm" # Frontier
- "psicodine-effect-nf-no-stress" # Frontier
- "psicodine-effect-nf-everything-is-fine" # Frontier
probability: 0.1 # Frontier: 0.2<0.1

- type: reagent
id: PotassiumIodide
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
- type: entity
id: TobaccoPouchBase
name: tobacco pouch
parent: [ BaseStorageItem, BaseBagOpenClose, RecyclableItemClothSmall ]
description: A synth-leather pouch for safe storing pipe tobacco.
#abstract: true
components:
- type: Sprite
sprite: _NF/Objects/Consumable/Smokeables/Pipes/tobacco_pouch.rsi
layers:
- state: closed
color: "#8a4f23" # brown
- state: open
color: "#8a4f23"
map: ["openLayer"]
visible: false
- state: label
- type: Item
size: Small
shape:
- 0,0,0,1
inhandVisuals:
left:
- state: inhand-left
color: "#8a4f23"
right:
- state: inhand-right
color: "#8a4f23"
- type: Clothing
slots: [belt]
sprite: _NF/Objects/Consumable/Smokeables/Pipes/tobacco_pouch.rsi
clothingVisuals:
belt:
- state: equipped-BELT
color: "#8a4f23"
- type: Tag
tags:
- CigPack
- Trash
- type: SpaceGarbage
- type: Storage
maxItemSize: Small
grid:
- 0,0,1,1
- type: StorageFill
contents:
- id: GroundTobacco
amount: 10 # 2 stacks of 5, leaves 2 slots for pipe and lighter
- type: StaticPrice
price: 50

# Filled
- type: entity
id: TobaccoPouchBrownFilled
name: |-
"Galaxy Core Blend" pouch
parent: TobaccoPouchBase
description: A fiery collection of exotic tobaccos, each leaf coated with preserving agent. Should you wash it off before smoking?
suffix: Filled
components:
- type: StorageFill
contents:
- id: GroundTobacco
amount: 10

- type: entity
id: TobaccoPouchBlueFilled
name: |-
"Stonecut Leaf" pouch
parent: TobaccoPouchBase
description: A label on the packaging proudly declares that the pipe-weed is mixed with the finest dust of rarest minerals, the list of minerals occupies most of the label space.
suffix: Filled
components:
- type: Sprite
layers:
- state: closed
color: "#00d7ff" # blue(ish)
- state: open
color: "#00d7ff"
map: ["openLayer"]
visible: false
- state: label
color: "yellow"
- type: Item
inhandVisuals:
left:
- state: inhand-left
color: "#00d7ff"
right:
- state: inhand-right
color: "#00d7ff"
- type: Clothing
clothingVisuals:
belt:
- state: equipped-BELT
color: "#00d7ff"
- type: StorageFill
contents:
- id: GroundTobaccoStonecut
amount: 10

- type: entity
id: TobaccoPouchRedFilled
name: |-
"Fungal Whiff" pouch
parent: TobaccoPouchBase
description: Grown deep within the mushroom forests, Fungal Whiff offers a mellow, earthy smoke that's perfect for those contemplative moments spent plotting the next heist.
suffix: Filled
components:
- type: Sprite
layers:
- state: closed
color: "#07ff00" # green(ish)
- state: open
color: "#07ff00"
map: ["openLayer"]
visible: false
- state: label
color: "#ff0000" # red(ish)
- type: Item
inhandVisuals:
left:
- state: inhand-left
color: "#07ff00"
right:
- state: inhand-right
color: "#07ff00"
- type: Clothing
clothingVisuals:
belt:
- state: equipped-BELT
color: "#07ff00"
- type: StorageFill
contents:
- id: GroundTobaccoShrooms
amount: 10

- type: entity
id: TobaccoPouchPurpleFilled
name: |-
"Sweet Dreams" pouch
parent: TobaccoPouchBase
description: This tobacco pouch advertises its smokers being "blessed with cozy, restful sleeps", whatever that means.
suffix: Filled
components:
- type: Sprite
layers:
- state: closed
color: "#bd66bd" # lightish purple
- state: open
color: "#bd66bd"
map: ["openLayer"]
visible: false
- state: label
color: "#77bbff" # turns into a grey
- type: Item
inhandVisuals:
left:
- state: inhand-left
color: "#bd66bd"
right:
- state: inhand-right
color: "#bd66bd"
- type: Clothing
clothingVisuals:
belt:
- state: equipped-BELT
color: "#bd66bd"
- type: StorageFill
contents:
- id: GroundTobaccoDrowsy
amount: 10
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@

# Stonecut
- type: entity
id: GroundTobaccoStonecut
name: stonecut tobacco
parent: GroundTobacco
description: "Fine cut leaves, perfect for pipes."
components:
- type: Stack
stackType: GroundTobaccoStonecut
count: 1
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: Nicotine
Quantity: 15
- ReagentId: FineRockDust
Quantity: 15
- type: Sprite
sprite: Objects/Misc/reagent_fillings.rsi
state: powderpile
color: "#5f4d2e"

# Shrooms
- type: entity
name: dried shrooms
parent: BaseItem
id: ShroomsDried
description: "Dried shrooms, ready to be ground."
components:
- type: Stack
stackType: ShroomsDried
count: 1
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: THC
Quantity: 12
- type: Sprite
layers:
- sprite: Objects/Specific/Hydroponics/fly_amanita.rsi
state: produce
offset: -0.2,0.1
color: "#cb7b18"
- sprite: Objects/Misc/spaceshroom.rsi
state: spaceshroom_cooked
- sprite: Objects/Specific/Hydroponics/chanterelle.rsi
state: produce
offset: 0.15,-0.1
color: "#cb7b18"
- type: Construction
graph: smokeableGroundTobaccoShrooms
node: ground

- type: entity
id: GroundTobaccoShrooms
name: fungal whiff tobacco
parent: GroundTobacco
description: "Fine cut dried shrooms. Just perfect."
components:
- type: Stack
stackType: GroundTobaccoShrooms
count: 1
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: Nicotine
Quantity: 15
- ReagentId: ShroomMix
Quantity: 15
- type: Sprite
color: "#ffffff" # reverting the brown from the parent
layers:
- sprite: Objects/Misc/reagent_fillings.rsi
state: powderpile
color: "#b07265"
- sprite: Fluids/wet_floor_sparkles.rsi
state: sparkles
scale: 0.5,0.5
offset: 0.0,-0.1
color: "#748eaf"

# Sweet dreams
- type: entity
id: GroundTobaccoDrowsy
name: sweet dreams tobacco
parent: GroundTobacco
description: "A blend of tobacco ribbons. Feels sticky, smells like an old leather couch."
components:
- type: Stack
stackType: GroundTobaccoDrowsy
count: 1
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: Nicotine
Quantity: 15
- ReagentId: Psicodine
Quantity: 7.5
- ReagentId: Haloperidol
Quantity: 7.5
- type: Sprite
sprite: Objects/Misc/reagent_fillings.rsi
state: powderpile
color: "#a865a0"
Loading

0 comments on commit 505616e

Please sign in to comment.