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.
TossingQualityScrapFix
Fixes ZetArtifacts' Artifact of Tossing giving vanilla scrap instead of Quality scrap when you scrap a Quality item.
| Last updated | 2 weeks ago |
| Total downloads | 216 |
| Total rating | 0 |
| Categories | Mods Tweaks Artifacts Server-side AI Generated |
| Dependency string | Videowiz92-TossingQualityScrapFix-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
Goorakh-Quality
Boss Items update! Adds quality variants of items. Open Beta Release.
Preferred version: 0.8.5William758-ZetArtifacts
Artifacts: Bazaar, Revival, Tossing, Multitudes, Sanction, Accumulation, Escalation, Eclipse
Preferred version: 1.6.6README
TossingQualityScrapFix
A small side-loaded fix for ZetArtifacts' Artifact of Tossing, for players who also use the Quality (ItemQualities) mod. It patches ZetArtifacts in memory; no ZetArtifacts file is changed, and removing this mod restores the original behaviour.
The problem
With the Artifact of Tossing you can scrap an item from the inventory (RMB, or LeftAlt + RMB depending on your ZetArtifacts config). If the item has a Quality tier (e.g. an Epic Soldier's Syringe), the scrap that drops is plain vanilla scrap, so the quality is lost.
What this does
The scrap now matches the item's Quality tier: scrapping an Epic white item drops Epic White Scrap, a Legendary green drops Legendary Green Scrap, and so on (white, green, red and boss scrap). Items without a Quality tier behave exactly as before. Lunar scrap has no Quality variant in the Quality mod, so it stays as-is.
Config (com.videowiz92.tossingqualityscrapfix.cfg) |
Default | |
|---|---|---|
FixQualityScrap |
on | Turn the fix off without uninstalling. |
Requirements and multiplayer
- Requires ZetArtifacts (written against 1.6.6) and Quality (0.8.5); both install automatically as dependencies. The code treats Quality as optional, so if you remove it manually this mod simply does nothing.
- The item is scrapped on the host, so the host needs this mod. Clients do not.
- If a future ZetArtifacts changes the code this patches, the fix logs a warning and turns itself off instead of breaking anything.
For the ZetArtifacts author
This is a standalone fix so ZetArtifacts itself did not have to change. If you would like to build it in, the change is a few lines in
ZetDropifact.DropItem; see the source repository's docs/UPSTREAM.md. Feel free to use it, and once it is in ZetArtifacts this mod can be retired.