StardewModders / mod-ideas

Submit ideas for mods to create, or find your next mod project!
93 stars 5 forks source link

Custom Craftables Appearance #68

Open xangriaz opened 7 years ago

xangriaz commented 7 years ago

Idea: Framework to allow for custom craftable item appearances.

Right now, if we want to change the look of chests, scarecrows, lamps, etc., we have to combine multiple textures into the craftables.xnb file or choose just one mod.

My idea is that a smapi mod could load custom textures for each craftable item separately, similar to what Customize Exterior does for farm buildings.

Example: The mod loads a Custom Craftables folder that holds the appearances upon starting the game. In this folder, you could place a Scarecrow folder with a png and json, and instead of loading the default texture, the scarecrow would take the custom appearance.

I don't know quite enough to code this myself, but from a bit of digging around, I think you would need to overwrite the Object draw(...) function that loads the bigCraftable appearance to redirect the source to the custom files.

Yoseiri commented 7 years ago

Maybe even bigger craftables! Big machines!

Warilized commented 7 years ago

And also support Custom Machines!...

No jk, replacing vanilla sprite is enough for me (I'm also interested in this, some vanilla craftables is a bit... lmao) But, that would be awesome tho...

Entoarox commented 6 years ago

With the new content API this is now realistically doable if a lot of work.

xangriaz commented 6 years ago

@Entoarox Good to know! I still don't think my skills are up to it, but I'll hold out hope that someone can make it happen.