Bruno Kestemont Lv 1
structure.CanMutate(integer segmentIndex, string aminoAcid)
Is it possible to add an option like "forbidden" (impossible to mutate) or "penalized" (not recommended to mutate because penalties or no bonus).
I suggest:
structure.CanMutate(integer segmentIndex, string aminoAcid [, forbidded])
where:
forbidded = true (default) => Foldit would not allow a mutation to this aa
forbidded = false => You may mutate but at own risk (you will loose bonus or gain penalties)
Thus, for example
structure.CanMutate(3, g, true) = structure.CanMutate(3, g)
will return false if no mutation is even possible
structure.CanMutate(3, g, false)
will return false if mutation is allowed but penalized