* Doors WiP

* Kinda seem to work now?

* Finished

* Oh yeah maybe enable that.

* It works except it doesn't

* Undo formatting changes

* BuildChecker too
This commit is contained in:
Pieter-Jan Briers
2017-10-22 23:48:01 +02:00
committed by GitHub
parent ec3e7968a6
commit 7f196fc415
11 changed files with 237 additions and 1 deletions

View File

@@ -7,6 +7,9 @@
sprite: player_shoes
notWornSprite: shoes
- type: Icon
icon: shoes
- type: entity
parent: BaseItem
id: JanitorUniformItem
@@ -15,3 +18,6 @@
- type: WearableAnimatedSprite
sprite: player_jumpsuit_gray
notWornSprite: janitorsuit
- type: Icon
icon: janitorsuit

View File

@@ -0,0 +1,25 @@
- type: entity
id: DoorContent
name: Actual door
components:
- type: Transform
- type: Clickable
- type: Interactable
- type: Sprite
drawdepth: FloorPlaceable
sprites:
- door_ew
- door_ewo
- type: Icon
icon: door_ew
- type: BoundingBox
sizeX: 1.9
offsetY: 1.5
- type: Collidable
- type: Door
placement:
snap:
- Wall