> For the complete documentation index, see [llms.txt](https://foe-helper.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://foe-helper.gitbook.io/docs/english/module/gb-cost.md).

# GB Cost Calculator

GB Cost Calculator

![Icon](https://785480918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgLBToA--UPl-f92wWn%2Fuploads%2Fgit-blob-3f955efa401ab6cea5b62ba17750db1299dbbaed%2Ficon.png?alt=media)

If you want to help others level their Great Buildings — whether voluntarily or by accident — this tool is essential.\
It calculates all relevant values for you and can be customized to your needs.

## Menu Overview

![Layout](https://785480918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgLBToA--UPl-f92wWn%2Fuploads%2Fgit-blob-5e59b697b21e3581e4a83a073761b84e41b39419%2Fmenu-layout.png?alt=media)

The Cost Calculator interface is structured from top to bottom as follows:

* **Building name**
* **Owner information**, including a link to the player’s [foe.scoredb.io](https://foe.scoredb.io/) profile
* **Owner's guild**
* **Current level** of the building and its maximum level
* **Arc Bonus** – your current Arc bonus (e.g., 100%)
* Buttons to switch between predefined investment percentages
* **Investing at:** – set a custom percentage manually
* **Table columns:**
  * Supporter place number (P1–P5)
  * Required FP investment per spot (based on the chosen percentage)
  * FP difference (how much is profit or overpaid based on your Arc bonus)
  * Blueprints earned (based on Arc bonus)
  * Medals earned (based on Arc bonus)

Additional info:

* **Remaining FPs to level:** FPs still needed to reach the next level
* **Active recurring quest:** shows if a recurring quest has been completed

## Configuration

Click the **gear icon** in the title bar to open the Configuration menu.

![Configuration](https://785480918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgLBToA--UPl-f92wWn%2Fuploads%2Fgit-blob-4c5870f0ae1411a90939afb7842e8b3edc8ffc3a%2Fconfig-menu.png?alt=media)

The Configuration interface is structured top-to-bottom as follows:

* **Percentage Buttons** - A series of pre-set contribution percentages (e.g. 90%, 91%, 100%, etc.) used for GB reward calculations.

{% hint style="info" %}
Each button has an X to remove it, except your Arc bonus %.
{% endhint %}

* **New Value** - Allows you to input a custom percentage manually. The green “+” button adds your custom percentage to the list above.
* **Save donation factor per Conversation** - When enabled, your default investment % factor is defined by % you used last time in that conversation (thread).
* **Save Button** - Applies and saves all the above settings.

## Usage

The FP values in the supporter table are color-coded to show whether a spot is safe to invest in:

### Green = Safe Contribution Spot

If the spot is secure and cannot be overtaken after your investment, the row is highlighted in green.

![Safe spot](https://785480918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgLBToA--UPl-f92wWn%2Fuploads%2Fgit-blob-24a8cd013d508e2077c6f38b2a2d9164a2e27157%2Fsafe-spot.png?alt=media)

### Red = Not Secured Contribution Spot

If the spot is still vulnerable and can be overtaken, the row turns red and shows (in red text eg.+123) how many FPs are missing to secure it.

![Not secure spot](https://785480918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgLBToA--UPl-f92wWn%2Fuploads%2Fgit-blob-95476f89a31961bd70aa772ca052dbba5a3d8e71%2Fnot-secured.png?alt=media)

### Blue = Already Invested

If you’ve already contributed exactly the calculated amount, the row turns blue.\
It will remain blue the next time you open the building, provided your investment is recognized.

![Already Invested](https://785480918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgLBToA--UPl-f92wWn%2Fuploads%2Fgit-blob-c0a0ec18236227f259d3ddc10078a51e46d3bf0f%2Falready-contributed.png?alt=media)

If your contribution differs from the calculated value, the row is highlighted blue with numbers shown in red: \[invested FP] / \[expected FP]. (eg. chosen investment 100% which is 30 FPs, invested 29 FPs, showing 29/30)

![Partial investment](https://785480918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgLBToA--UPl-f92wWn%2Fuploads%2Fgit-blob-8d6de26f63040072ae5b4bbfb6b166c0b3a0a026%2Fpartial-contribution.png?alt=media)

### Gray = Unavailable Spots

If there are no donor spots available, all rows are displayed in gray.

![Unavailable Spots](https://785480918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgLBToA--UPl-f92wWn%2Fuploads%2Fgit-blob-aac539dbafb473dd16e8ee4d1d63c1b8292411fd%2Funavailable.png?alt=media)

### Shaded = GB Level locked

If the building’s next level is locked, donor spots are unavailable.

![Locked Level](https://785480918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgLBToA--UPl-f92wWn%2Fuploads%2Fgit-blob-d9274b83f04930061b191f17c07faf4a04be24bb%2Flocked.png?alt=media)

### Shaded = GB not connected to road

If the building is not connected to the road, donor spots are unavailable.

![Not connected to road](https://785480918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgLBToA--UPl-f92wWn%2Fuploads%2Fgit-blob-86b2c7f648092a0cd9300347b3c245fab6141425%2Fnot-connected.png?alt=media)
