Brotato mod
Weapon Borders
See the highest danger you have beaten with every starting weapon, per zone.
- Version
- 1.0.0
- Game version
- 1.2.0.0
- Requires
- Godot Mod Loader 6.3.0
- Updated
What it does
Brotato already shows the highest danger you have beaten on each character. Weapon Borders does the same for starting weapons. On the weapon select screen, each weapon gets the border color of the highest danger you have beaten while starting with it, in the current zone.
Weapons you haven't won with yet keep the normal look, so you can tell at a glance which weapons you haven't won with at higher dangers.
What the borders mean
The colors are the game's own character border colors, so they read the same way:
- No border: you haven't won a run starting with this weapon in this zone yet.
- Colored border: the highest danger (0 to 5) you have won with this weapon in this zone.
Borders are tracked per zone, so a weapon can have a high border in one zone and none in another.
What counts as a win
- Surviving wave 20, or killing the final boss.
- In endless mode, the run counts as soon as you survive wave 20.
- In co-op, every player's starting weapon gets credit.
- Only runs started with the mod installed are counted. The game doesn't save past starting weapons, so older wins can't be recovered.
How to install
- Subscribe to Weapon Borders on the Steam Workshop.
- Start Brotato. Workshop mods load automatically through the built-in mod loader.
- Win a run. Your starting weapon's border will show the next time you reach the weapon select screen.
To uninstall, unsubscribe on the Workshop. Your progress file stays in %APPDATA%\Brotato\ in case you come back.
Compatibility
- Built for Brotato 1.2.0.0 and Godot Mod Loader 6.3.0.
- It only touches the weapon select screen and the end-of-run hooks, so it should work alongside most other mods. If you find a conflict, open an issue on GitHub.
How we built it
Weapon Borders is a small Godot Mod Loader mod made of three script extensions and one data file:
weapon_selection.gdextends the weapon select screen. It records each player's starting picks when selections are confirmed, and repaints the weapon tiles whenever the grid is rebuilt (including when co-op players join).run_data.gdhooks the normal end of a run and records a win for each player's starting weapon at the current danger and zone.main.gdhandles endless mode, where the win is recorded the moment wave 20 is survived.weapon_borders_data.gdstores the best danger per zone and weapon in a small JSON file next to the game's own save.
To draw the borders we reuse the same function the game uses to color character tiles, so the colors always match. One catch: that function treats -1 as "use the item's own tier", and -1 is also the value for Danger 0. Passing it through directly hid every Danger 0 border, so the mod builds the style itself with an explicit tier. Only the tile's look changes. The weapon's data is never touched, because the selected tile becomes the actual weapon in your run.
The full source is on GitHub. For the backstory, read I Finally Built the Brotato Mod I Always Wanted.
FAQ
What counts as beating a danger with a weapon?
Surviving wave 20 or killing the final boss in a run you started with that weapon. In endless mode the run counts as soon as you survive wave 20.
Does it count wins from before I installed the mod?
No. Brotato does not save which weapon you started each past run with, so only runs started with the mod installed are recorded.
Is progress tracked separately for each zone?
Yes. Each zone has its own record. If you pick a random zone, the borders show the zone that was rolled, which is already decided by the time you reach the weapon select screen.
How does it work in co-op?
Every player's starting weapon gets credit when the run is won.
Where is my progress saved?
In %APPDATA%\Brotato\mod_weapon_borders.json on Windows. Delete that file to reset your borders.
Does it change gameplay?
No. It only changes how the weapon tiles look on the weapon select screen. The weapons themselves are not modified.
Which Brotato version does it support?
Brotato 1.2.0.0 with Godot Mod Loader 6.3.0.
More Brotato mods · All mods