Fix/improve smokeables (#10497)

This commit is contained in:
Visne
2022-08-14 07:20:31 +02:00
committed by GitHub
parent 7deb22e163
commit 906edc592d
129 changed files with 228 additions and 63 deletions

View File

@@ -5,7 +5,7 @@
description: A roll of dried plant matter wrapped in thin paper. description: A roll of dried plant matter wrapped in thin paper.
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi sprite: Objects/Consumable/Smokeables/Cannabis/joint.rsi
netsync: false netsync: false
state: unlit-icon state: unlit-icon
- type: Tag - type: Tag
@@ -15,7 +15,7 @@
- type: Recyclable - type: Recyclable
- type: SpaceGarbage - type: SpaceGarbage
- type: Clothing - type: Clothing
sprite: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi sprite: Objects/Consumable/Smokeables/Cannabis/joint.rsi
slots: [ mask ] slots: [ mask ]
equippedPrefix: unlit equippedPrefix: unlit
- type: Item - type: Item
@@ -38,7 +38,7 @@
description: A roll of dried plant matter wrapped in a dried tobacco leaf. description: A roll of dried plant matter wrapped in a dried tobacco leaf.
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi sprite: Objects/Consumable/Smokeables/Cannabis/blunt.rsi
netsync: false netsync: false
state: unlit-icon state: unlit-icon
- type: Tag - type: Tag
@@ -48,7 +48,7 @@
- type: Recyclable - type: Recyclable
- type: SpaceGarbage - type: SpaceGarbage
- type: Clothing - type: Clothing
sprite: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi sprite: Objects/Consumable/Smokeables/Cannabis/blunt.rsi
slots: [ mask ] slots: [ mask ]
equippedPrefix: unlit equippedPrefix: unlit
- type: Item - type: Item

View File

@@ -43,12 +43,13 @@
id: PaperRolling id: PaperRolling
name: rolling paper name: rolling paper
description: A thin piece of paper used to make fine smokeables. description: A thin piece of paper used to make fine smokeables.
suffix: Full
parent: BaseItem parent: BaseItem
components: components:
- type: Stack - type: Stack
stackType: PaperRolling stackType: PaperRolling
max: 5 max: 5
count: 1 count: 5
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Smokeables/Cigarettes/paper.rsi sprite: Objects/Consumable/Smokeables/Cigarettes/paper.rsi
state: cigpaper state: cigpaper
@@ -62,16 +63,25 @@
- type: Recyclable - type: Recyclable
- type: SpaceGarbage - type: SpaceGarbage
- type: entity
id: PaperRolling1
suffix: Single
parent: PaperRolling
components:
- type: Stack
count: 1
- type: entity - type: entity
id: CigaretteFilter id: CigaretteFilter
name: cigarette filter name: cigarette filter
description: A strip of firm paper used as a filter for handmade cigarettes. description: A strip of firm paper used as a filter for handmade cigarettes.
suffix: Full
parent: BaseItem parent: BaseItem
components: components:
- type: Stack - type: Stack
stackType: CigaretteFilter stackType: CigaretteFilter
max: 5 max: 5
count: 1 count: 5
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Smokeables/Cigarettes/paper.rsi sprite: Objects/Consumable/Smokeables/Cigarettes/paper.rsi
state: cigfilter state: cigfilter
@@ -83,3 +93,11 @@
- CigFilter - CigFilter
- Trash - Trash
- type: Recyclable - type: Recyclable
- type: entity
id: CigaretteFilter1
suffix: Single
parent: CigaretteFilter
components:
- type: Stack
count: 1

View File

@@ -55,7 +55,7 @@
- ReagentId: THC - ReagentId: THC
Quantity: 10 Quantity: 10
- type: Sprite - type: Sprite
sprite: Objects/Misc/reageant_fillings.rsi sprite: Objects/Misc/reagent_fillings.rsi
state: powderpile state: powderpile
color: darkgreen color: darkgreen
- type: Construction - type: Construction
@@ -110,7 +110,7 @@
- ReagentId: Nicotine - ReagentId: Nicotine
Quantity: 10 Quantity: 10
- type: Sprite - type: Sprite
sprite: Objects/Misc/reageant_fillings.rsi sprite: Objects/Misc/reagent_fillings.rsi
state: powderpile state: powderpile
color: brown color: brown
- type: Construction - type: Construction

View File

@@ -6,22 +6,9 @@
edges: edges:
- to: joint - to: joint
steps: steps:
- prototype: PaperRolling - material: PaperRolling
icon: - material: CigaretteFilter
sprite: Objects/Consumable/Smokeables/Cigarettes/paper.rsi - material: GroundCannabis
state: cigpaper
name: rolling paper
- 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 doAfter: 2
- node: joint - node: joint
entity: Joint entity: Joint
@@ -34,22 +21,8 @@
edges: edges:
- to: blunt - to: blunt
steps: steps:
- prototype: LeavesTobaccoDried - material: LeavesTobaccoDried
icon: - material: GroundCannabis
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 doAfter: 2
- node: blunt - node: blunt
entity: Blunt entity: Blunt
@@ -62,22 +35,9 @@
edges: edges:
- to: cigarette - to: cigarette
steps: steps:
- prototype: PaperRolling - material: PaperRolling
icon: - material: CigaretteFilter
sprite: Objects/Consumable/Smokeables/Cigarettes/paper.rsi - material: GroundTobacco
state: cigpaper
name: rolling paper
- prototype: CigaretteFilter
icon:
sprite: Objects/Consumable/Smokeables/Cigarettes/paper.rsi
state: cigfilter
name: cigarette filter
- prototype: GroundTobacco
icon:
sprite: Objects/Misc/reageant_fillings.rsi
state: powderpile
# color: brown
name: ground tobacco
doAfter: 2 doAfter: 2
- node: cigarette - node: cigarette
entity: Cigarette entity: Cigarette
@@ -107,6 +67,5 @@
- material: LeavesTobaccoDried - material: LeavesTobaccoDried
amount: 2 amount: 2
doAfter: 5 doAfter: 5
- node: ground - node: ground
entity: GroundTobacco entity: GroundTobacco

View File

@@ -6,7 +6,7 @@
targetNode: joint targetNode: joint
category: construction-category-misc category: construction-category-misc
description: "A roll of dried plant matter wrapped in thin paper." description: "A roll of dried plant matter wrapped in thin paper."
icon: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi/unlit-icon.png icon: Objects/Consumable/Smokeables/Cannabis/joint.rsi/unlit-icon.png
objectType: Item objectType: Item
- type: construction - type: construction
@@ -17,7 +17,7 @@
targetNode: blunt targetNode: blunt
category: construction-category-misc category: construction-category-misc
description: "A roll of dried plant matter wrapped in a dried tobacco leaf." description: "A roll of dried plant matter wrapped in a dried tobacco leaf."
icon: Objects/Consumable/Smokeables/Cigarettes/blunt.rsi/unlit-icon.png icon: Objects/Consumable/Smokeables/Cannabis/blunt.rsi/unlit-icon.png
objectType: Item objectType: Item
- type: construction - type: construction
@@ -41,7 +41,7 @@
targetNode: ground targetNode: ground
category: construction-category-misc category: construction-category-misc
description: "Ground cannabis, ready to take you on a trip." description: "Ground cannabis, ready to take you on a trip."
icon: Objects/Misc/reageant_fillings.rsi/powderpile.png icon: Objects/Misc/reagent_fillings.rsi/powderpile.png
# color: darkgreen # color: darkgreen
objectType: Item objectType: Item
@@ -53,6 +53,6 @@
targetNode: ground targetNode: ground
category: construction-category-misc category: construction-category-misc
description: "Ground tobacco, perfect for hand-rolled cigarettes." description: "Ground tobacco, perfect for hand-rolled cigarettes."
icon: Objects/Misc/reageant_fillings.rsi/powderpile.png icon: Objects/Misc/reagent_fillings.rsi/powderpile.png
# color: brown # color: brown
objectType: Item objectType: Item

View File

@@ -17,30 +17,36 @@
- type: stack - type: stack
id: PaperRolling id: PaperRolling
name: paper rolling name: rolling paper
icon: /Textures/Objects/Consumable/Smokeables/Cigarettes/paper.rsi/cigpaper.png
spawn: PaperRolling spawn: PaperRolling
- type: stack - type: stack
id: CigaretteFilter id: CigaretteFilter
name: cigarette filter name: cigarette filter
icon: /Textures/Objects/Consumable/Smokeables/Cigarettes/paper.rsi/cigfilter.png
spawn: CigaretteFilter spawn: CigaretteFilter
- type: stack - type: stack
id: GroundTobacco id: GroundTobacco
name: ground tobacco name: ground tobacco
icon: /Textures/Objects/Misc/reagent_fillings.rsi/powderpile.png
spawn: GroundTobacco spawn: GroundTobacco
- type: stack - type: stack
id: GroundCannabis id: GroundCannabis
name: ground cannabis name: ground cannabis
icon: /Textures/Objects/Misc/reagent_fillings.rsi/powderpile.png
spawn: GroundCannabis spawn: GroundCannabis
- type: stack - type: stack
id: LeavesTobaccoDried id: LeavesTobaccoDried
name: dried tobacco leaves name: dried tobacco leaves
icon: /Textures/Objects/Specific/Hydroponics/tobacco.rsi/dried.png
spawn: LeavesTobaccoDried spawn: LeavesTobaccoDried
- type: stack - type: stack
id: LeavesCannabisDried id: LeavesCannabisDried
name: dried cannabis leaves name: dried cannabis leaves
icon: /Textures/Objects/Specific/Hydroponics/tobacco.rsi/dried.png
spawn: LeavesCannabisDried spawn: LeavesCannabisDried

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1011 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

View File

@@ -0,0 +1,182 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Adapted from tgstation at commit https://github.com/tgstation/tgstation/commit/bfc9c6ba8126ee8c41564d68c4bfb9ce37faa8f8",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "unlit-equipped-MASK",
"directions": 4
},
{
"name": "lit-equipped-MASK",
"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
],
[
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": "burnt-icon"
},
{
"name": "unlit-icon"
},
{
"name": "lit-icon",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "unlit-inhand-left",
"directions": 4
},
{
"name": "unlit-inhand-right",
"directions": 4
},
{
"name": "lit-inhand-left",
"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
],
[
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": "lit-inhand-right",
"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
],
[
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
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

View File

@@ -1,4 +1,4 @@
{ {
"version": 1, "version": 1,
"license": "CC-BY-SA-3.0", "license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/bfc9c6ba8126ee8c41564d68c4bfb9ce37faa8f8", "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/bfc9c6ba8126ee8c41564d68c4bfb9ce37faa8f8",

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

View File

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 123 B

View File

Before

Width:  |  Height:  |  Size: 115 B

After

Width:  |  Height:  |  Size: 115 B

View File

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 123 B

View File

Before

Width:  |  Height:  |  Size: 135 B

After

Width:  |  Height:  |  Size: 135 B

View File

Before

Width:  |  Height:  |  Size: 137 B

After

Width:  |  Height:  |  Size: 137 B

View File

Before

Width:  |  Height:  |  Size: 139 B

After

Width:  |  Height:  |  Size: 139 B

View File

Before

Width:  |  Height:  |  Size: 139 B

After

Width:  |  Height:  |  Size: 139 B

View File

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 147 B

View File

Before

Width:  |  Height:  |  Size: 109 B

After

Width:  |  Height:  |  Size: 109 B

View File

Before

Width:  |  Height:  |  Size: 128 B

After

Width:  |  Height:  |  Size: 128 B

View File

Before

Width:  |  Height:  |  Size: 141 B

After

Width:  |  Height:  |  Size: 141 B

View File

Before

Width:  |  Height:  |  Size: 150 B

After

Width:  |  Height:  |  Size: 150 B

View File

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

View File

Before

Width:  |  Height:  |  Size: 113 B

After

Width:  |  Height:  |  Size: 113 B

Some files were not shown because too many files have changed in this diff Show More