ItemVariantSync
Syncs item variants between clients and uses DawnLib to persist bertween lobby loads. RuntimeIcons compatability.Makes items with variants (paintings, flasks, mugs, etc) identical for every player and persistent across lobby loads.
- Host-authoritative assignment - the host rolls each eligible item's variant once, applies it, and broadcasts it.
- Everyone converges - clients apply assignments on item spawn, after vanilla's late re-roll, and on join via a full-table pull.
- Persistence - variant data uses DawnLib's per-item save pipeline to have variants persist between reloading lobbies.
- RuntimeIcons compatibility - Yeah.
- Collected-scrap popup fix - vanilla's bottom-right hologram popup when collecting scrap now uses the item instance's actual mesh.
