Liquid plasma floor entity (#18957)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
- type: entity
|
||||
id: FloorLavaEntity
|
||||
name: lava floor
|
||||
name: lava
|
||||
description: Don't jump in. It's not worth it, no matter how funny it is.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
|
||||
49
Resources/Prototypes/Entities/Tiles/liquid_plasma.yml
Normal file
49
Resources/Prototypes/Entities/Tiles/liquid_plasma.yml
Normal file
@@ -0,0 +1,49 @@
|
||||
- type: entity
|
||||
id: FloorLiquidPlasmaEntity
|
||||
name: liquid plasma
|
||||
description: Sweet, expensive nectar. Don't consume.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wall
|
||||
components:
|
||||
- type: StepTrigger
|
||||
requiredTriggeredSpeed: 0
|
||||
intersectRatio: 0.1
|
||||
blacklist:
|
||||
tags:
|
||||
- Catwalk
|
||||
- type: Lava
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: SyncSprite
|
||||
- type: Clickable
|
||||
- type: Sprite
|
||||
sprite: Tiles/Planet/liquid_plasma.rsi
|
||||
drawdepth: BelowFloor
|
||||
layers:
|
||||
- state: plasma
|
||||
shader: unshaded
|
||||
- type: Icon
|
||||
sprite: Tiles/Planet/liquid_plasma.rsi
|
||||
state: full
|
||||
- type: IconSmooth
|
||||
key: floor
|
||||
base: plasma
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.5,-0.5,0.5,0.5"
|
||||
layer:
|
||||
- SlipLayer
|
||||
mask:
|
||||
- ItemMask
|
||||
density: 1000
|
||||
hard: false
|
||||
- type: Tag
|
||||
tags:
|
||||
- HideContextMenu
|
||||
@@ -1,6 +1,7 @@
|
||||
- type: entity
|
||||
id: FloorWaterEntity
|
||||
name: water
|
||||
description: A real thirst quencher.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
|
||||
@@ -439,6 +439,20 @@
|
||||
seed: 0
|
||||
frequency: 0.02
|
||||
fractalType: None
|
||||
# Liquid plasma rivers. Ice moon baby
|
||||
- !type:BiomeEntityLayer
|
||||
allowedTiles:
|
||||
- FloorSnow
|
||||
threshold: 0.95
|
||||
noise:
|
||||
seed: 3
|
||||
noiseType: OpenSimplex2
|
||||
frequency: 0.003
|
||||
lacunarity: 1.50
|
||||
fractalType: Ridged
|
||||
octaves: 1
|
||||
entities:
|
||||
- FloorLiquidPlasmaEntity
|
||||
|
||||
# Caves
|
||||
- type: biomeTemplate
|
||||
|
||||
Reference in New Issue
Block a user