Added fireaxe cabinets (#4221)

* Added fireaxe cabinets

* Now inserts and renamed ItemCabinetVisuals file

* Added netsync

* Cut out layers for future ItemCabinetVisualizer work and reorganized some RSIs

* Update Resources/Textures/Constructible/Storage/Cabinets/extinguisher_cabinet.rsi/meta.json

* Update Resources/Textures/Constructible/Storage/Cabinets/extinguisher_cabinet.rsi/meta.json

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Swept
2021-06-25 03:27:22 +00:00
committed by GitHub
parent fcbe0baea4
commit d6805f47a3
32 changed files with 167 additions and 41 deletions

View File

@@ -6,7 +6,8 @@
- type: Clickable
- type: InteractionOutline
- type: Sprite
sprite: Constructible/Misc/extinguisher_cabinet.rsi
sprite: Constructible/Storage/Cabinets/extinguisher_cabinet.rsi
netsync: false
state: extinguisher_closed
- type: ItemCabinet
doorSound: /Audio/Machines/machine_switch.ogg
@@ -19,6 +20,7 @@
emptyState: extinguisher_empty
fullState: extinguisher_full
closedState: extinguisher_closed
closedEmptyState: extinguisher_closed
placement:
mode: SnapgridCenter

View File

@@ -0,0 +1,49 @@
- type: entity
id: FireAxeCabinet
name: fire axe cabinet
description: There is a small label that reads \"For Emergency use only\" along with details for safe use of the axe. As if.
components:
- type: Clickable
- type: InteractionOutline
- type: Sprite
sprite: Constructible/Storage/Cabinets/fireaxe_cabinet.rsi
netsync: false
state: cabinet-filled-closed
- type: ItemCabinet
doorSound: /Audio/Machines/machine_switch.ogg
whitelist:
tags:
- FireAxe
- type: Appearance
visuals:
- type: ItemCabinetVisualizer
emptyState: cabinet-empty-open
fullState: cabinet-filled-open
closedState: cabinet-filled-closed
closedEmptyState: cabinet-empty-closed
placement:
mode: SnapgridCenter
- type: entity
id: FireAxeCabinetOpen
parent: FireAxeCabinet
suffix: Open
components:
- type: ItemCabinet
opened: true
- type: entity
id: FireAxeCabinetFilled
parent: FireAxeCabinet
suffix: Filled
components:
- type: ItemCabinet
spawnPrototype: FireAxe
- type: entity
id: FireAxeCabinetFilledOpen
parent: FireAxeCabinetFilled
suffix: Filled, Open
components:
- type: ItemCabinet
opened: true

View File

@@ -4,12 +4,14 @@
id: FireAxe
description: A large, robust axe. Can pry open doors and skulls alike.
components:
- type: Tag
tags:
- FireAxe
- type: Sprite
sprite: Objects/Weapons/Melee/fireaxe.rsi
state: icon
- type: MeleeWeapon
damage: 25
- type: Item
size: 24
sprite: Objects/Weapons/Melee/fireaxe.rsi
prefix: inhand