More crate types.
@@ -4,6 +4,7 @@
|
||||
description: A standard-issue Nanotrasen storage unit.
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Buildings/closet.rsi
|
||||
layers:
|
||||
- state: generic
|
||||
|
||||
@@ -4,10 +4,12 @@
|
||||
description: A large container for items.
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Buildings/crate.rsi
|
||||
layers:
|
||||
- state: crate
|
||||
- state: crate_door
|
||||
map: ["enum.StorageVisualLayers.Door"]
|
||||
|
||||
- type: Icon
|
||||
sprite: Buildings/crate.rsi
|
||||
@@ -15,14 +17,24 @@
|
||||
|
||||
- type: Clickable
|
||||
- type: BoundingBox
|
||||
aabb: -0.4, -0.4, 0.4, 0.4
|
||||
|
||||
- type: Physics
|
||||
mass: 25
|
||||
Anchored: false
|
||||
|
||||
- type: Collidable
|
||||
- type: Storage
|
||||
- type: EntityStorage
|
||||
Capacity: 60
|
||||
- type: PlaceableSurface
|
||||
|
||||
- type: Damageable
|
||||
- type: Destructible
|
||||
thresholdvalue: 100
|
||||
|
||||
placement:
|
||||
snap:
|
||||
- Wall
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StorageVisualizer2D
|
||||
state_open: crate_open
|
||||
state_closed: crate_door
|
||||
|
||||
|
||||
120
Resources/Prototypes/Entities/buildings/storage/crate_types.yml
Normal file
@@ -0,0 +1,120 @@
|
||||
- type: entity
|
||||
id: crate_plastic
|
||||
name: Plastic Crate
|
||||
parent: crate_generic
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: plasticcrate
|
||||
- state: plasticcrate_door
|
||||
map: ["enum.StorageVisualLayers.Door"]
|
||||
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StorageVisualizer2D
|
||||
state_open: plasticcrate_open
|
||||
state_closed: plasticcrate_door
|
||||
|
||||
- type: Icon
|
||||
state: plasticcrate
|
||||
|
||||
- type: entity
|
||||
id: crate_freezer
|
||||
name: Freezer
|
||||
parent: crate_generic
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: freezer
|
||||
- state: freezer_door
|
||||
map: ["enum.StorageVisualLayers.Door"]
|
||||
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StorageVisualizer2D
|
||||
state_open: freezer_open
|
||||
state_closed: freezer_door
|
||||
|
||||
- type: Icon
|
||||
state: freezer
|
||||
|
||||
- type: entity
|
||||
id: crate_hydroponics
|
||||
name: Hydroponics Crate
|
||||
parent: crate_generic
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: hydrocrate
|
||||
- state: hydrocrate_door
|
||||
map: ["enum.StorageVisualLayers.Door"]
|
||||
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StorageVisualizer2D
|
||||
state_open: hydrocrate_open
|
||||
state_closed: hydrocrate_door
|
||||
|
||||
- type: Icon
|
||||
state: hydrocrate
|
||||
|
||||
- type: entity
|
||||
id: crate_medical
|
||||
name: Medical Crate
|
||||
parent: crate_generic
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: medicalcrate
|
||||
- state: medicalcrate_door
|
||||
map: ["enum.StorageVisualLayers.Door"]
|
||||
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StorageVisualizer2D
|
||||
state_open: medicalcrate_open
|
||||
state_closed: medicalcrate_door
|
||||
|
||||
- type: Icon
|
||||
state: medicalcrate
|
||||
|
||||
- type: entity
|
||||
id: crate_radiation
|
||||
name: Radiation Gear Crate
|
||||
description: Is not actually lead lined. Do not store your plutonium in this.
|
||||
parent: crate_generic
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: radiationcrate
|
||||
- state: radiationcrate_door
|
||||
map: ["enum.StorageVisualLayers.Door"]
|
||||
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StorageVisualizer2D
|
||||
state_open: radiationcrate_open
|
||||
state_closed: radiationcrate_door
|
||||
|
||||
- type: Icon
|
||||
state: radiationcrate
|
||||
|
||||
- type: entity
|
||||
id: crate_internals
|
||||
name: Internals Crate
|
||||
parent: crate_generic
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: o2crate
|
||||
- state: o2crate_door
|
||||
map: ["enum.StorageVisualLayers.Door"]
|
||||
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StorageVisualizer2D
|
||||
state_open: o2crate_open
|
||||
state_closed: o2crate_door
|
||||
|
||||
- type: Icon
|
||||
state: o2crate
|
||||
|
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 202 B |
|
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 205 B |
BIN
Resources/Textures/Buildings/crate.rsi/freezer.png
Normal file
|
After Width: | Height: | Size: 197 B |
BIN
Resources/Textures/Buildings/crate.rsi/freezer_door.png
Normal file
|
After Width: | Height: | Size: 208 B |
BIN
Resources/Textures/Buildings/crate.rsi/freezer_open.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
Resources/Textures/Buildings/crate.rsi/hydrocrate.png
Normal file
|
After Width: | Height: | Size: 248 B |
BIN
Resources/Textures/Buildings/crate.rsi/hydrocrate_door.png
Normal file
|
After Width: | Height: | Size: 244 B |
BIN
Resources/Textures/Buildings/crate.rsi/hydrocrate_open.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
Resources/Textures/Buildings/crate.rsi/hydrosecurecrate.png
Normal file
|
After Width: | Height: | Size: 269 B |
BIN
Resources/Textures/Buildings/crate.rsi/hydrosecurecrate_door.png
Normal file
|
After Width: | Height: | Size: 244 B |
BIN
Resources/Textures/Buildings/crate.rsi/hydrosecurecrate_open.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
Resources/Textures/Buildings/crate.rsi/lock_locked.png
Normal file
|
After Width: | Height: | Size: 116 B |
BIN
Resources/Textures/Buildings/crate.rsi/lock_off.png
Normal file
|
After Width: | Height: | Size: 119 B |
BIN
Resources/Textures/Buildings/crate.rsi/lock_unlocked.png
Normal file
|
After Width: | Height: | Size: 116 B |
BIN
Resources/Textures/Buildings/crate.rsi/medicalcrate.png
Normal file
|
After Width: | Height: | Size: 234 B |
BIN
Resources/Textures/Buildings/crate.rsi/medicalcrate_door.png
Normal file
|
After Width: | Height: | Size: 244 B |
BIN
Resources/Textures/Buildings/crate.rsi/medicalcrate_open.png
Normal file
|
After Width: | Height: | Size: 205 B |
@@ -7,6 +7,31 @@
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "lock_locked",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "lock_off",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "lock_unlocked",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "sparking",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1,
|
||||
"delays": [[0.1,0.1,0.1,0.1,0.1,0.1]]
|
||||
},
|
||||
{
|
||||
"name": "crate",
|
||||
"select": [],
|
||||
@@ -24,6 +49,204 @@
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "freezer",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "freezer_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "freezer_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "hydrocrate",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "hydrocrate_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "hydrocrate_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "hydrosecurecrate",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "hydrosecurecrate_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "hydrosecurecrate_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "medicalcrate",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "medicalcrate_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "medicalcrate_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "o2crate",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "o2crate_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "o2crate_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "plasmacrate",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "plasmacrate_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "plasmacrate_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "plasticcrate",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "plasticcrate_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "plasticcrate_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "radiationcrate",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "radiationcrate_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "radiationcrate_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "secgearcrate",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "secgearcrate_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "secgearcrate_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "securecrate",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "securecrate_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "securecrate_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "weaponcrate",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "weaponcrate_door",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "weaponcrate_open",
|
||||
"select": [],
|
||||
"flags": {},
|
||||
"directions": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Buildings/crate.rsi/o2crate.png
Normal file
|
After Width: | Height: | Size: 226 B |
BIN
Resources/Textures/Buildings/crate.rsi/o2crate_door.png
Normal file
|
After Width: | Height: | Size: 244 B |
BIN
Resources/Textures/Buildings/crate.rsi/o2crate_open.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
Resources/Textures/Buildings/crate.rsi/plasmacrate.png
Normal file
|
After Width: | Height: | Size: 277 B |
BIN
Resources/Textures/Buildings/crate.rsi/plasmacrate_door.png
Normal file
|
After Width: | Height: | Size: 244 B |
BIN
Resources/Textures/Buildings/crate.rsi/plasmacrate_open.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
Resources/Textures/Buildings/crate.rsi/plasticcrate.png
Normal file
|
After Width: | Height: | Size: 197 B |
BIN
Resources/Textures/Buildings/crate.rsi/plasticcrate_door.png
Normal file
|
After Width: | Height: | Size: 208 B |
BIN
Resources/Textures/Buildings/crate.rsi/plasticcrate_open.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
Resources/Textures/Buildings/crate.rsi/radiationcrate.png
Normal file
|
After Width: | Height: | Size: 249 B |
BIN
Resources/Textures/Buildings/crate.rsi/radiationcrate_door.png
Normal file
|
After Width: | Height: | Size: 271 B |
BIN
Resources/Textures/Buildings/crate.rsi/radiationcrate_open.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
Resources/Textures/Buildings/crate.rsi/secgearcrate.png
Normal file
|
After Width: | Height: | Size: 272 B |
BIN
Resources/Textures/Buildings/crate.rsi/secgearcrate_door.png
Normal file
|
After Width: | Height: | Size: 244 B |
BIN
Resources/Textures/Buildings/crate.rsi/secgearcrate_open.png
Normal file
|
After Width: | Height: | Size: 206 B |
BIN
Resources/Textures/Buildings/crate.rsi/securecrate.png
Normal file
|
After Width: | Height: | Size: 225 B |
BIN
Resources/Textures/Buildings/crate.rsi/securecrate_door.png
Normal file
|
After Width: | Height: | Size: 202 B |
BIN
Resources/Textures/Buildings/crate.rsi/securecrate_open.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
Resources/Textures/Buildings/crate.rsi/sparking.png
Normal file
|
After Width: | Height: | Size: 206 B |
BIN
Resources/Textures/Buildings/crate.rsi/weaponcrate.png
Normal file
|
After Width: | Height: | Size: 255 B |
BIN
Resources/Textures/Buildings/crate.rsi/weaponcrate_door.png
Normal file
|
After Width: | Height: | Size: 230 B |
BIN
Resources/Textures/Buildings/crate.rsi/weaponcrate_open.png
Normal file
|
After Width: | Height: | Size: 198 B |