@@ -44,6 +44,11 @@
|
||||
SheetSteel1:
|
||||
min: 1
|
||||
max: 2
|
||||
- type: Construction
|
||||
graph: ClosetSteel
|
||||
node: done
|
||||
containers:
|
||||
- entity_storage
|
||||
|
||||
- type: entity
|
||||
id: LockerBaseSecure
|
||||
@@ -61,3 +66,8 @@
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: Construction
|
||||
graph: ClosetSteelSecure
|
||||
node: done
|
||||
containers:
|
||||
- entity_storage
|
||||
|
||||
@@ -18,6 +18,18 @@
|
||||
openSound:
|
||||
path: /Audio/Effects/woodenclosetopen.ogg
|
||||
|
||||
# Basic
|
||||
- type: entity
|
||||
id: LockerSteel
|
||||
parent: LockerBaseSecure
|
||||
name: secure closet
|
||||
components:
|
||||
- type: Appearance
|
||||
- type: EntityStorageVisuals
|
||||
stateBaseClosed: secure
|
||||
stateDoorOpen: secure_open
|
||||
stateDoorClosed: secure_door
|
||||
|
||||
# Cargo
|
||||
- type: entity
|
||||
id: LockerQuarterMaster
|
||||
|
||||
@@ -171,6 +171,11 @@
|
||||
SheetSteel1:
|
||||
min: 1
|
||||
max: 1
|
||||
- type: Construction
|
||||
graph: ClosetWall
|
||||
node: done
|
||||
containers:
|
||||
- entity_storage
|
||||
|
||||
#Wall locker
|
||||
- type: entity
|
||||
|
||||
@@ -25,3 +25,66 @@
|
||||
amount: 4
|
||||
- !type:EmptyAllContainers
|
||||
- !type:DeleteEntity
|
||||
|
||||
- type: constructionGraph
|
||||
id: ClosetSteelSecure
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: done
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 4
|
||||
- material: Cable
|
||||
amount: 2
|
||||
doAfter: 5
|
||||
- node: done
|
||||
entity: LockerSteel
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 5
|
||||
conditions:
|
||||
- !type:StorageWelded
|
||||
welded: false
|
||||
- !type:Locked
|
||||
locked: false
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 4
|
||||
- !type:SpawnPrototype
|
||||
prototype: CableApcStack1
|
||||
amount: 2
|
||||
- !type:EmptyAllContainers
|
||||
- !type:DeleteEntity
|
||||
|
||||
- type: constructionGraph
|
||||
id: ClosetWall
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: done
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 4
|
||||
doAfter: 5
|
||||
- node: done
|
||||
entity: ClosetWall
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 5
|
||||
conditions:
|
||||
- !type:StorageWelded
|
||||
welded: false
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 4
|
||||
- !type:EmptyAllContainers
|
||||
- !type:DeleteEntity
|
||||
|
||||
@@ -8,3 +8,30 @@
|
||||
description: A tall steel box that cannot be locked.
|
||||
icon: { sprite: Structures/Storage/closet.rsi, state: generic_icon }
|
||||
objectType: Structure
|
||||
|
||||
- type: construction
|
||||
id: ClosetSteelSecure
|
||||
name: secure closet
|
||||
graph: ClosetSteelSecure
|
||||
startNode: start
|
||||
targetNode: done
|
||||
category: construction-category-storage
|
||||
description: A tall steel box that can be locked.
|
||||
icon: { sprite: Structures/Storage/closet.rsi, state: secure_icon }
|
||||
objectType: Structure
|
||||
|
||||
- type: construction
|
||||
id: ClosetWall
|
||||
name: wall closet
|
||||
graph: ClosetWall
|
||||
startNode: start
|
||||
targetNode: done
|
||||
category: construction-category-storage
|
||||
description: A standard-issue Nanotrasen storage unit, now on walls.
|
||||
icon: { sprite: Structures/Storage/wall_locker.rsi, state: generic_icon }
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canRotate: true
|
||||
canBuildInImpassable: true
|
||||
conditions:
|
||||
- !type:WallmountCondition
|
||||
@@ -461,6 +461,9 @@
|
||||
{
|
||||
"name": "secure_door"
|
||||
},
|
||||
{
|
||||
"name": "secure_icon"
|
||||
},
|
||||
{
|
||||
"name": "secure_open"
|
||||
},
|
||||
|
||||
BIN
Resources/Textures/Structures/Storage/closet.rsi/secure_icon.png
Normal file
BIN
Resources/Textures/Structures/Storage/closet.rsi/secure_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 353 B |
Binary file not shown.
|
After Width: | Height: | Size: 321 B |
@@ -18,6 +18,7 @@
|
||||
{ "name": "fire_open" },
|
||||
{ "name": "generic" },
|
||||
{ "name": "generic_door" },
|
||||
{ "name": "generic_icon" },
|
||||
{ "name": "generic_open" },
|
||||
{ "name": "gray_door" },
|
||||
{ "name": "green_door" },
|
||||
|
||||
Reference in New Issue
Block a user