Orbis/Structure Population

From Official Gamemode 4 Wiki
Revision as of 02:08, 6 November 2018 by BluePsychoRanger (talk | contribs) (Created page with "This module populates chests with seed specific loot and fills dungeons with spawners. The Custom Terrain Base and a Structure expansion pack such as Custom Terrain Base/Dan...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This module populates chests with seed specific loot and fills dungeons with spawners. The Custom Terrain Base and a Structure expansion pack such as Dangerous Dungeons is required.

Details

Custom Spawners

Spawners are generated in groups of four. There are two sets of spawners included with the structure population module (one for dungeons, one for towers) but more groups can be added by other modules.

Technical Summary

The spawner type is calculated based on the bedrock column directly beneath the spawner. Spawners placed above each other will always be the same type.

Custom Chests

Chests randomly choose a base of "junk" items as a template and then insert up to four loot items into the center of the chest.

Technical Summary

The contents of custom chests are calculated based on their coordinates, their height, and the bedrock in the column directly below them. The junk base is generated based on the bedrock in the column below the chest. Two chests in the same vertical column will always have the same junk base, but not necessarily the same loot items.

Once the base chests has been chosen, a formula (developed by Crazyman47) is used to generate four numbers, each for a different slot in the chest. The number range changes depending on the chest's height. Lower dungeons have a higher chance of getting better loot than dungeons closer to the surface, and towers have their own loot range. Some numbers are left blank so that there's a chance that no item appears in one or more slots.

Reliant Modules

Custom Structure expansion packs for the Custom Terrain Base require this module to generate spawners and chest loot.

Learn More and Download

History

Date Version Change
13 Jun 2015 1.0 Released Structure Population