Added open/close/stacklayers for Matchbox and inhands (#4496)

* Added open/close/stacklayers for Matchbox

* Added inhands for matchbox

* What am I a clown not gonna leave no indent spaces
This commit is contained in:
Swept
2021-08-19 22:37:01 -07:00
committed by GitHub
parent 9d22869e58
commit 39571697a5
13 changed files with 37 additions and 4 deletions

View File

@@ -14,6 +14,9 @@
id: Matchstick
description: A simple match stick, used for lighting fine smokables.
components:
- type: Tag
tags:
- Matchstick
- type: Sprite
netsync: false
sprite: Objects/Tools/matches.rsi
@@ -46,10 +49,26 @@
components:
- type: Matchbox
- type: Sprite
netsync: false
sprite: Objects/Tools/matches.rsi
layers:
- state: matchbox
- type: Item
sprite: Objects/Tools/matches.rsi
HeldPrefix: matchbox
- type: StorageFill
contents:
- id: Matchstick
amount: 6
- type: StorageCounter
countTag: Matchstick
- type: Appearance
visuals:
- type: BagOpenCloseVisualizer
openIcon: matchbox-open
- type: StackVisualizer
composite: true
stackLayers:
- matchbox1
- matchbox2
- matchbox3

View File

@@ -130,6 +130,9 @@
- type: Tag
id: Machete
- type: Tag
id: Matchstick
- type: Tag
id: MonkeyCube

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 B

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"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 and modified by Swept",
"size": {
"x": 32,
"y": 32
@@ -27,13 +27,24 @@
"name": "matchbox"
},
{
"name": "matchbox_almostempty"
"name": "matchbox-open"
},
{
"name": "matchbox_almostfull"
"name": "matchbox1"
},
{
"name": "matchbox_e"
"name": "matchbox2"
},
{
"name": "matchbox3"
},
{
"name": "matchbox-inhand-left",
"directions": 4
},
{
"name": "matchbox-inhand-right",
"directions": 4
},
{
"name": "unlit-inhand-left",