In "core existance" objective in design puzzles, we can see orange green and blue residues (with "show" option).
It can be usefull to detect them by a lua function.
It can be for a specific residue, or / and get different lists of all orange green and blue residues.
(get only all oranges, or just if a specific residue is orange, blue..)
The idea is to later create a script that do different opperations on each type, to work on core and residues outside differently.
Of course, it should be independant if the "core existance" objective is in the puzzle or not. Can be usefull in other kind of puzzles.
What I talked is this : https://foldit.fandom.com/wiki/Core
The "orange / blue / green" property of a segment.
(It is not a subscore value that we can get with GetSegmentEnergySubscore. we need a new function I think for that).
I would be very interested in this as well. This is because one would typically want to set the core-segments to something hydrophobic like valine directly. Currently I use "hiding" or "packing" subscore for this but it is not the same. The information of orange/blue/green is obviously there and it would be really helpful if we could get lua-access to it.
Greets, iwdn