Civcraft2Import:Guides/vault

=
Vault ============



= Introduction =

A Vault is a means of safekeeping valuables in Civcraft by encasing them in some structure that impedes raiders. The typical vault design in Civcraft is that of a pyramid of diamond-reinforced obsidian blocks (DRO) located at bedrock, such that raiders must spend considerable time breaking through them in order to reach the treasures within.

A layer of a vault is the total amount of blocks horizontally from the chest, including the chest, to the outer most block. In so a 1 layer vault is only a chest, a 2 layer vault is a chest with 5 DRO around it.

A ratio is the ratio of the number blocks horizontally to the amount of blocks vertically. Ratios are preferred due to slopes because of certain mathematical reasons which will be below.

Each layer of a DRO vault fully covers the old one, requiring a raider to break an additional DRO block or blocks before moving closer to the treasure at the heart. DRO vaults are often characterized by their width-height ratio, or slope, with 1:1 being the most basic, and 5:6 being preferred to counter certain advanced vault-breaking tactics. 1:1 vaults are also called normal vaults.

= Building Vaults =

DRO vaults are often characterized by their width-height ratio, or slope, with 1:1 being the most basic, and 5:6 being preferred to counter certain advanced vault-breaking tactics. The following quick-reference table shows the number of additional DRO blocks for each layer, and the total DRO count for the entire vault as each layer is added. The numbers assume 1:1 slope with a single chest at the core, which is counted as a DRO block itself in the &quot;Vault Total&quot; column.

= Math of Vaults =

A basic 1:1 vault follows the Octahedral numbers.

This function is as follows: C(L) = 2L^3 + L

The cost of an additional layer follows Centered square numbers

This function is as follows: Ca(L) = 2L(L+1)+1

Ribagi made a post detailing how to find total cost of a non-normal ratio vault here.

= Bedrock Layering =

While most of the Civcraft map has entirely flat bedrock, certain random chunks still have a &quot;vanilla&quot; distribution of bedrock, which is uneven and peppered with nooks and crannies. By placing a chest in one of these nooks, one can reduce the effective number of &quot;layers&quot; of the vault by one or more. For especially large vaults, this can result in thousands of DRO saved given the number of layers.

= World Edge Vaults =

Placing a vault at the edge of the map, beyond which players are teleported back, can allow a vault using as little as half the number of DRO blocks for a given layer number. The edge of the world acts as an impossible-to-cross barrier that the builder can straddle a vault over, only having the build the side within the map border. Any player who tries to go around behind the vault will be teleported to the outside of it.

= Breaking Vaults =

Breaking vaults is often a time-consuming affair, executed over multiple hours with as many allies as possible, as each layer of DRO must be broken through, a slow process even with Efficiency V pickaxes. During the operation, the vaultbreakers may be subject to attack by the owners

= DRO Spike =

A &quot;DRO Spike&quot; is a method of breaking vaults over the course of multiple sessions. When a session is over, the vaultbreakers will back out of their partial hole and fill it with their own reinforced DRO. When they log in again, they can thus bypass the reinforcements on their own blocks and resume where they left off. The vault owner must either break the spike and replace it with their own DRO again, or move the entire vault away from the spike.