Restrict Commands trait question.


For a module cleanness purpose I would like to keep as little keyboard commands as possible.
Question: is there a way to keep the same key command for two different traits (used in the same game piece:)) but block(disable) one or the other depending on a certain game piece conditions?
Is there a way to indicate that the same key command belongs to two different traits and not disable them as one?
Is there more restrict traits (e.g. restrict prototype, restrict specific trait)?