Liquid plasma floor entity (#18957)

This commit is contained in:
Kara
2023-08-10 07:16:51 -07:00
committed by GitHub
parent baddcf1b26
commit 42b38b7a5d
15 changed files with 331 additions and 1 deletions

View File

@@ -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:

View 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

View File

@@ -1,6 +1,7 @@
- type: entity
id: FloorWaterEntity
name: water
description: A real thirst quencher.
placement:
mode: SnapgridCenter
snap:

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

View File

@@ -0,0 +1,265 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/tgstation/tgstation/tree/f116442e34fe3e941a1df474bb57bb410dd177a3/icons/turf lava sprites, hueshifted and modified by mirrorcult",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "full"
},
{
"name": "plasma0",
"directions": 4,
"delays": [
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
]
]
},
{
"name": "plasma1",
"directions": 4,
"delays": [
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
]
]
},
{
"name": "plasma2",
"directions": 4,
"delays": [
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
]
]
},
{
"name": "plasma3",
"directions": 4,
"delays": [
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
]
]
},
{
"name": "plasma4",
"directions": 4,
"delays": [
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
]
]
},
{
"name": "plasma5",
"directions": 4,
"delays": [
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
]
]
},
{
"name": "plasma6",
"directions": 4,
"delays": [
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
]
]
},
{
"name": "plasma7",
"directions": 4,
"delays": [
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
],
[
2,
2,
2,
2
]
]
},
{
"name": "plasma",
"delays": [
[
2,
2,
2,
2
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB