Actual lockers (#195)

Adds storing entities into lockers the way we all know and love.
Relies on an implementation of ITileDefinition in https://github.com/space-wizards/space-station-14/pull/193 (just like origin/master)
#191
This commit is contained in:
PrPleGoo
2019-04-17 23:26:00 +02:00
committed by Pieter-Jan Briers
parent 1fe24eeb12
commit 903961771b
19 changed files with 272 additions and 41 deletions

View File

@@ -6,6 +6,11 @@
Size: 5
- type: Clickable
- type: BoundingBox
aabb: "-0.15,-0.15,0.15,0.15"
- type: Collidable
mask: 5
layer: 8
IsScrapingFloor: true
- type: Physics
mass: 5
- type: Sprite

View File

@@ -43,6 +43,8 @@
mass: 85
- type: Collidable
mask: 3
layer: 2
DebugColor: "#0000FF"
- type: Input

View File

@@ -17,12 +17,13 @@
- type: BoundingBox
aabb: "-0.5,-0.25,0.5,0.25"
- type: Collidable
IsInteractingWithFloor: true
- type: Storage
Capacity: 80
mask: 11
IsScrapingFloor: true
- type: Physics
mass: 25
Anchored: false
- type: EntityStorage
- type: PlaceableSurface
placement:
snap:

View File

@@ -3,6 +3,7 @@
name: "worktop"
components:
- type: Clickable
- type: PlaceableSurface
- type: Sprite
netsync: false
sprite: Buildings/table_solid.rsi