> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_gunshop/pricechange.md).

# How to change pricing

## How to change prices of weapons:

Head to your `rcore_gunshop` folder\
Head to the `weaponprices.lua` file.\
To change weapon prices, change the number after the `=`. For example, to change the pistol's price from 2500 to 5000, you'd change `["WEAPON_PISTOL"] = 2500,` to `["WEAPON_PISTOL"] = 5000,`\\

## How to change price of attachments:

You can edit attachment prices in the `Config.WeaponAttachments` table which can be found in the `config.lua`. You'll see the cost being something like: `cost = tonumber(math.floor(10 * baseCost))`.\
In all cases, the base cost is `priceOfWeapon/100 * componentCostModifier * AttachmentCostGlobalModifier`. To increase the prices of attachments, you have three different options.\\

Firstly, you can increase the number before baseCost (in this example, 10) to a higher value.\\

Secondly, you can change the `componentCostModifier` which is a unique modifier for each weapon's attachments prices that can be found in `Config.WeaponsTable` table which can be found in the `config.lua`\\

Lastly, you can change `AttachmentCostGlobalModifier` which can be found in the `config.lua`. This a global modifier for all weapon attachment prices.

## How to change price of tints:

You can edit tint prices in the `Config.WeaponTints` table which can be found in the `config.lua`. You'll see the `regular` table and the `mk2` table within there.\
As the names indicate, the `regular` table is for weapons that aren't mk2, and the `mk2` table is for weapons that are mk2\
To increase the prices of tints, you have three different options.\\

Firstly, you can change the number found after `cost =` within the `Config.WeaponTints` table which can be found in the `config.lua`.\\

Secondly, you can change the tintCostModifier which is a unique modifier for each weapon's tint prices that can be found in `Config.WeaponsTable` table which can be found in the `config.lua`\\

Lastly, you can change `TintCostGlobalModifier` which can be found in the `config.lua`. This is a global modifier for all weapon tint prices.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://documentation.rcore.cz/paid-resources/rcore_gunshop/pricechange.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
