Extinguisher cabinet (#1976)

* 1779 Add extinguisher cabinet base item, rsi, and class based on potted plant

* Pretty much the rest of the owl

* Allow construction

* no more deconstruction

* pr fixes
This commit is contained in:
Moses
2020-09-01 18:41:35 -05:00
committed by GitHub
parent dbbe3088f8
commit 6a4b856961
13 changed files with 305 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
- type: entity
id: ExtinguisherCabinet
name: extinguisher cabinet
abstract: true
description: A small wall mounted cabinet designed to hold a fire extinguisher.
components:
- type: Clickable
- type: InteractionOutline
- type: Sprite
sprite: Constructible/Misc/extinguisher_cabinet.rsi
state: extinguisher_closed
- type: Icon
sprite: Constructible/Misc/extinguisher_cabinet.rsi
state: extinguisher_closed
- type: ExtinguisherCabinet
- type: Appearance
visuals:
- type: ExtinguisherCabinetVisualizer
placement:
mode: SnapgridCenter
- type: entity
id: ExtinguisherCabinetFilled
parent: ExtinguisherCabinet
components:
- type: ExtinguisherCabinetFilled

View File

@@ -27,3 +27,4 @@
fuelType: chem.H2O
fuelName: water
fuelCost: 50
- type: FireExtinguisher

View File

@@ -10,3 +10,20 @@
steps:
- material: Metal
amount: 1
- type: construction
id: ExtinguisherCabinet
name: extinguisher cabinet
category: Items/Misc
keywords: [misc]
placementMode: SnapgridCenter
canBuildInImpassable: true
description: A small wall mounted cabinet designed to hold a fire extinguisher.
icon: Constructible/Misc/extinguisher_cabinet.rsi/extinguisher_closed.png
result: ExtinguisherCabinet
steps:
- material: Metal
amount: 2
icon:
sprite: Constructible/Misc/extinguisher_cabinet.rsi
state: extinguisher_closed

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

View File

@@ -0,0 +1,47 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/tgstation/tgstation at commit d0d81185f09ca30d3b0856d476544240dba0de53",
"states": [
{
"name": "extinguisher_closed",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "extinguisher_empty",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "extinguisher_full",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "extinguisher_mini",
"directions": 1,
"delays": [
[
1.0
]
]
}
]
}