Open xangriaz opened 7 years ago
Maybe even bigger craftables! Big machines!
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...
With the new content API this is now realistically doable if a lot of work.
@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.
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.