premium banner
Gives planted flowers a chance to be prismatic!

Description

Description

By default, this mod gives randomly-colored flowers a 5% chance to be prismatic, meaning their color cycles through the rainbow in real-time.

You can also use Fairy Dust to make a planted crop flower prismatic.

Default prismatic cycling speed is pretty slow, so it can be difficult to notice a prismatic flower at first. You can increase the cycling speed for flower crops and picked flowers in the config.

By default, all crops and picked flowers cycle simultaneously. You can chage the cycling patterns for both flower crops and picked flowers by setting CropPattern and ObjectPattern in the config. Possible values are:


  • None

  • Random

  • Up

  • Down

  • Left

  • Right

Up, Down, Left, and Right only work for flower crops, the pattern will cause growing flowers to cycle in waves based on the flower's x or y tile coordinate. This video shows three different types of prismatism in action:




Technical

You can set the mod to ignore certain flowers by adding them to the Ignore list in the config file. E.g.:

"Ignore":[

    "597"
]


You can set custom prismatism per flower type using Content Patcher, e.g.:

{

    "Action": "EditData",
    "Target": "aedenthorn.PrismaticFlowers/dict",
    "Entries": {
        "597":                
        {
            "Chance":100,
            "Offset":0,
            "CropType":"None",
            "ObjectType":"None",
            "TimeOffset":0,
            "Speed":1.0,
            "Chance":100,
            "Color1": "#237FFF",
            "Color2": "#BFE4FF"
           
        }
    }
}


This causes prismatic Blue Jazz to cycle between two blue colors instead of the rainbow (as per the video above)

You can use GMCM to edit config values (except for the Ignore list).

Source code is at https://github.com/aedenthorn/StardewValleyMods/