> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectx.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Open Source

> Open source files available for customization in the K4MB1 Oilrig Heist resource

## opensource/client/client.lua

Edit the `projectx-oilrigheist-k4mb1:client:Minigames` callback to change minigames per step.

| Step              | Minigame Resource | Function               |
| ----------------- | ----------------- | ---------------------- |
| `Fusebox1`        | `SN-Hacking`      | `Thermite`             |
| `Fusebox2`        | `SN-Hacking`      | `Thermite`             |
| `Fusebox3`        | `SN-Hacking`      | `Thermite`             |
| `Level1`          | `SN-Hacking`      | `MemoryCards` (easy)   |
| `Level2`          | `SN-Hacking`      | `MemoryCards` (medium) |
| `Level3`          | `SN-Hacking`      | `MemoryCards` (hard)   |
| `Laptop1`         | `SN-Hacking`      | `MemoryCards` (hard)   |
| `Generator`       | `SN-Hacking`      | `SkillBar`             |
| `ElectricFusebox` | `SN-Hacking`      | `SkillBar`             |
| `Laptop2`         | `SN-Hacking`      | `ColorPicker`          |
| `Laptop3`         | `SN-Hacking`      | `ColorPicker`          |
| `ControlRoom`     | *(skipped)*       | returns `true`         |
| `Wires`           | `bl_ui`           | `PathFind`             |
| `Crate`           | `pure-minigames`  | `numberCounter`        |

***

## opensource/server/server.lua

Includes bridge helpers, logging, `/projectxoilrig` admin reset, and hooks:

* `SuccessfulStep(source, step)`
* `FailedStep(source, step)`
* `InitialCheck(src, Interaction)`
* `RobberyResetHook()`
