Eris low walls & windows.

Still needs work blocked by better entity parenting, but oh well.
This commit is contained in:
Pieter-Jan Briers
2019-07-26 13:53:06 +02:00
parent a162564516
commit d906bcda03
54 changed files with 575 additions and 156 deletions

View File

@@ -5,7 +5,7 @@
- type: Clickable
- type: Sprite
netsync: false
color: "#636769"
color: "#71797a"
drawdepth: Walls
sprite: Buildings/wall.rsi
@@ -23,10 +23,10 @@
sizeX: 32
sizeY: 32
- type: SnapGrid
offset: Edge
offset: Center
- type: IconSmooth
key: walls. Seriously, just a wall. Nothing extraordinary here.
key: walls
base: solid
placement:

View File

@@ -0,0 +1,32 @@
- type: entity
id: low_wall
name: Low Wall
description: Goes up to about your waist.
components:
- type: Clickable
- type: Sprite
netsync: false
color: "#71797a"
drawdepth: Walls
sprite: Buildings/low_wall.rsi
- type: Icon
sprite: Buildings/low_wall.rsi
state: metal
- type: BoundingBox
- type: Collidable
- type: Damageable
- type: Destructible
thresholdvalue: 100
- type: SnapGrid
offset: Center
- type: LowWall
key: walls
base: metal_
placement:
snap:
- Wall

View File

@@ -0,0 +1,30 @@
- type: entity
id: window
name: Window
description: Don't smudge up the glass down there.
components:
- type: Clickable
- type: Sprite
netsync: false
drawdepth: WallTops
sprite: Buildings/window.rsi
- type: Icon
sprite: Buildings/window.rsi
state: window0
- type: BoundingBox
- type: Collidable
- type: Damageable
- type: Destructible
thresholdvalue: 100
- type: SnapGrid
offset: Center
- type: Window
base: window
placement:
snap:
- Wall