experimental cliffs (#283)

This commit is contained in:
Ed
2024-06-27 14:04:57 +03:00
committed by GitHub
parent fa86f705aa
commit 798539899d
4 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
- type: entity
parent: BaseStructure
id: CP14Cliff
name: cliff
description: Severe unevenness of the natural landscape.
components:
- type: Sprite
drawdepth: WallTops
sprite: _CP14/Structures/Walls/Natural/cliffs.rsi
state: cliff
- type: Icon
sprite: _CP14/Structures/Walls/Natural/cliffs.rsi
state: cliff
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "0.49,0.49,-0.49,0.25"
density: 1000
mask:
- TableMask
layer:
- TableLayer
- type: Climbable
- type: entity
parent: CP14Cliff
id: CP14CliffCorner
components:
- type: Sprite
drawdepth: WallTops
sprite: _CP14/Structures/Walls/Natural/cliffs.rsi
state: corner
- type: Icon
sprite: _CP14/Structures/Walls/Natural/cliffs.rsi
state: corner
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.49,0.49,-0.25,0.25"
density: 1000
mask:
- TableMask
layer:
- TableLayer