# gathzilla6160/rbsg-mod architecture

> Architecture diagram of the GitHub repository gathzilla6160/rbsg-mod, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gathzilla6160/rbsg-mod
- Repository: https://github.com/gathzilla6160/rbsg-mod

## Overview

RBsG is a Balatro content mod. Its documented capabilities are custom Jokers, Enhancements, Consumables, Booster Packs, and Editions; the tree provides matching source directories. The README identifies Balatro, Steamodded, and Lovely as requirements. No source excerpts were provided, so relationships among code and assets are not inferred.

Main entry points: [`main.lua`](https://github.com/gathzilla6160/rbsg-mod/blob/main/main.lua) (RBsG mod), [`src/jokers`](https://github.com/gathzilla6160/rbsg-mod/tree/main/src/jokers) (Custom Jokers), [`src/enhancements`](https://github.com/gathzilla6160/rbsg-mod/tree/main/src/enhancements) (Custom Enhancements), [`src/consumables`](https://github.com/gathzilla6160/rbsg-mod/tree/main/src/consumables) (Custom Consumables)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_mod["Mod"]
  node_rbsg["RBsG mod<br/>[main.lua]"]
end

subgraph group_content["Gameplay Content"]
  node_jokers["Custom Jokers"]
  node_enhancements["Custom Enhancements"]
  node_consumables["Custom Consumables"]
  node_boosters["Custom Booster Pack"]
  node_editions["Custom Editions"]
end

subgraph group_resources["Resources"]
  node_shaders["Shader assets"]
  node_localization["Localization<br/>[en-us.lua]"]
end

node_balatro["Balatro"]
node_steamodded["Steamodded"]
node_lovely["Lovely"]

node_rbsg -->|"requires"| node_balatro
node_rbsg -->|"requires"| node_steamodded
node_rbsg -->|"requires"| node_lovely
node_rbsg -->|"adds"| node_jokers
node_rbsg -->|"adds"| node_enhancements
node_rbsg -->|"adds"| node_consumables
node_rbsg -->|"adds"| node_boosters
node_rbsg -->|"adds"| node_editions

click node_rbsg "https://github.com/gathzilla6160/rbsg-mod/blob/main/main.lua"
click node_jokers "https://github.com/gathzilla6160/rbsg-mod/tree/main/src/jokers"
click node_enhancements "https://github.com/gathzilla6160/rbsg-mod/tree/main/src/enhancements"
click node_consumables "https://github.com/gathzilla6160/rbsg-mod/tree/main/src/consumables"
click node_boosters "https://github.com/gathzilla6160/rbsg-mod/tree/main/src/boosters"
click node_editions "https://github.com/gathzilla6160/rbsg-mod/tree/main/src/editions"
click node_shaders "https://github.com/gathzilla6160/rbsg-mod/tree/main/assets/shaders"
click node_localization "https://github.com/gathzilla6160/rbsg-mod/blob/main/localization/en-us.lua"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_rbsg toneBlue
class node_jokers,node_enhancements,node_consumables,node_boosters,node_editions toneAmber
class node_shaders,node_localization toneMint
class node_balatro,node_steamodded,node_lovely toneIndigo
```

## Components

### Mod

- [RBsG mod](https://github.com/gathzilla6160/rbsg-mod/blob/main/main.lua): `main.lua`

### Gameplay Content

- [Custom Jokers](https://github.com/gathzilla6160/rbsg-mod/tree/main/src/jokers): `src/jokers`
- [Custom Enhancements](https://github.com/gathzilla6160/rbsg-mod/tree/main/src/enhancements): `src/enhancements`
- [Custom Consumables](https://github.com/gathzilla6160/rbsg-mod/tree/main/src/consumables): `src/consumables`
- [Custom Booster Pack](https://github.com/gathzilla6160/rbsg-mod/tree/main/src/boosters): `src/boosters`
- [Custom Editions](https://github.com/gathzilla6160/rbsg-mod/tree/main/src/editions): `src/editions`

### Resources

- [Shader assets](https://github.com/gathzilla6160/rbsg-mod/tree/main/assets/shaders): `assets/shaders`
- [Localization](https://github.com/gathzilla6160/rbsg-mod/blob/main/localization/en-us.lua): `localization/en-us.lua`

### Other components

- **Balatro**
- **Steamodded**
- **Lovely**

## Connections

- RBsG mod → Balatro: requires (evidence: `README.md`)
- RBsG mod → Steamodded: requires (evidence: `README.md`)
- RBsG mod → Lovely: requires (evidence: `README.md`)
- RBsG mod → Custom Jokers: adds (evidence: `README.md`)
- RBsG mod → Custom Enhancements: adds (evidence: `README.md`)
- RBsG mod → Custom Consumables: adds (evidence: `README.md`)
- RBsG mod → Custom Booster Pack: adds (evidence: `README.md`)
- RBsG mod → Custom Editions: adds (evidence: `README.md`)
