* chasm sprites

* add proto

* Update chasm.yml
This commit is contained in:
Ed
2024-06-07 01:24:39 +03:00
committed by GitHub
parent df695cc39b
commit 819dac54de
12 changed files with 97 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
- type: entity
id: FloorChasmEntity
name: chasm
noSpawn: true
description: You can't even see the bottom.
placement:
mode: SnapgridCenter
@@ -49,6 +50,7 @@
- type: entity
parent: FloorChasmEntity
id: FloorChromiteChasm
noSpawn: true
suffix: Chromite
components:
- type: Sprite
@@ -59,6 +61,7 @@
- type: entity
parent: FloorChasmEntity
id: FloorDesertChasm
noSpawn: true
suffix: Desert
components:
- type: Sprite
@@ -69,6 +72,7 @@
- type: entity
parent: FloorChasmEntity
id: FloorSnowChasm
noSpawn: true
suffix: Snow
components:
- type: Sprite

View File

@@ -0,0 +1,47 @@
- type: entity
id: CP14Chasm
name: chasm
description: You can't even see the bottom.
placement:
mode: SnapgridCenter
snap:
- Wall
components:
- type: PlacementReplacement
key: floorTile
- type: Sprite
drawdepth: BelowFloor
sprite: _CP14/Tiles/chasm.rsi
- type: Icon
sprite: _CP14/Tiles/chasm.rsi
state: full
- type: IconSmooth
key: chasm
base: chasm_
- type: Transform
anchored: true
- type: Chasm
- type: StepTrigger
requiredTriggeredSpeed: 0
intersectRatio: 0.4
blacklist:
tags:
- Catwalk #TODO
- type: Clickable
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.4,-0.4,0.4,0.4"
layer:
- WallLayer
mask:
- ItemMask
density: 1000
hard: false
- type: Tag
tags:
- HideContextMenu