# Add a New Currency

*Files used:* ![](https://lh6.googleusercontent.com/qByxksGMV3XHP9nIwbdGBmgquGgydnkYbvygNmsCJfEUhmwYdUfejx7MUW3HK7FJyjnWdy4rq1uFmYXITJ376ftFThjUgB-r0dC7xMHk2fVIikTf3UsySyPyssaIBQl0CV2EfiduRwimU9VvVLbQRAgrC4pI3dtNy3xYB3Lmpf9dMqrQ_Fd2PI9sjznD)*E\_Currency, (Optional)* ![](https://lh3.googleusercontent.com/LHj6tvc-8JA_wwbwhSDvxD7Airl18KetgBkEtG3ACSyKPamjdA7A7_PL-SeoOyuStWAcDsDepqxHGihqGZXMQ2jMvTDYfsbyRLqiecDMKlP9AH-KHlSdC8IuWxFOdjK4WoKkpHNaqCoLLfCJgQWG5wK8aVpdnil5H3Sr3_4ks-zEIHTR6sw5uiP8wAak)*BPC\_RPGSystem, (Optional)* ![](https://lh3.googleusercontent.com/LHj6tvc-8JA_wwbwhSDvxD7Airl18KetgBkEtG3ACSyKPamjdA7A7_PL-SeoOyuStWAcDsDepqxHGihqGZXMQ2jMvTDYfsbyRLqiecDMKlP9AH-KHlSdC8IuWxFOdjK4WoKkpHNaqCoLLfCJgQWG5wK8aVpdnil5H3Sr3_4ks-zEIHTR6sw5uiP8wAak)*BPC\_DropSystem*

## Add the Enum

Open the **E\_Currency** enum.

{% hint style="info" %}
E\_Currency is located in *RPGSystem/Blueprints/Enum/Basic*
{% endhint %}

Add a new Currency to the `E_Currency.`

That’s all you need to do to use the '`AddCurrency`' function but if you want to have it as a lootable item, there are some more steps to do.

## *OPTIONAL - Add as a Drop*

1. *Add the Currency to E\_Item.*
2. After creating a new Item for your Currency, you have to add the **ItemID** here to this Switch in the `InventoryAddItem` function and add a new `AddCurrencyServer` to the switch with the correct Currency.

<figure><img src="https://lh5.googleusercontent.com/HoGBNrDU4nKeF2bfl_HU6hwH1_vGoF-nyUuVMrPu093NfclawNxXb1-2-aZppDzSFWag_vxoeyrOi1zbIbrL1wqWho4I-z1J4V10sruqFLPsDlEqhn3yieuL4q_me2I-tBbYPJ5RZYEkc3iRJ3HxUyxoXAka1CyhhjSoDEEyIGnyc8RZ_zMA7fHWwW1z" alt=""><figcaption></figcaption></figure>

3. If you want an automatic amount scaling, you need to add your ItemID of the currency to the switch in the `MakeDropList` function of the **BPC\_DropSystem** and connect it exactly like the Gold. You can also add your own scaling formula.

<figure><img src="https://lh3.googleusercontent.com/bhV_1c2wTXmAs-DBNFFApODixZ4fYaouAUEqeYq82p7xoQ4GwQdM61H5tZ5r-YVtb8biyQEzVhHPynHmniDwVCDEXiEvjZsxv-Wuqg_U16QCuqVyHVAVtmE0DycAkNPCXEVwGIevn8jPPGE7ok8A1l-fZHiSBsONB3mWLmu62FiaoDqSFmqesD7Wgt21" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rpg-system-all-in-one.gitbook.io/documentation/inventory-system/currency/add-a-new-currency.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
