http://s871361223.online.de/index.php?title=Special:NewPages&feed=atom&hidebots=1&hideredirs=1&limit=50&offset=&namespace=0&username=&tagfilter=&size-mode=max&size=0ChocolateQuestWiki - New pages [en]2024-03-28T17:42:09ZFrom ChocolateQuestWikiMediaWiki 1.35.2http://s871361223.online.de/index.php?title=Dungeon_GridDungeon Grid2021-11-22T17:09:50Z<p>Admin: Correct grid article</p>
<hr />
<div>[[Category:Dungeon Generator]] <br />
[[Category:Configuration]]<br />
[[Category:Internal Systems ]]<br />
A dungeon grid defines the positions where dungeons can spawn.<br />
<br />
These grids consist of a set of dungeons belonging to this grid, a side length, a chance and weight and a spread factor.<br />
<br />
The length defines the size parameters of each grid cell and thus the density of dungeons spawning on this grid.<br />
<br />
Each grid has it's own config file and there needs to be at least one grid for the mod to work properly!<br />
<br />
== Configuration values ==<br />
{|class="wikitable sortable" width=100%<br />
!width=10%|Option <br />
!width=20%|Data type<br />
!width=50%|Description<br />
!width=20%|Constraints<br />
|-<br />
|distance<br />
|Integer<br />
|Side length of one grid cell, defined in chunks.<br />
|Has to be at least 1.<br />
|-<br />
|spread<br />
|Integer<br />
|It is used to define the area around a valid grid position where dungeons can spawn in. <br />
|Has to be between 0 and distance.<br />
|-<br />
|rarityFactor<br />
|Double<br />
|The lower the weight of the selected dungeon and the higher the total weight of the dungeons that can spawn at a grid position, the more the generation chance gets boosted.<br />
|Has to be positive.<br />
|-<br />
|checkRadius<br />
|Integer<br />
|Defines a radius in chunks. This is used to check for other cqr-structures generated by a grid with a higher priority. It is used to avoid overlapping.<br />
|Has to be at least 0.<br />
|-<br />
|chance<br />
|Integer<br />
|Chance for this grid to try to generate something.<br />
|Has to be between 0 and 100.<br />
|-<br />
|priority<br />
|Integer<br />
|Priority of this grid. This is used to calculate the generation order of grids when trying to generate a structure. Lower priority means that it gets selected before grids with a higher priority. It is to be understood as a place in a queue.<br />
|Has to be positive.<br />
|-<br />
|offset<br />
|Integer<br />
|When there are 2 grids with the same distance then 1 grid can be offset to avoid overlapping.<br />
|Has to be at least 0.<br />
|-<br />
|dungeons<br />
|List of [[Dungeon Configuration]] names<br />
|Defines the dungeons that use this grid.<br />
|<br />
|-<br />
|}</div>Admin