More crate types.

This commit is contained in:
Pieter-Jan Briers
2019-07-26 21:43:01 +02:00
parent 448ee88357
commit aea7d01eaa
44 changed files with 361 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
description: A standard-issue Nanotrasen storage unit.
components:
- type: Sprite
netsync: false
sprite: Buildings/closet.rsi
layers:
- state: generic

View File

@@ -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

View 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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

View File

@@ -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
}
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B