Craftable Steel Closet (#21987)

Make closet craftable
This commit is contained in:
iacore
2023-12-18 19:46:16 +00:00
committed by GitHub
parent 6a73aed6d5
commit a9fa1f4a52
7 changed files with 60 additions and 9 deletions

View File

@@ -88,6 +88,17 @@
stateDoorOpen: generic_open
stateDoorClosed: generic_door
# steel closet base (that can be constructed/deconstructed)
- type: entity
id: ClosetSteelBase
parent: ClosetBase
components:
- type: Construction
graph: ClosetSteel
node: done
containers:
- entity_storage
#Wall Closet
- type: entity
id: BaseWallCloset

View File

@@ -2,7 +2,7 @@
- type: entity
id: ClosetTool
name: tool closet
parent: ClosetBase
parent: ClosetSteelBase
description: It's a storage unit for tools.
components:
- type: Appearance
@@ -15,7 +15,7 @@
- type: entity
id: ClosetRadiationSuit
name: radiation suit closet
parent: ClosetBase
parent: ClosetSteelBase
description: "More comfortable than radiation poisioning."
components:
- type: Appearance
@@ -28,7 +28,7 @@
- type: entity
id: ClosetEmergency
name: emergency closet
parent: ClosetBase
parent: ClosetSteelBase
description: It's a storage unit for emergency breath masks and O2 tanks.
components:
- type: Appearance
@@ -41,7 +41,7 @@
- type: entity
id: ClosetFire
name: fire-safety closet
parent: ClosetBase
parent: ClosetSteelBase
description: It's a storage unit for fire-fighting supplies.
components:
- type: Appearance
@@ -54,7 +54,7 @@
- type: entity
id: ClosetBomb
name: EOD closet
parent: ClosetBase
parent: ClosetSteelBase
description: It's a storage unit for explosion-protective suits.
components:
- type: Appearance
@@ -82,7 +82,7 @@
# Base level 3 bio hazard closet
- type: entity
id: ClosetL3
parent: ClosetBase
parent: ClosetSteelBase
name: level 3 biohazard gear closet
description: It's a storage unit for level 3 biohazard gear.
components:
@@ -129,7 +129,7 @@
- type: entity
id: ClosetMaintenance
name: maintenance closet
parent: ClosetBase
parent: ClosetSteelBase
description: It's a storage unit.
components:
- type: Appearance

View File

@@ -1,6 +1,6 @@
- type: entity
id: ClosetCursed
parent: ClosetBase
parent: ClosetSteelBase
name: closet
suffix: cursed
description: A standard-issue Nanotrasen storage unit.
@@ -8,4 +8,4 @@
- type: CursedEntityStorage
- type: EntityStorage
closeSound:
path: /Audio/Effects/teleport_arrival.ogg
path: /Audio/Effects/teleport_arrival.ogg

View File

@@ -0,0 +1,27 @@
- type: constructionGraph
id: ClosetSteel
start: start
graph:
- node: start
edges:
- to: done
steps:
- material: Steel
amount: 4
doAfter: 5
- node: done
entity: ClosetSteelBase
edges:
- to: start
steps:
- tool: Screwing
doAfter: 5
conditions:
- !type:StorageWelded
welded: false
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 4
- !type:EmptyAllContainers
- !type:DeleteEntity

View File

@@ -0,0 +1,10 @@
- type: construction
id: ClosetSteel
name: closet
graph: ClosetSteel
startNode: start
targetNode: done
category: construction-category-storage
description: A tall steel box that cannot be locked.
icon: { sprite: Structures/Storage/closet.rsi, state: generic_icon }
objectType: Structure

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

View File

@@ -323,6 +323,9 @@
{
"name": "generic_open"
},
{
"name": "generic_icon"
},
{
"name": "green_door"
},