Civcraft2Import:Guides/vault

From CivWiki
Jump to navigation Jump to search
====== Vault ======

'A typical DRO vault with a 1:1 ratio'

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 "Vault Total" column.

Layer Number Additional Blocks Vault Total
1 1 1
2 5 6
3 13 19
4 25 44
5 41 85
6 61 146
7 85 231
8 113 344
9 145 489
10 181 670
11 221 891
12 265 1156
13 313 1469
14 365 1834
15 421 2255
16 481 2736
17 545 3281
18 613 3894
19 685 4579
20 761 5340
21 841 6181
22 925 7106
23 1013 8119
24 1105 9224
25 1201 10425
26 1301 11726
27 1405 13131
28 1513 14644
29 1625 16269
30 1741 18010
31 1861 19871
32 1985 21856
33 2113 23969
34 2245 26214
35 2381 28595
36 2521 31116
37 2665 33781
38 2813 36594
39 2965 39559
40 3121 42680
41 3281 45961
42 3445 49406
43 3613 53019
44 3785 56804
45 3961 60765
46 4141 64906
47 4325 69231
48 4513 73744
49 4705 78449
50 4901 83350

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 "vanilla" 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 "layers" 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 "DRO Spike" 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.