Lavaland chasms (#19154)

This commit is contained in:
Kara
2023-08-14 19:29:24 -07:00
committed by GitHub
parent 71f5e38faf
commit cfccb5959a
20 changed files with 331 additions and 5 deletions

View File

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

View File

@@ -310,6 +310,20 @@
cellularReturnType: Distance2
entities:
- WallRockBasalt
# chasm time
- !type:BiomeEntityLayer
allowedTiles:
- FloorBasalt
threshold: 0.6
noise:
seed: 3
frequency: 0.02
fractalType: FBm
octaves: 5
lacunarity: 2
gain: 0.4
entities:
- FloorChasmEntity
- !type:BiomeDummyLayer
id: Loot
# Fill basalt