Ligand information for scripts
| Case number: | 845813-988415 |
| Topic: | Game: Tools |
| Opened by: | Crashguard303 |
| Status: | Resolved |
| Assigned: | Seth Cooper |
| Priority: | 3 |
| Type: | Suggestion |
| Opened on: | Tuesday, September 7, 2010 - 10:16 |
| Last modified: | Wednesday, February 22, 2012 - 22:07 |
Hi,
Last days and now, we are dealing with TNT puzzles, which are ligand puzzles.
As the ligand (last segment) is a special puzzle segment, it needs special threatment, and can't be mutated for example (which is understandable), but mutating scripts don't "know" this and sometimes try it, causing script termination.
So, I want to remind how useful it would be to get a boolean information, if this is a ligand puzzle or not,
for example
puzzle_is_ligand()
which would respond true if this is a ligand puzzle, and false if it is not.
It could also be realized witha
is_mutable(Index)
function, which returns true if changing the amino-acids for segment "Index" is allowed, and false, if not.
Thanks in advance,
Alex


We can write scripts this way, that they can try which segment is mutable,
but it takes some time and is goofy, because the game already "knows" which segment-sidechains are allowed to be changed, and this mutable-test can't work on the ligand.
See also this related thread:
http://fold.it/portal/node/988292