Dungeon Generator: Guarded Structure

From ChocolateQuestWiki
Revision as of 20:15, 12 April 2021 by Admin (talk | contribs) (correct name for "maxdistance")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The "Guarded Structure" generator is basically a advanced version of the Surface Generator.
All it does is simply placing a Structure randomly chosen from a specified directory at the surface of the world.
Around this Structure it places additional Structures around it in a circle. These Structures are drawn from another specified directory.

Config Settings

These are all additional settings needed for this generator to function:

Option Data type Description Constraints
structurefolder String Filepath relative to the "structures" folder inside the CQR-Folder.
This directory is used for the Structures that get placed around the center.
The directory has to exist and it has to be a directory, it can be empty.
centerstructurefolder String Filepath relative to the "structures" folder inside the CQR-Folder.
This directory is used for the Structures that get placed at the center.
The directory has to exist and it has to be a directory, it can be empty.
minbuildings Integer Minimum amount of buildings that get placed around the center. min: 1
maxbuildings Integer Maximal amount of buildings that get placed around the center. min: minbuildings
mindistance Integer Minimum distance between the center and a outskirt building. min: 0
maxdistance Integer Maximum distance between the center and a outskirt building. min: mindistance