Lua : detect Core

Started by nspc

nspc Lv 1

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.

nspc Lv 1

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.

ichwilldiesennamen Lv 1

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