You are viewing a potentially older version of this package. View all versions.
SpecialCircumstances-ForgeSmartToggle-0.2.0 icon

ForgeSmartToggle

Adds a third Hybrid state to the in-battle forge toggle: forges as normal, but spends no Forge Points on cheap swarm units. Skips Morsels, Imps and Whelps by default, and the list is configurable.

Date uploaded 2 days ago
Version 0.2.0
Download link SpecialCircumstances-ForgeSmartToggle-0.2.0.zip
Downloads 4
Dependency string SpecialCircumstances-ForgeSmartToggle-0.2.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
MT2-Trainworks_Reloaded-0.7.2 icon
MT2-Trainworks_Reloaded

A Data Loader and Injection Engine for Monster Train 2

Preferred version: 0.7.2
Conductor-Conductor-0.4.1 icon
Conductor-Conductor

Central library of reusable custom effects, status effects, and keywords to make modding Monster Train 2 safer and easier, used as a dependency for other mods.

Preferred version: 0.4.1

README

ForgeSmartToggle

A Monster Train 2 mod that adds a third Hybrid state to the in-battle forge toggle, so cheap swarm units stop eating your Forge Points.

The toggle now cycles through three states instead of two, in whichever of the two orders you configure — Normal → Hybrid → Disabled (the default) or Normal → Disabled → Hybrid. Hybrid behaves exactly like Normal, except that playing a unit whose subtype is on the skip list spends no Forge Points. Hybrid is marked by tinting the toggle orange and pinning an orange H badge to its corner; the tooltip gains a "(Hybrid)" suffix and lists the subtypes being skipped.

Both orders are the same three-state cycle, so the one you pick decides what a single press does: with Normal → Hybrid → Disabled one press from Disabled turns forging on as Normal, while with Normal → Disabled → Hybrid one press turns forging off again from Normal and the press after that enters Hybrid.

Configuration

BepInEx/config/ForgeSmartToggle.cfg

Key Default Meaning
Hybrid.Enabled true Whether the Hybrid state exists at all. When disabled, the toggle stays plain Off → On → Off.
Hybrid.ToggleOrder NormalHybridDisabled Order the three states cycle in. NormalHybridDisabled for Normal → Hybrid → Disabled → Normal, NormalDisabledHybrid for Normal → Disabled → Hybrid → Normal.
Hybrid.SkippedSubtypes Morsel, Imp, Whelp Comma-separated unit subtypes that don't consume Forge Points in Hybrid. Matched case-insensitively as a substring of both the subtype key and its localized name. Leave it empty and Hybrid skips nothing (the tooltip says so).

Install

Use a mod manager (r2modman / Thunderstore Mod Manager) and install SpecialCircumstances-ForgeSmartToggle. Dependencies are pulled in automatically:

  • BepInEx 5.4.2100
  • Trainworks Reloaded 0.7.2
  • Conductor 0.4.1

Manual install: drop ForgeSmartToggle.dll into BepInEx/plugins/.

Notes

Only units you play yourself are exempted, and only by the subtypes of the character they spawn — units summoned by a card's effects, and spell cards, are unaffected either way.

The third state lives entirely mod-side — the game's own forge toggle stays true while in Hybrid, so save data and replays are unaffected. Anything that sets the toggle directly (new run, replay, undo) falls back to plain On/Off.

Build

dotnet build

The output DLL is copied to ../../mt2-plugins/ForgeSmartToggle after every build (PluginDeployDir in ForgeSmartToggle.csproj) — point that at your BepInEx/plugins folder to test in-game directly.

Harmony patches live in ForgeSmartToggle/patches/; the forge logic is HybridForgePatch.cs.

Publishing to Thunderstore is driven by thunderstore.toml via tcli; the VS Code tasks in .vscode/tasks.json build, validate and publish the package.

License

See LICENSE.