With this mod, you can create a Content Patcher pack that points to a png file with a partial or full furniture texture and that texture will be drawn as prismatic when drawing the associated furniture.
An example content.json file:
{
<br /> "Format": "1.25.0",
<br /> "Changes": [
<br /> {
<br /> "Action": "Load",
<br /> "Target": "aedenthorn.PrismaticBed",
<br /> "FromFile": "assets/bed.png"
<br /> },
<br /> {
<br /> "Action": "EditData",
<br /> "Target": "aedenthorn.PrismaticFurniture/dictionary",
<br /> "Entries": {
<br /> "Bed": {
<br /> "id": "Bed",
<br /> "texturePath": "aedenthorn.PrismaticBed",
<br /> "speed":2
<br /> }
<br /> }
<br /> }
<br /> ]
<br />}
"speed" refers to how fast color shifting occurs. The entry keys should be the name of the furniture (not the display name).
You can also set a decimal "offset", to start the shifting on a different color, though I haven't tested to see how that works.
The png file should be the same size as the furniture source rectangle on the spritesheet, including variations (rotation, on/off, etc.).
An example pack is here.
Technical
Requires SMAPI, uses Harmony.
Compatible with Mod Updater for automatic updates.
Code is at https://github.com/aedenthorn/StardewValleyMods.
If you want to complain or ask for help or help me test my mods, you can visit my Discord server.
A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.