Lavaland chasms (#19154)
This commit is contained in:
47
Resources/Prototypes/Entities/Tiles/chasm.yml
Normal file
47
Resources/Prototypes/Entities/Tiles/chasm.yml
Normal 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user