Demiplane maps aftertest tweaks (#1256)

* admin info panel in demiplane map

* fix core chasm destruction

* dimensit resource, more resources in demiplanes

* more fixes
This commit is contained in:
Ed
2025-05-06 08:29:09 +03:00
committed by GitHub
parent aeedff5caa
commit 0fc9e28637
28 changed files with 237 additions and 150 deletions

View File

@@ -70,6 +70,7 @@
- type: CP14AreaEntityEffect
range: 1
effects:
- !type:CP14SpellThrowFromUser
- !type:CP14SpellApplyEntityEffect
effects:
- !type:Electrocute
@@ -78,11 +79,6 @@
damage:
types:
Shock: 15
- !type:FlammableReaction
multiplier: 1.5
- !type:AdjustTemperature
amount: 15000
- !type:Ignite
- type: CP14FarSound
closeSound:
path: /Audio/_CP14/Ambience/Lightning/lightning_close1.ogg

View File

@@ -1,6 +1,6 @@
- type: entity
id: CP14CrystalShardQuartz
parent: BaseItem
id: CP14CrystalShardQuartz
name: quartz shard
description: Natural quartz crystals that can absorb the magical energy of the world around them.
categories: [ ForkFiltered ]
@@ -26,4 +26,31 @@
juiceSolution:
reagents:
- ReagentId: CP14GroundQuartz
Quantity: 7
Quantity: 7
- type: entity
parent: BaseItem
id: CP14DimensitCrystal
name: dimensit shard
description: A fragment of the fabric of reality. An extremely valuable resource for those who know what they can do with it.
categories: [ ForkFiltered ]
components:
#- type: Tag
# tags:
# - CP14FitInMortar
- type: Item
size: Tiny
shape:
- 0,0,0,1
- type: Sprite
sprite: _CP14/Structures/Dungeon/demiplan_rift_core.rsi
layers:
- state: core1
map: ["random"]
- type: RandomSprite
available:
- random:
core1: ""
core2: ""
core3: ""
core4: ""

View File

@@ -2,15 +2,17 @@
parent: BaseItem
id: CP14BaseDemiplaneKey
categories: [ ForkFiltered ]
name: demiplane key
description: The core that connects the real world to the demiplane. Use it to open a temporary passage to the other world.
name: demiplane coordinate key
description: A temporary blob of energy linking the real world and the demiplane. Use it before it dissipates.
components:
- type: Item
size: Normal
size: Ginormous
- type: Sprite
sprite: /Textures/_CP14/Structures/Dungeon/demiplan_rift_core.rsi
noRot: true
drawdepth: Effects
sprite: _CP14/Structures/Dungeon/demiplan_rift_core.rsi
layers:
- state: core
- state: coord
- type: GuideHelp
guides:
- CP14_RU_Demiplanes
@@ -22,37 +24,30 @@
- Core
- EntryRoom
- Exit
#- type: entity
# id: CP14DemiplaneKeyT1
# parent: CP14BaseDemiplaneKey
# suffix: Level 3
# components:
# - type: CP14DemiplaneRandomGenerator
# level: 3
# limits:
# Reward: 1
# Danger: 1
# GhostRoleDanger: 1
# Fun: 1
# Weather: 1
# MapLight: 1
#
#- type: entity
# id: CP14DemiplaneKeyT2
# parent: CP14BaseDemiplaneKey
# suffix: Level 6
# components:
# - type: Sprite
# layers:
# - state: core
# color: red
# - type: CP14DemiplaneRandomGenerator
# level: 6
# limits:
# Reward: 1
# Danger: 1.5
# GhostRoleDanger: 1
# Fun: 1
# Weather: 1
# MapLight: 1
- type: TimedDespawn
lifetime: 120
- type: CanMoveInAir
- type: RandomWalk
minSpeed: 0.25
maxSpeed: 0.75
- type: Physics
bodyType: Dynamic
bodyStatus: InAir
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25"
density: 20
mask:
#- ItemMask # CP14 swap ItemMask to Impassable only
- Impassable
restitution: 0.3 # fite me
friction: 0.2
- type: PointLight
enabled: true
color: "#8f42ff"
energy: 1
radius: 2
netsync: false

View File

@@ -55,6 +55,7 @@
- type: ActivatableUI
key: enum.CP14DemiplaneMapUiKey.Key
requiresComplex: true
singleUser: true
- type: CP14DemiplaneNavigationMap
- type: UserInterface
interfaces:
@@ -168,12 +169,6 @@
collection: GlassSmash
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 350
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- trigger:
!type:DamageTrigger
damage: 50
@@ -182,4 +177,14 @@
sound:
collection: GlassBreak
- !type:DoActsBehavior
acts: ["Destruction"]
acts: ["Destruction"]
- !type:SpawnEntitiesBehavior
spawn:
CP14DimensitCrystal:
min: 4
max: 6
- !type:SpawnEntitiesBehavior
spawn:
CP14SkyLightningPurple:
min: 1
max: 1

View File

@@ -298,9 +298,4 @@
sound:
collection: GlassBreak
- !type:DoActsBehavior
acts: ["Destruction"]
#- !type:SpawnEntitiesBehavior
# spawn:
# CP14StoneBlock1:
# min: 5
# max: 7
acts: ["Destruction"]

View File

@@ -1,7 +1,7 @@
- type: cp14DemiplaneLocation
id: T1IceCaves
levels:
min: 4
min: 3
max: 7
icon:
sprite: _CP14/Interface/Misc/demiplane_locations.rsi

View File

@@ -1,7 +1,7 @@
- type: cp14DemiplaneLocation
id: T1SnowIsland
levels:
min: 3
min: 2
max: 5
icon:
sprite: _CP14/Interface/Misc/demiplane_locations.rsi

View File

@@ -2,7 +2,7 @@
id: T1LeafMaze
levels:
min: 3
max: 5
max: 6
icon:
sprite: _CP14/Interface/Misc/demiplane_locations.rsi
state: leaf_maze

View File

@@ -1,7 +1,7 @@
- type: cp14DemiplaneLocation
id: T1Wastelands
levels:
min: 5
min: 3
max: 7
icon:
sprite: _CP14/Interface/Misc/demiplane_locations.rsi

View File

@@ -8,7 +8,7 @@
name: cp14-modifier-chasm
generationWeight: 0.6
categories:
Danger: 0.33
Danger: 0.25
layers:
- !type:OreDunGen
entity: CP14Chasm
@@ -28,7 +28,7 @@
max: 10
generationWeight: 0.3
categories:
Danger: 0.33
Danger: 0.25
blacklistTags:
- CP14DemiplaneCold
- CP14DemiplaneHerbals
@@ -66,7 +66,7 @@
max: 10
name: cp14-modifier-shadow-kudzu
categories:
Danger: 0.3
Danger: 0.25
layers:
- !type:OreDunGen
entity: CP14AstralHaze

View File

@@ -8,7 +8,7 @@
name: cp14-modifier-zombie
generationWeight: 1.5
categories:
Danger: 0.3
Danger: 0.25
blacklistTags:
- CP14DemiplaneHot
layers:
@@ -43,7 +43,7 @@
max: 5
name: cp14-modifier-dyno
categories:
Danger: 0.2
Danger: 0.25
requiredTags:
- CP14DemiplaneHerbals
blacklistTags:
@@ -62,7 +62,7 @@
max: 5
name: cp14-modifier-dyno
categories:
Danger: 0.3
Danger: 0.25
requiredTags:
- CP14DemiplaneHerbals
layers:
@@ -72,39 +72,6 @@
minGroupSize: 2
maxGroupSize: 3
- type: cp14DemiplaneModifier
id: EnemySkeletonT1
levels:
min: 3
max: 5
name: cp14-modifier-skeleton
generationWeight: 1.5
generationProb: 0.5
categories:
GhostRoleDanger: 1
layers:
- !type:OreDunGen
entity: CP14SpawnPointGhostDemiplaneSkeletonT1
count: 1
minGroupSize: 1
maxGroupSize: 3
- type: cp14DemiplaneModifier
id: EnemyLurker
levels:
min: 1
max: 10
generationWeight: 0.33
generationProb: 0.25
categories:
GhostRoleDanger: 1
layers:
- !type:OreDunGen
entity: SpawnPointGhostDemiplaneLurker
count: 1
minGroupSize: 1
maxGroupSize: 1
# TIER 2
- type: cp14DemiplaneModifier
@@ -213,7 +180,7 @@
id: MobSlimeBase
levels:
min: 1
max: 10
max: 5
categories:
Danger: 0.25
layers:

View File

@@ -0,0 +1,32 @@
- type: cp14DemiplaneModifier
id: EnemySkeletonT1
levels:
min: 3
max: 5
name: cp14-modifier-skeleton
generationWeight: 1.5
generationProb: 0.5
categories:
GhostRoleDanger: 1
layers:
- !type:OreDunGen
entity: CP14SpawnPointGhostDemiplaneSkeletonT1
count: 1
minGroupSize: 1
maxGroupSize: 3
- type: cp14DemiplaneModifier
id: EnemyLurker
levels:
min: 1
max: 10
generationWeight: 0.33
generationProb: 0.25
categories:
GhostRoleDanger: 1
layers:
- !type:OreDunGen
entity: SpawnPointGhostDemiplaneLurker
count: 1
minGroupSize: 1
maxGroupSize: 1

View File

@@ -4,7 +4,7 @@
min: 1
max: 8
categories:
Reward: 0.1
Reward: 0.15
layers:
- !type:OreDunGen
tileMask:

View File

@@ -7,7 +7,7 @@
max: 10
name: cp14-modifier-dayflin
categories:
Reward: 0.1
Reward: 0.15
requiredTags:
- CP14DemiplaneHerbals
- CP14DemiplaneOpenSky
@@ -29,7 +29,7 @@
max: 10
name: cp14-modifier-fly-agaric
categories:
Reward: 0.1
Reward: 0.15
requiredTags:
- CP14DemiplaneHerbals
layers:
@@ -51,7 +51,7 @@
max: 10
name: cp14-modifier-blue-amanita
categories:
Reward: 0.1
Reward: 0.15
requiredTags:
- CP14DemiplaneHerbals
layers:
@@ -72,7 +72,7 @@
max: 10
name: cp14-modifier-blood-flower
categories:
Reward: 0.1
Reward: 0.15
requiredTags:
- CP14DemiplaneHerbals
layers:
@@ -93,7 +93,7 @@
max: 10
name: cp14-modifier-wild-sage
categories:
Reward: 0.1
Reward: 0.15
requiredTags:
- CP14DemiplaneHerbals
- CP14DemiplaneOpenSky
@@ -115,7 +115,7 @@
max: 10
name: cp14-modifier-air-lily
categories:
Reward: 0.1
Reward: 0.15
requiredTags:
- CP14DemiplaneHerbals
- CP14DemiplaneWater
@@ -138,7 +138,7 @@
max: 10
name: cp14-modifier-lumisroom
categories:
Reward: 0.1
Reward: 0.15
requiredTags:
- CP14DemiplaneUnderground
layers:

View File

@@ -4,10 +4,10 @@
id: LootT1
levels:
min: 1
max: 5
max: 3
generationWeight: 2
categories:
Reward: 0.35
Reward: 0.15
layers:
- !type:OreDunGen
entity: CP14SpawnerDemiplaneLootT1
@@ -23,7 +23,7 @@
name: cp14-modifier-rabbits
generationWeight: 0.4
categories:
Reward: 0.1
Reward: 0.15
requiredTags:
- CP14DemiplanePeacefulAnimals
layers:
@@ -58,7 +58,7 @@
max: 10
generationWeight: 0.4
categories:
Reward: 0.05
Reward: 0.1
requiredTags:
- CP14DemiplaneAnimalsSwamp
layers:
@@ -80,7 +80,7 @@
name: cp14-modifier-sheeps
generationWeight: 0.4
categories:
Reward: 0.2
Reward: 0.15
requiredTags:
- CP14DemiplanePeacefulAnimals
layers:
@@ -97,7 +97,7 @@
max: 10
name: cp14-modifier-ruins
categories:
Reward: 0.15
Reward: 0.2
generationProb: 0.8
layers:
- !type:OreDunGen
@@ -115,7 +115,7 @@
max: 10
generationWeight: 2
categories:
Reward: 0.35
Reward: 0.15
layers:
- !type:OreDunGen
entity: CP14SpawnerDemiplaneLootT2

View File

@@ -8,7 +8,7 @@
name: cp14-modifier-iron-ore
unique: false
categories:
Reward: 0.4
Reward: 0.25
requiredTags:
- CP14DemiplaneOres
- CP14DemiplaneOpenSky
@@ -17,7 +17,7 @@
entityMask:
- CP14WallStone
entity: CP14WallStoneIronOre
count: 15
count: 20
minGroupSize: 2
maxGroupSize: 4
@@ -29,7 +29,7 @@
name: cp14-modifier-iron-ore
unique: false
categories:
Reward: 0.4
Reward: 0.25
requiredTags:
- CP14DemiplaneOres
- CP14DemiplaneUnderground
@@ -38,7 +38,7 @@
entityMask:
- CP14WallStone
entity: CP14WallStoneIronOre
count: 10
count: 15
minGroupSize: 4
maxGroupSize: 6
@@ -50,7 +50,7 @@
name: cp14-modifier-copper-ore
unique: false
categories:
Reward: 0.3
Reward: 0.25
requiredTags:
- CP14DemiplaneOres
- CP14DemiplaneOpenSky
@@ -59,7 +59,7 @@
entityMask:
- CP14WallStone
entity: CP14WallStoneCopperOre
count: 15
count: 20
minGroupSize: 2
maxGroupSize: 4
@@ -71,7 +71,7 @@
name: cp14-modifier-copper-ore
unique: false
categories:
Reward: 0.3
Reward: 0.25
requiredTags:
- CP14DemiplaneOres
- CP14DemiplaneUnderground
@@ -80,7 +80,7 @@
entityMask:
- CP14WallStone
entity: CP14WallStoneCopperOre
count: 10
count: 15
minGroupSize: 4
maxGroupSize: 6
@@ -94,7 +94,7 @@
name: cp14-modifier-gold-ore
unique: false
categories:
Reward: 0.5
Reward: 0.25
requiredTags:
- CP14DemiplaneOres
- CP14DemiplaneOpenSky
@@ -115,7 +115,7 @@
name: cp14-modifier-gold-ore
unique: false
categories:
Reward: 0.5
Reward: 0.25
requiredTags:
- CP14DemiplaneOres
- CP14DemiplaneUnderground
@@ -136,7 +136,7 @@
name: cp14-modifier-mithril-ore
unique: false
categories:
Reward: 0.5
Reward: 0.25
requiredTags:
- CP14DemiplaneOres
- CP14DemiplaneOpenSky
@@ -157,7 +157,7 @@
name: cp14-modifier-mithril-ore
unique: false
categories:
Reward: 0.5
Reward: 0.25
requiredTags:
- CP14DemiplaneOres
- CP14DemiplaneUnderground