Dungeons

From Starbounder - Starbound Wiki
Revision as of 02:31, 18 November 2016 by Glider521al (Talk | contribs)

Jump to: navigation, search

Dungeons are open world structures that the player comes across while exploring. Randomly generated quests use above-ground dungeons, microdungeons, small structures, and land features as landmarks. The number of dungeons on a planet depend on that planet's size:

  • Small Planet: 1 dungeon
  • Medium Planet: 1 to 2 dungeons
  • Large Planet: 2 to 3 dungeons

Some dungeons, such as Apex Test Chambers and Hylotl Underwater Cities, have a shield generator inside them that protects all blocks and furniture within dungeon boundaries from being mined.

Village dungeons are usually a collection of many buildings on the surface of a planet. They have many NPCs of all kinds in them, from simple villagers and merchants to guards and kings. NPCs in villages are not automatically hostile to the player. If the player steals 3 items in view of NPCs (one NPC catches you stealing 3 or more furniture items) they will become hostile or call guards to attack you. This will not happen with blocks, however, making it safe to dig to a secret chest without aggroing the village. NOTE: Breakable vases and flower bushes can count towards accusations from villages as well. There is also a bug that causes furniture that you place to be included towards the threshold.

VILLAGES (FRIENDLY) DUNGEONS (HOSTILE)

Misc and Removed Structures

Microdungeons

There can be many microdungeons on the surface and underground. Microdungeons are small buildings or landforms, usually only comprising of one or two rooms.

Treasure

Dungeons are a great place to get rare and valuable treasures. Dungeons often have a unique pool of items along with a common pool, depending on the type of container. Basic Treasure often appears in non-chest containers such as boxes and crates, while Valuable Treasure usually appears in dungeon-themed chests.

Most dungeons (including villages) also have a single special chest which contains one Large Dungeon Reward.

Large Dungeon Reward

Large Dungeon Reward Quantity Weight Chance
Basic Treasure 2 Always Appears
Good Weapon 1 0.5 50%
Unique Weapon 1 0.5 50%
Total Weight 1.0

Generation

Dungeons are procedurally generated by assembling pre-built rooms and attaching them to produce a unique design. The game uses color 'maps' like the one below to determine how the elements are built, then the game engine checks that map against a dungeon key and places all of the rooms, objects, monster spawns, and loot chests.[1]

In early 2015 Chucklefish transitioned to using the map editing program Tiled for dungeon generation instead of PNG maps.[2]

Dungeon Generation 2.png
A Glitch dungeon key.

Sources

  1. http://playstarbound.com/dungeon-generation/
  2. http://playstarbound.com/15th-of-april-tiled