Enable asset loader priority
Pathoschild opened this issue ยท 2 comments
Let mods provide a low-priority loader for an asset. This is essentially identical to the current IAssetLoader
except for conflict resolution: if another mod also loads the asset, SMAPI will ignore the low-priority loader.
Background
Mods often have custom assets (like a tractor sprite) which players want to customise. Currently they can only do that by replacing the asset file in the mod folder. With a low-priority loader, mods could support Content Patcher packs that load a custom version of their sprite.
To do
- Add support for low-priority loaders.
- Document a convention for editable custom assets (e.g.
Content/Mods/<mod name>/<asset name>
).
This will be addressed by #766.