> For the complete documentation index, see [llms.txt](https://lng.gitbook.io/lng-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lng.gitbook.io/lng-docs/companion-mod/basics/profiles-lngcompanion-transmuterconfig-json.md).

# profiles\LNGCompanion\TransmuterConfig.json

***

#### 🎰 `TransmuterConfig.json` Overview

The `TransmuterConfig.json` file controls the Companion's "Transmuter" gambling device. It allows you to define specific "Tiers" or recipes. When a player inserts the correct combination of cards into the device, it consumes them and rolls for a random reward from that tier's custom loot pool.

***

#### ⚙️ How the Structure Works

| **Property**       | **Type** | **Description**                                                                                                      |
| ------------------ | -------- | -------------------------------------------------------------------------------------------------------------------- |
| `Tiers`            | `Array`  | The master list containing all the different Transmuter recipes.                                                     |
| `TierName`         | `String` | The internal name for the tier (e.g., `"NormalGuns"` or `"LegendaryItems"`).                                         |
| `RequiredCards`    | `Array`  | The exact classnames of the items (usually 4 cards) the player must place into the Transmuter to activate this tier. |
| `PotentialRewards` | `Array`  | CRITICAL: The loot pool the device will pick from. Must be formatted as `"Classname,Chance"`.                        |

**💡 Quick Guide: Balancing the Loot Pool (The Chance System)**

The `PotentialRewards` array uses a comma-separated format: `"ItemClassname,Weight"`.

* The `Weight` (or chance) is a decimal number (like `0.1`, `0.8`, or `1.0`).
* Higher numbers mean the item is much more likely to be chosen. Lower numbers (like `0.1`) should be used for ultra-rare jackpot items.
* Format Rule: Never use spaces around the comma.
  * *Correct:* `"mwp1_sniperrifle_1,0.1"`
  * *Incorrect:* `"mwp1_sniperrifle_1", 0.1`

***

#### 💻 Example Configuration

Below is a condensed example showing how to set up a basic Gun and Item tier. *(Note: The default config contains hundreds of weapons and items, this snippet is just to show the proper structure).*

JSON

```
{
  "Tiers": [
    {
      "TierName": "NormalGuns",
      "RequiredCards": [
        "LNG_Card_Gun_Normal_1",
        "LNG_Card_Gun_Normal_2",
        "LNG_Card_Gun_Normal_3",
        "LNG_Card_Gun_Normal_4"
      ],
      "PotentialRewards": [
        "mwp1_sniperrifle_1,0.1",
        "mwp1_mashinegun_1,0.1",
        "KCG_W_TSRS_T1_Black,0.8",
        "BZ_Snafu_Baller_Black,0.8"
      ]
    },
    {
      "TierName": "LegendaryItems",
      "RequiredCards": [
        "LNG_Card_Item_Legendary_1",
        "LNG_Card_Item_Legendary_2",
        "LNG_Card_Item_Legendary_3",
        "LNG_Card_Item_Legendary_4"
      ],
      "PotentialRewards": [
        "YRTSK_Powerful_CarBattery,1.0",
        "sci_fi_sword,0.5",
        "Meru_invis_NVG_Headstrap,0.1",
        "Gems_Super_1,0.1"
      ]
    }
  ]
}
```

***


---

# 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://lng.gitbook.io/lng-docs/companion-mod/basics/profiles-lngcompanion-transmuterconfig-json.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.
