Eris low walls & windows.
Still needs work blocked by better entity parenting, but oh well.
This commit is contained in:
@@ -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:
|
||||
|
||||
32
Resources/Prototypes/Entities/walls/structures/low_wall.yml
Normal file
32
Resources/Prototypes/Entities/walls/structures/low_wall.yml
Normal 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
|
||||
30
Resources/Prototypes/Entities/walls/structures/windows.yml
Normal file
30
Resources/Prototypes/Entities/walls/structures/windows.yml
Normal 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
|
||||
Reference in New Issue
Block a user