Haunted dungeon template (#23768)

* haunted dungeon

* Initial work

Still needs prefab gen work to make it interesting.

* ime a worm

* weh

* Work

* Slight tweaks

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Emisse
2024-03-23 21:37:18 -06:00
committed by GitHub
parent 2cc8db3007
commit 952b7f4c4e
17 changed files with 4009 additions and 67 deletions

View File

@@ -0,0 +1,308 @@
# Rooms
# Large
# - 17x5
- type: dungeonRoom
id: Haunted17x5a
size: 17,5
atlas: /Maps/Dungeon/haunted.yml
offset: 0,0
tags:
- Haunted
- type: dungeonRoom
id: Haunted17x5b
size: 17,5
atlas: /Maps/Dungeon/haunted.yml
offset: 18,0
tags:
- Haunted
# - 7x7
- type: dungeonRoom
id: Haunted7x7a
size: 7,7
atlas: /Maps/Dungeon/haunted.yml
offset: 0,42
tags:
- Haunted
- type: dungeonRoom
id: Haunted7x7b
size: 7,7
atlas: /Maps/Dungeon/haunted.yml
offset: 8,42
tags:
- Haunted
- type: dungeonRoom
id: Haunted7x7c
size: 7,7
atlas: /Maps/Dungeon/haunted.yml
offset: 16,42
tags:
- Haunted
- type: dungeonRoom
id: Haunted7x7d
size: 7,7
atlas: /Maps/Dungeon/haunted.yml
offset: 24,42
tags:
- Haunted
# Medium
# - 11x5
- type: dungeonRoom
id: Haunted11x5a
size: 11,5
atlas: /Maps/Dungeon/haunted.yml
offset: 0,6
tags:
- Haunted
- type: dungeonRoom
id: Haunted11x5b
size: 11,5
atlas: /Maps/Dungeon/haunted.yml
offset: 12,6
tags:
- Haunted
- type: dungeonRoom
id: Haunted11x5c
size: 11,5
atlas: /Maps/Dungeon/haunted.yml
offset: 24,6
tags:
- Haunted
# - 7x5
- type: dungeonRoom
id: Haunted7x5a
size: 7,5
atlas: /Maps/Dungeon/haunted.yml
offset: 0,12
tags:
- Haunted
- type: dungeonRoom
id: Haunted7x5b
size: 7,5
atlas: /Maps/Dungeon/haunted.yml
offset: 8,12
tags:
- Haunted
- type: dungeonRoom
id: Haunted7x5c
size: 7,5
atlas: /Maps/Dungeon/haunted.yml
offset: 16,12
tags:
- Haunted
- type: dungeonRoom
id: Haunted7x5d
size: 7,5
atlas: /Maps/Dungeon/haunted.yml
offset: 24,12
tags:
- Haunted
# - 13x3
- type: dungeonRoom
id: Haunted13x3a
size: 13,3
atlas: /Maps/Dungeon/haunted.yml
offset: 0,30
tags:
- Haunted
- type: dungeonRoom
id: Haunted13x3b
size: 13,3
atlas: /Maps/Dungeon/haunted.yml
offset: 14,30
tags:
- Haunted
# - 11x3
- type: dungeonRoom
id: Haunted11x3a
size: 11,3
atlas: /Maps/Dungeon/haunted.yml
offset: 0,34
tags:
- Haunted
- type: dungeonRoom
id: Haunted11x3b
size: 11,3
atlas: /Maps/Dungeon/haunted.yml
offset: 12,34
tags:
- Haunted
- type: dungeonRoom
id: Haunted11x3c
size: 11,3
atlas: /Maps/Dungeon/haunted.yml
offset: 24,34
tags:
- Haunted
# - 7x3
- type: dungeonRoom
id: Haunted7x3a
size: 7,3
atlas: /Maps/Dungeon/haunted.yml
offset: 0,38
tags:
- Haunted
- type: dungeonRoom
id: Haunted7x3b
size: 7,3
atlas: /Maps/Dungeon/haunted.yml
offset: 8,38
tags:
- Haunted
- type: dungeonRoom
id: Haunted7x3c
size: 7,3
atlas: /Maps/Dungeon/haunted.yml
offset: 16,38
tags:
- Haunted
- type: dungeonRoom
id: Haunted7x3d
size: 7,3
atlas: /Maps/Dungeon/haunted.yml
offset: 24,38
tags:
- Haunted
# Small
# - 5x5
- type: dungeonRoom
id: Haunted5x5a
size: 5,5
atlas: /Maps/Dungeon/haunted.yml
offset: 0,18
tags:
- Haunted
- type: dungeonRoom
id: Haunted5x5b
size: 5,5
atlas: /Maps/Dungeon/haunted.yml
offset: 6,18
tags:
- Haunted
- type: dungeonRoom
id: Haunted5x5c
size: 5,5
atlas: /Maps/Dungeon/haunted.yml
offset: 12,18
tags:
- Haunted
- type: dungeonRoom
id: Haunted5x5d
size: 5,5
atlas: /Maps/Dungeon/haunted.yml
offset: 18,18
tags:
- Haunted
- type: dungeonRoom
id: Haunted5x5e
size: 5,5
atlas: /Maps/Dungeon/haunted.yml
offset: 24,18
tags:
- Haunted
- type: dungeonRoom
id: Haunted5x5f
size: 5,5
atlas: /Maps/Dungeon/haunted.yml
offset: 30,18
tags:
- Haunted
# - 3x5
- type: dungeonRoom
id: Haunted3x5a
size: 3,5
atlas: /Maps/Dungeon/haunted.yml
offset: 0,24
tags:
- Haunted
- type: dungeonRoom
id: Haunted3x5b
size: 3,5
atlas: /Maps/Dungeon/haunted.yml
offset: 4,24
tags:
- Haunted
- type: dungeonRoom
id: Haunted3x5c
size: 3,5
atlas: /Maps/Dungeon/haunted.yml
offset: 8,24
tags:
- Haunted
- type: dungeonRoom
id: Haunted3x5d
size: 3,5
atlas: /Maps/Dungeon/haunted.yml
offset: 12,24
tags:
- Haunted
- type: dungeonRoom
id: Haunted3x5e
size: 3,5
atlas: /Maps/Dungeon/haunted.yml
offset: 16,24
tags:
- Haunted
- type: dungeonRoom
id: Haunted3x5f
size: 3,5
atlas: /Maps/Dungeon/haunted.yml
offset: 20,24
tags:
- Haunted
- type: dungeonRoom
id: Haunted3x5g
size: 3,5
atlas: /Maps/Dungeon/haunted.yml
offset: 24,24
tags:
- Haunted
- type: dungeonRoom
id: Haunted3x5h
size: 3,5
atlas: /Maps/Dungeon/haunted.yml
offset: 28,24
tags:
- Haunted
- type: dungeonRoom
id: Haunted3x5i
size: 3,5
atlas: /Maps/Dungeon/haunted.yml
offset: 32,24
tags:
- Haunted

View File

@@ -175,15 +175,15 @@
- SpaceShip
- Tall
postGeneration:
- !type:CorridorPostGen
tile: FloorCaveDrought
width: 3
- !type:DungeonEntrancePostGen
count: 5
tile: FloorCaveDrought
entities:
entities:
- RandomWoodenWall
- !type:RoomEntrancePostGen
@@ -195,12 +195,12 @@
tile: FloorCaveDrought
entities:
- RandomWoodenWall
- !type:ExternalWindowPostGen
tile: FloorCaveDrought
entities:
- RandomWoodenWall
- !type:WallMountPostGen
tile: FloorCaveDrought
spawns:
@@ -217,7 +217,7 @@
- id: WallMining
prob: 0.8
orGroup: content
- !type:BoundaryWallPostGen
tile: FloorCaveDrought
wall: WallRock
@@ -225,13 +225,13 @@
- !type:AutoCablingPostGen
entity: Catwalk
- !type:JunctionPostGen
tile: FloorCaveDrought
width: 3
entities:
- RandomWoodenSupport
- !type:CornerClutterPostGen
contents:
- id: RandomStalagmiteOrCrystal
@@ -321,4 +321,41 @@
SouthWest: BrickTileWhiteInnerSw
SouthEast: BrickTileWhiteInnerSe
NorthWest: BrickTileWhiteInnerNw
NorthEast: BrickTileWhiteInnerNe
NorthEast: BrickTileWhiteInnerNe
# todo: Add a biome dungeon generator
# Add corridor first gens that place rooms on top
# Add a worm corridor gen (place subsequent corridors somewhere randomly along the path)
# Place room entrances on ends of corridors touching a tile
# Remove all room tiles from corridors
# Fix paths up and try to reconnect all corridor tiles
# Add a postgen step to spread rooms out, though it shouldn't spread into corridor exteriors
- type: dungeonConfig
id: Haunted
generator: !type:PrefabDunGen
tile: FloorCaveDrought
roomWhitelist:
- Mineshaft
presets:
- Bucket
- Wow
- SpaceShip
- Tall
postGeneration:
- !type:WormCorridorPostGen
width: 3
tile: FloorCaveDrought
- !type:CorridorClutterPostGen
contents:
- id: FloraStalagmite1
- id: FloraStalagmite2
- id: FloraStalagmite3
- id: FloraStalagmite4
- id: FloraStalagmite5
- id: FloraStalagmite6
- !type:BoundaryWallPostGen
tile: FloorCaveDrought
wall: WallRock

View File

@@ -241,4 +241,10 @@
id: SnowyLabs
proto: SnowyLabs
biomes:
- Snow
- Snow
- type: salvageDungeonMod
id: Haunted
proto: Haunted
biomes:
- Caves