Smokeable Tweaks (#5611)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Pancake
2021-12-15 02:07:58 -08:00
committed by GitHub
parent eb84939735
commit 2180c26122
7 changed files with 134 additions and 38 deletions

View File

@@ -10,3 +10,4 @@
CigPackBlack: 2
CigarCase: 1
Matchbox: 5
PackPaperRollingFilters: 3

View File

@@ -1,28 +0,0 @@
- type: entity
id: Rollie
parent: BaseCigar
name: blunt
description: A roll of dried plant matter wrapped in thin paper.
components:
- type: Sprite
sprite: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi
netsync: false
state: unlit-icon
- type: Tag
tags:
- Cigarette
- type: Clothing
sprite: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi
Slots: [ mask ]
HeldPrefix: unlit
size: 1
- type: Construction
graph: smokeableRollie
node: rollie
- type: SolutionContainerManager
solutions:
smokable:
maxVol: 20
reagents:
- ReagentId: THC
Quantity: 10

View File

@@ -0,0 +1,57 @@
- type: entity
id: Joint
parent: BaseCigar
name: joint
description: A roll of dried plant matter wrapped in thin paper.
components:
- type: Sprite
sprite: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi
netsync: false
state: unlit-icon
- type: Tag
tags:
- Cigarette
- type: Clothing
sprite: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi
Slots: [ mask ]
HeldPrefix: unlit
size: 1
- type: Construction
graph: smokeableJoint
node: joint
- type: SolutionContainerManager
solutions:
smokable:
maxVol: 20
reagents:
- ReagentId: THC
Quantity: 10
- type: entity
id: Blunt
parent: BaseCigar
name: blunt
description: A roll of dried plant matter wrapped in a dried tobacco leaf.
components:
- type: Sprite
sprite: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi
netsync: false
state: unlit-icon
- type: Tag
tags:
- Cigarette
- type: Clothing
sprite: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi
Slots: [ mask ]
HeldPrefix: unlit
size: 1
- type: Construction
graph: smokeableBlunt
node: blunt
- type: SolutionContainerManager
solutions:
smokable:
maxVol: 20
reagents:
- ReagentId: THC
Quantity: 10

View File

@@ -8,6 +8,7 @@
whitelist:
tags:
- RollingPaper
- CigFilter
capacity: 16
- type: StorageFill
contents:
@@ -19,6 +20,25 @@
- type: Item
sprite: Objects/Consumable/Smokeables/Cigarettes/paper.rsi
- type: entity
parent: PackPaperRolling
name: pack of rolling paper with filters
id: PackPaperRollingFilters
description: A pack of filters and thin pieces of paper used to make fine smokeables.
components:
- type: Storage
whitelist:
tags:
- RollingPaper
- CigFilter
capacity: 32
- type: StorageFill
contents:
- id: PaperRolling
amount: 8
- id: CigaretteFilter
amount: 8
- type: entity
id: PaperRolling
name: rolling paper
@@ -54,3 +74,7 @@
state: cigfilter
- type: Item
sprite: Objects/Consumable/Smokeables/Cigarettes/paper.rsi
size: 2
- type: Tag
tags:
- CigFilter

View File

@@ -1,10 +1,10 @@
- type: constructionGraph
id: smokeableRollie
- type: constructionGraph
id: smokeableJoint
start: start
graph:
- node: start
edges:
- to: rollie
- to: joint
steps:
- prototype: PaperRolling
icon:
@@ -23,8 +23,36 @@
# color: darkgreen
name: ground cannabis
doAfter: 2
- node: rollie
entity: Rollie
- node: joint
entity: Joint
- type: constructionGraph
id: smokeableBlunt
start: start
graph:
- node: start
edges:
- to: blunt
steps:
- prototype: LeavesTobaccoDried
icon:
sprite: Objects/Specific/Hydroponics/tobacco.rsi
state: dried
name: dried tobacco leaves
- prototype: CigaretteFilter
icon:
sprite: Objects/Consumable/Smokeables/Cigarettes/paper.rsi
state: cigfilter
name: cigarette filter
- prototype: GroundCannabis
icon:
sprite: Objects/Misc/reageant_fillings.rsi
state: powderpile
# color: darkgreen
name: ground cannabis
doAfter: 2
- node: blunt
entity: Blunt
- type: constructionGraph
id: smokeableCigarette

View File

@@ -1,14 +1,25 @@
- type: construction
name: rollie
id: smokeableRollie
graph: smokeableRollie
- type: construction
name: joint
id: smokeableJoint
graph: smokeableJoint
startNode: start
targetNode: rollie
targetNode: joint
category: Misc
description: "A roll of dried plant matter wrapped in thin paper."
icon: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi/unlit-icon.png
objectType: Item
- type: construction
name: blunt
id: smokeableBlunt
graph: smokeableBlunt
startNode: start
targetNode: blunt
category: Misc
description: "A roll of dried plant matter wrapped in a dried tobacco leaf."
icon: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi/unlit-icon.png
objectType: Item
- type: construction
name: cigarette
id: smokeableCigarette

View File

@@ -39,6 +39,9 @@
- type: Tag
id: CaptainSabre
- type: Tag
id: CigFilter
- type: Tag
id: CigPack