Bale
Minion
KingBobson has figured out how Rethinking Candy works. Unfortunately for us it reveals that there are two levels of candy. He calls them simple and complex, but we could call them level 1 and level 2 candies. Or whatever. Regardless, as candy level gets spaded we need to be able to add that information to KoLmafia's data files.
BTW, here's the deal for Rethinking Candy: http://forums.kingdomofloathing.com/vb/showpost.php?p=4890935&postcount=568
BTW, here's the deal for Rethinking Candy: http://forums.kingdomofloathing.com/vb/showpost.php?p=4890935&postcount=568
Paraphrased from KingBobson's post said:The effects have different effect images; either molecule1.gif, molecule2.gif, or molecule3.gif. I'm going to assume they're tiered.
Tier 1, #0 - Synthesis: Hot. Sublime (+9) Hot resistance.
Tier 1, #1 - Synthesis: Cold. Sublime (+9) Cold resistance.
Tier 1, #2 - Synthesis: Pungent. Sublime (+9) Stench resistance.
Tier 1, #3 - Synthesis: Scary. Sublime (+9) Spooky resistance.
Tier 1, #4 - Synthesis: Greasy. Sublime (+9) Sleaze resistance.
Tier 2, #0 - Synthesis: Strong. +300% Muscle.
Tier 2, #1 - Synthesis: Smart. +300% Mysticality.
Tier 2, #2 - Synthesis: Cool. +300% Moxie.
Tier 2, #3 - Synthesis: Hardy. +300% Maximum HP.
Tier 2, #4 - Synthesis: Energy. +300% Maximum MP.
Tier 3, #0 - Synthesis: Greed. +300% Meat.
Tier 3, #1 - Synthesis: Collection. +150% Items.
Tier 3, #2 - Synthesis: Movement. +50% Muscle gains.
Tier 3, #3 - Synthesis: Learning. +50% Mysticality gains.
Tier 3, #4 - Synthesis: Style. +50% Moxie gains.
Every buff has a 'number', 0-4, and a tier. It's sorted by effect ID.
The maths for seeing what number of the correct buff tier you get is just (item1ID + item2ID) % 5.
Tier 1 is for mixing simple and simple candies,
Tier 2 for simple and complex (or complex and simple),
Tier 3 is for complex and complex.
As an example: bag of W&Ws has itemID 6835. (6835 + 6835) % 5 = 0, so that means you get buff #0. Since bag of W&Ws is a complex candy, you get Synthesis: Greed.
(Note: Because of how modulo and addition interact, you can perform it individually on every item before combining them, if that makes it easier. So you could call W&Ws #0, and then you'd know if you combined it with a #4 you'd get buff #(0+4 = 4). Of course, if that addition leads to #7 or something, then you have to subtract five to get the real answer, #2).
The only thing left to investigate is what makes a candy simple rather than complex. I have no idea, but there is certainly a rule behind it, because I am able to consistently predict ahead of time which one it'll be. All Halloween candies are complex, I believe, but there are non-Halloween candies that are too (for example, peanut-brittle shield). Any candy that you can get a 'normal, non-Halloween' way is simple, but that seems hard to nail down.
Last edited: