Photoshop accepts javascript, vbscript and applescript but I think the last one only works on mac.
There are pdf guide for coding for each of the language.
Applescript is close to written English.
I'll have a look at them and I'll try to code maybe.
I'll probably just end up using your script.
It's not so bad if it doesn't work in PS. Anyone can get Gimp and Install it. Unlike PS which cost money.
________________________________________________
Btw, I've found a ways to simplify the temperature.
let's begin with those that have no impact because they are always identical.
The funky colours on the right side. They are always wet. Green, orange and yellow.
Super Hot + hot and Super hot + warm always have the same climate, so we can keep only one of them. in yellow
Super hot+cool and very hot+cool are identical. in yellow too
Hot+very cold and super hot + super cold are identical. In red
changes
sheet18.png