Dungeon Floor

From SkyTemple

This article is unfinished. You can help expanding it.


A Dungeon Floor is a single floor that is generated for a dungeon. Each floor has properties that determined how it is generated, this includes the tileset to use, the music to play and a list of Pokémon, items and traps to spawn.

In SkyTemple you can edit the properties of a floor and show a preview of how a generated floor might look like in-game. The preview however can not show Fixed Rooms and will display a note when a floor has a Fixed Room in use.

Layout

Structure:

This tab is used to change the general layout of floors.

  • Structure Type can be used to select the general layout of the floor. Several different structure types can be selected. Small, Small Medium, Medium, and Medium Large have the most random variation between floor shapes while Ring, Crossroads, Two Rooms One Monster House, Line, Cross, Beetle, and Outer Rooms have a more specific shape they tend to hold with lesser random variation. Single Monster House will always spawn a singular room as the entire floor with a Monster House.
  • Floor Connectivity changes the amount of connections between cells used to generate the floor map.
  • Extra Hallway Density is used to determine the amount of extra hallways on the floor once the initial connections are made. These can be extra connections between rooms, loops, or dead end hallways.
  • Room Density is used to determine the amount of rooms on a floor. Some random variation may be applied to this number and a floor will never have less than two rooms unless it is a whole floor monster house.
  • Dead Ends can be toggled on or off and determines if hallways can lead to dead ends instead of a room or other hallway. Note that dead ends can still occasionally spawn even with them turned off due to a bug in the game.

Terrain Settings:

This tab is used to control additional layout settings of the floor.

  • Secondary Terrain Enabled? can be toggled on or off and determines if the floor will spawn a secondary type of terrain outside of rooms. The type of terrain is determined by the tileset in use and not anything within Dungeon Floor settings. Most tilesets use water while a few use lava or void. Note that Secondary Terrain can still spawn within rooms themselves even with this setting turned off, if Secondary Terrain (Number of Rooms) is set higher than 0.
  • Secondary Terrain (Number of Rooms) is used to determine the amount of rooms on a floor that have secondary terrain inside them. However, this feature does not seem to work consistently. Still, a higher number will give a greater chance of one or more rooms with secondary terrain.
  • Secondary Terrain Density is used to determine how much secondary terrain spawns on the floor outside of rooms.
  • Imperfect Rooms can be toggled to determine if rooms always spawn as perfect rectangles or not. With this setting on, small notches can be taken out of the corners of rooms, giving them an imperfect shape.
  • Darkness Level can be used to determine how many tiles in front of the player that other Pokemon and items can be seen while traveling through hallways.
  • Weather is used to determine what type of weather activates when the player enters the floor. This can still be changed by moves and abilities used on the floor.

Items, Traps, and Enemies:

This tab is used to control the amount of items, traps, and initial enemies that can spawn on a floor.

  • Floor Item Density refers to how many items can spawn on the floor, with random variation between -2 and +1 items. Note that only 16 items can ever spawn on a single floor. The floor preview however does not take this into account and will show something closer to the actual number inserted if above 16.
  • Buried Item Density refers to how many items can spawn hidden below wall tiles, outside of rooms or hallways.
  • Trap Density refers to how many traps will spawn on the floor, with random variation between the actual number and the number divided by 2. Note that Wonder Tiles technically count as traps and are apart of this count.
  • Max Coin Amount refers to the maximum amount of money a Poke(money) floor item can hold.
  • Initial Enemy Density refers to the amount of enemies that are already on the floor when the player first enters it. Note that only 14 enemies can ever spawn on a single floor at once. The floor preview however does not take this into account and will show something closer to the actual number inserted if above 14. Random variation is used with the minimum amount being the actual number divided by 2, so numbers up to 28 can still be useful for guaranteeing higher amounts of enemies. If Initial Enemy Density is set to 0, only 1 enemy will spawn and no further enemies will spawn even as the player explores the floor. Due to a bug, setting the density to a negative number will always spawn 14 enemies, often all close by the player.

Chances:

This tab is used to set the chances of various things spawning on the floor. The sliders are % based and go from 0 to 100. If the UnusedDungeonChance ASM patch is applied, Unused can be used to have a chance of generating a small maze of walls within one of the rooms inside a floor.

IQ and Misc:

This tab is used to change settings relating to IQ, as well as other settings.

  • Enemy IQ determines how many IQ points enemies have, therefore also what IQ skills they will have.
  • IQ Booster Boost determines how many IQ points IQ Booster increases IQ by.
  • Hidden Stairs Type determines if a Secret Room or Secret Bazaar will spawn when the player finds Hidden Stairs. 0 will set Hidden Stairs to always lead to a Secret Bazaar, 1 will set Hidden Stairs to always lead to a Secret Room, and 255 will give a 50/50 chance of either. Any other number will give a 0% chance for both and the Hidden Stairs will instead work like regular stairs.

Pokemon Spawns

The Pokemon Spawns tab can be used to determine what Pokemon can spawn as enemies within the floor. Pokemon can be added or removed using the + and - buttons. An unlimited number of Pokemon can be added to the spawn list, however each time the floor is entered, only a random 14 of them will be selected if there is more than 14 types of Pokemon that can spawn. Additionally, adding absurdly high numbers (Such as 100 or more) of different Pokemon to a single floor's spawn list may cause the game to crash upon entering the floor.

Kecleon Level refers to the level of the Kecleon running Kecleon Shop, if one spawns on the floor.

Traps

This tab allows you to change the % chances of what trap will spawn on the dungeon floor when the floor generates a trap tile. Multiple types of traps can spawn on the same floor if more than one trap is generated.

Items

This tab allows you to change the % chances and what items can spawn on the dungeon floor. Each tab within this tab controls a separate list for Floor Items, Kecleon Shop items, Monster House items, Buried items, Grab Bag items, and Secret Room items. You can add or remove complete categories of items for each tab using the top menu and the items that can spawn in each category in the bottom menu.