SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Consider default content source for content.Load<T>

Pathoschild opened this issue ยท 2 comments

commented

The content API added by #257 lets you load content from the mod folder or game content:

helper.Content.Load<T>("asset key", ContentSource.ModFolder);
helper.Content.Load<T>("asset key", ContentSource.GameContent);

Per request, should it assume the mod folder if you don't specify a content source?

helper.Content.Load<T>("asset key");
helper.Content.Load<T>("asset key", ContentSource.GameContent);
commented

๐Ÿ‘ from me, as the content API matures and eventually Farmhand becomes available, more and more content will be loaded from mods, having to explicitly define "I want my content from mods" is counter-intuitive in my opinion.

commented

The consensus on Discord is in favour. Done in develop for the next SMAPI release. :)