Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Skillfern Triforce Compat Fix
Compatibility patch for SkillFern and Triforce. Prevents their shared Photon event code 187 from being misread by the other mod. Requires both originals.
By Doetope
| Last updated | 4 hours ago |
| Total downloads | 8 |
| Total rating | 0 |
| Categories | Mods Misc Items Upgrades AI Generated |
| Dependency string | Doetope-Skillfern_Triforce_Compat_Fix-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305Omniscye-Triforce
The Triforce Revives everyone, heals everyone, and blasts everything back.
Preferred version: 1.0.1DaJadeNinja-SkillFern
Replaces shop upgrades with a polished skill tree system
Preferred version: 1.2.0README
Skillfern-Triforce Compat Fix
A small compatibility patch for DaJadeNinja's SkillFern and Omniscye's Triforce.
What it fixes
SkillFern and Triforce both use Photon event code 187, but their payload formats are different. Without a guard, each mod can receive the other mod's packet and try to parse it as its own data. In the observed failure, Triforce attempted to convert SkillFern's Steam ID string into a float, throwing a FormatException and interrupting SkillFern's network upgrade handling.
This patch leaves both original mods installed and unchanged. At runtime it adds a small Harmony prefix to each event handler:
- Triforce only handles event 187 when the payload matches its expected four-value form:
int, float, float, float. - SkillFern only handles event 187 when the payload matches SkillFern's format, including the Steam ID string in slot 1.
- All non-187 events pass through untouched.
Requirements
- Omniscye - Triforce 1.0.1
- DaJadeNinja - SkillFern 1.2.0
Both are declared as Thunderstore package dependencies and remain the actual mods providing their features. This package does not contain or replace either original DLL.
Multiplayer
For consistent behavior, use the patch anywhere SkillFern and Triforce are being used together in the same lobby.
Credits
SkillFern is by DaJadeNinja. Triforce is by Omniscye. This package only provides compatibility logic between them.