Ed 12 12 2024 bugfixes (#668)
* fix #665 * fix #664 * fix #661 * fix #666
@@ -15,7 +15,7 @@ public sealed partial class CP14MapDamageComponent : Component
|
||||
{
|
||||
DamageDict = new Dictionary<string, FixedPoint2>()
|
||||
{
|
||||
{"Asphyxiation", 10}
|
||||
{"Asphyxiation", 5}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ public sealed partial class CCVars
|
||||
/// Should we pre-load all of the procgen atlasses.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> ProcgenPreload =
|
||||
CVarDef.Create("procgen.preload", true, CVar.SERVERONLY);
|
||||
CVarDef.Create("procgen.preload", false, CVar.SERVERONLY); //CP14 false by default
|
||||
|
||||
/// <summary>
|
||||
/// Enabled: Cloning has 70% cost and reclaimer will refuse to reclaim corpses with souls. (For LRP).
|
||||
@@ -84,7 +84,7 @@ public sealed partial class CCVars
|
||||
CVarDef.Create("entgc.maximum_time_ms", 5, CVar.SERVERONLY);
|
||||
|
||||
public static readonly CVarDef<bool> GatewayGeneratorEnabled =
|
||||
CVarDef.Create("gateway.generator_enabled", true);
|
||||
CVarDef.Create("gateway.generator_enabled", false); //CP14 false by default
|
||||
|
||||
public static readonly CVarDef<string> TippyEntity =
|
||||
CVarDef.Create("tippy.entity", "Tippy", CVar.SERVER | CVar.REPLICATED);
|
||||
|
||||
@@ -232,9 +232,9 @@
|
||||
- type: CanMoveInAir # read: CanSwimInOcean lol
|
||||
- type: MovementAlwaysTouching
|
||||
- type: MovementSpeedModifier
|
||||
weightlessAcceleration: 0.7 # Slow swimming
|
||||
weightlessFriction: 3
|
||||
weightlessModifier: 0.5
|
||||
weightlessAcceleration: 0.8 # Slow swimming
|
||||
weightlessFriction: 2
|
||||
weightlessModifier: 0.6
|
||||
- type: CP14DamageableByMap
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- type: entity
|
||||
parent:
|
||||
- BaseMobSpecies
|
||||
- CP14BaseMobSpecies
|
||||
- MobFlammable
|
||||
id: CP14BaseMobSkeleton
|
||||
name: Mr. Skeleton
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
components:
|
||||
- type: PlacementReplacement
|
||||
key: CP14Roof
|
||||
- type: Clickable
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
canCollide: false
|
||||
|
||||
@@ -1,23 +1,21 @@
|
||||
- type: entity
|
||||
id: CP14DungeonEntrance
|
||||
id: CP14LaddersDownBase
|
||||
name: stairway down
|
||||
categories: [ HideSpawnMenu ]
|
||||
abstract: true
|
||||
categories: [ ForkFiltered, HideSpawnMenu ]
|
||||
description: The dark depths of the underworld are calling you.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: FloorTiles
|
||||
sprite: /Textures/_CP14/Structures/Dungeon/ladders.rsi
|
||||
- type: Transform
|
||||
anchored: True
|
||||
- type: InteractionOutline
|
||||
- type: Clickable
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Sprite
|
||||
sprite: /Textures/_CP14/Structures/Dungeon/ladders.rsi
|
||||
drawdepth: FloorTiles
|
||||
layers:
|
||||
- state: ladder
|
||||
#- state: down
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
portalFixture:
|
||||
@@ -34,18 +32,16 @@
|
||||
randomTeleport: false
|
||||
|
||||
- type: entity
|
||||
parent: CP14DungeonEntrance
|
||||
id: CP14DungeonExit
|
||||
parent: CP14LaddersDownBase
|
||||
id: CP14LaddersUpBase
|
||||
abstract: true
|
||||
categories: [ ForkFiltered, HideSpawnMenu ]
|
||||
name: stairway up
|
||||
categories: [ HideSpawnMenu ]
|
||||
description: A way out of the dark underworld into the overworld.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: /Textures/_CP14/Structures/Dungeon/ladders_up.rsi
|
||||
drawdepth: Mobs
|
||||
layers:
|
||||
- state: ladder
|
||||
#- state: top
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
portalFixture:
|
||||
@@ -63,20 +59,113 @@
|
||||
energy: 1
|
||||
netsync: false
|
||||
|
||||
|
||||
# Basic stone
|
||||
- type: entity
|
||||
parent: CP14DungeonEntrance
|
||||
id: CP14DungeonEntranceAutoLink
|
||||
categories: [ ForkFiltered ]
|
||||
parent: CP14LaddersDownBase
|
||||
id: CP14LaddersDownStone
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Sprite
|
||||
state: stone
|
||||
|
||||
- type: entity
|
||||
parent: CP14LaddersUpBase
|
||||
id: CP14LaddersUpStone
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Sprite
|
||||
state: stone
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: CP14LaddersDownStone
|
||||
id: CP14LaddersDownStoneAutoLink
|
||||
suffix: Stone
|
||||
components:
|
||||
- type: CP14ZLevelAutoPortal
|
||||
zLevelOffset: -1 # Go into deep
|
||||
otherSideProto: CP14DungeonExit
|
||||
otherSideProto: CP14LaddersUpStone
|
||||
|
||||
- type: entity
|
||||
parent: CP14DungeonExit
|
||||
id: CP14DungeonExitAutoLink
|
||||
categories: [ ForkFiltered ]
|
||||
parent: CP14LaddersUpStone
|
||||
id: CP14LaddersUpStoneAutoLink
|
||||
suffix: Stone
|
||||
components:
|
||||
- type: CP14ZLevelAutoPortal
|
||||
zLevelOffset: 1 # Go onto surface
|
||||
otherSideProto: CP14DungeonEntrance
|
||||
otherSideProto: CP14LaddersDownStone
|
||||
|
||||
|
||||
# Wood
|
||||
- type: entity
|
||||
parent: CP14LaddersDownBase
|
||||
id: CP14LaddersDownWood
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Sprite
|
||||
state: wood
|
||||
|
||||
- type: entity
|
||||
parent: CP14LaddersUpBase
|
||||
id: CP14LaddersUpWood
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Sprite
|
||||
state: wood
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: CP14LaddersDownWood
|
||||
id: CP14LaddersDownWoodAutoLink
|
||||
suffix: Wood
|
||||
components:
|
||||
- type: CP14ZLevelAutoPortal
|
||||
zLevelOffset: -1 # Go into deep
|
||||
otherSideProto: CP14LaddersUpWood
|
||||
|
||||
- type: entity
|
||||
parent: CP14LaddersUpWood
|
||||
id: CP14LaddersUpWoodAutoLink
|
||||
suffix: Wood
|
||||
components:
|
||||
- type: CP14ZLevelAutoPortal
|
||||
zLevelOffset: 1 # Go onto surface
|
||||
otherSideProto: CP14LaddersDownWood
|
||||
|
||||
|
||||
# Wood
|
||||
- type: entity
|
||||
parent: CP14LaddersDownBase
|
||||
id: CP14LaddersDownMarble
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Sprite
|
||||
state: marble
|
||||
|
||||
- type: entity
|
||||
parent: CP14LaddersUpBase
|
||||
id: CP14LaddersUpMarble
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Sprite
|
||||
state: marble
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: CP14LaddersDownMarble
|
||||
id: CP14LaddersDownMarbleAutoLink
|
||||
suffix: Marble
|
||||
components:
|
||||
- type: CP14ZLevelAutoPortal
|
||||
zLevelOffset: -1 # Go into deep
|
||||
otherSideProto: CP14LaddersUpMarble
|
||||
|
||||
- type: entity
|
||||
parent: CP14LaddersUpWood
|
||||
id: CP14LaddersUpMarbleAutoLink
|
||||
suffix: Marble
|
||||
components:
|
||||
- type: CP14ZLevelAutoPortal
|
||||
zLevelOffset: 1 # Go onto surface
|
||||
otherSideProto: CP14LaddersDownMarble
|
||||
|
Before Width: | Height: | Size: 179 B |
|
After Width: | Height: | Size: 1.6 KiB |
@@ -8,14 +8,16 @@
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "ladder",
|
||||
"name": "marble",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "top"
|
||||
"name": "stone",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "down"
|
||||
"name": "wood",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 182 B |
BIN
Resources/Textures/_CP14/Structures/Dungeon/ladders.rsi/wood.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
@@ -8,7 +8,15 @@
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "ladder",
|
||||
"name": "stone",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wood",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "marble",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
|
||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
@@ -199,6 +199,9 @@ CP14FloraTreeLarge04: CP14FloraTreeGreenLarge
|
||||
CP14FloraTreeLarge05: CP14FloraTreeGreenLarge
|
||||
CP14FloraTreeLarge06: CP14FloraTreeGreenLarge
|
||||
|
||||
CP14DungeonEntranceAutoLink: CP14LaddersDownStoneAutoLink
|
||||
CP14DungeonExitAutoLink: CP14LaddersUpStoneAutoLink
|
||||
|
||||
# <---> CrystallEdge migration zone end
|
||||
|
||||
|
||||
|
||||