Remove demiplan fun (#587)

* disable roomfills

* demiplan examination random disable
This commit is contained in:
Ed
2024-11-16 17:37:06 +03:00
committed by GitHub
parent 06308961ed
commit ef6f23e4b8
4 changed files with 33 additions and 22 deletions

View File

@@ -55,7 +55,7 @@ public sealed partial class CP14DemiplaneSystem
return msg; return msg;
msg.AddMarkupOrThrow( msg.AddMarkupOrThrow(
indexedLocation.Name is not null && _random.Prob(indexedLocation.ExamineProb) indexedLocation.Name is not null/* && _random.Prob(indexedLocation.ExamineProb)*/
? Loc.GetString("cp14-demiplane-examine-title", ("location", Loc.GetString(indexedLocation.Name))) ? Loc.GetString("cp14-demiplane-examine-title", ("location", Loc.GetString(indexedLocation.Name)))
: Loc.GetString("cp14-demiplane-examine-title-unknown")); : Loc.GetString("cp14-demiplane-examine-title-unknown"));
@@ -65,8 +65,8 @@ public sealed partial class CP14DemiplaneSystem
if (!_proto.TryIndex(modifier, out var indexedModifier)) if (!_proto.TryIndex(modifier, out var indexedModifier))
continue; continue;
if (!_random.Prob(indexedModifier.ExamineProb)) //if (!_random.Prob(indexedModifier.ExamineProb)) //temp disable
continue; // continue;
if (indexedModifier.Name is null) if (indexedModifier.Name is null)
continue; continue;

View File

@@ -286,17 +286,28 @@
minGroupSize: 1 minGroupSize: 1
maxGroupSize: 2 maxGroupSize: 2
#- type: cp14DemiplaneModifier
# id: Ruins
# name: cp14-modifier-ruins
# reward: 0.35
# generationWeight: 2
# layers:
# - !type:OreDunGen
# entity: ##CP14DemiplanRuinsRoomSpawner
# count: 5
# minGroupSize: 1
# maxGroupSize: 1
- type: cp14DemiplaneModifier - type: cp14DemiplaneModifier
id: Ruins id: Loot
name: cp14-modifier-ruins
reward: 0.35 reward: 0.35
generationWeight: 2 generationWeight: 2
layers: layers:
- !type:OreDunGen - !type:OreDunGen
entity: CP14DemiplanRuinsRoomSpawner entity: CP14SpawnerExpeditionLootCommon
count: 5 count: 15
minGroupSize: 1 minGroupSize: 1
maxGroupSize: 1 maxGroupSize: 3
- type: cp14DemiplaneModifier - type: cp14DemiplaneModifier
id: EnemyXeno id: EnemyXeno

View File

@@ -1,17 +1,17 @@
- type: Tag - type: Tag
id: CP14DemiplanRuins id: CP14DemiplanRuins
- type: entity #- type: entity
id: CP14DemiplanRuinsRoomSpawner # id: CP14DemiplanRuinsRoomSpawner
categories: [ ForkFiltered ] # categories: [ ForkFiltered ]
parent: BaseRoomMarker # parent: BaseRoomMarker
name: Demiplan ruins room spawner # name: Demiplan ruins room spawner
components: # components:
- type: RoomFill # - type: RoomFill
clearExisting: true # clearExisting: true
roomWhitelist: # roomWhitelist:
tags: # tags:
- CP14DemiplanRuins # - CP14DemiplanRuins
# 7x7 # 7x7
- type: dungeonRoom - type: dungeonRoom

View File

@@ -2,10 +2,10 @@
id: DemiplaneConnections id: DemiplaneConnections
layers: layers:
- !type:OreDunGen - !type:OreDunGen
entity: CP14DemiplanEnterRoomMarker entity: CP14DemiplaneEntryPointMarker
count: 1 count: 1
minGroupSize: 1 minGroupSize: 4
maxGroupSize: 1 maxGroupSize: 4
- !type:OreDunGen - !type:OreDunGen
entity: CP14DemiplanePassway entity: CP14DemiplanePassway
count: 2 count: 2