Ed 10 12 2024 aah (#656)

* fix ghost zlevel moving

* stairways autorotation

* ladders sprite update

* slow space swimming

* fix wrong wood spawn

* deadly ocean

* Update zLevels.yml
This commit is contained in:
Ed
2024-12-10 21:24:06 +03:00
committed by GitHub
parent 99786342fb
commit e4b60b31c0
17 changed files with 185 additions and 21 deletions

View File

@@ -4,7 +4,10 @@
description: Move up one Z-Level
components:
- type: InstantAction
icon: _CP14/Actions/zLevel.rsi/up.png
checkCanInteract: false
icon:
sprite: _CP14/Actions/zLevel.rsi
state: up
event: !type:CP14ZLevelActionUp
- type: entity
@@ -13,5 +16,8 @@
description: Move down one Z-Level
components:
- type: InstantAction
icon: _CP14/Actions/zLevel.rsi/down.png
checkCanInteract: false
icon:
sprite: _CP14/Actions/zLevel.rsi
state: down
event: !type:CP14ZLevelActionDown

View File

@@ -229,6 +229,13 @@
- type: CanEnterCryostorage
- type: CP14IgnitionModifier
ignitionTimeModifier: 2.5
- type: CanMoveInAir # read: CanSwimInOcean lol
- type: MovementAlwaysTouching
- type: MovementSpeedModifier
weightlessAcceleration: 0.7 # Slow swimming
weightlessFriction: 3
weightlessModifier: 0.5
- type: CP14DamageableByMap
- type: entity

View File

@@ -133,7 +133,7 @@
collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank1:
CP14WoodenPlanks1:
min: 1
max: 4
- !type:DoActsBehavior
@@ -163,7 +163,7 @@
collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank1:
CP14WoodenPlanks1:
min: 1
max: 4
- !type:DoActsBehavior

View File

@@ -1,6 +1,6 @@
- type: entity
id: CP14DungeonEntrance
name: dungeon entrance
name: stairway down
categories: [ HideSpawnMenu ]
description: The dark depths of the underworld are calling you.
placement:
@@ -17,13 +17,13 @@
drawdepth: FloorTiles
layers:
- state: ladder
- state: down
#- state: down
- type: Fixtures
fixtures:
portalFixture:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.48,0.25,0.48"
bounds: "-0.48,-0.48,0.48,-0.05"
mask:
- FullTileMask
layer:
@@ -36,17 +36,27 @@
- type: entity
parent: CP14DungeonEntrance
id: CP14DungeonExit
name: dungeon exit
name: stairway up
categories: [ HideSpawnMenu ]
description: A way out of the dark underworld into the overworld.
components:
- type: Sprite
noRot: true
sprite: /Textures/_CP14/Structures/Dungeon/ladders.rsi
drawdepth: FloorTiles
sprite: /Textures/_CP14/Structures/Dungeon/ladders_up.rsi
drawdepth: Mobs
layers:
- state: ladder
- state: top
#- state: top
- type: Fixtures
fixtures:
portalFixture:
shape:
!type:PhysShapeAabb
bounds: "-0.48,0.48,0.48,0.05"
mask:
- FullTileMask
layer:
- WallLayer
hard: false
- type: PointLight
color: White
radius: 3

View File

@@ -10,6 +10,7 @@
- type: MapLight
ambientLightColor: "#BFEEFFFF"
- type: CP14MapFloorOccluder
- type: CP14MapDamage
- type: Parallax
parallax: CP14Ocean
- type: CP14CloudShadows

View File

@@ -9,6 +9,7 @@
- type: MapLight
ambientLightColor: "#BFEEFFFF"
- type: CP14MapFloorOccluder
- type: CP14MapDamage
- type: Parallax
parallax: CP14Ocean
- type: CP14CloudShadows