Finding Thayar I

In Cryptography teasers, a phrase or expressions has been encoded in some way (frequently by replacing letters with other letters). You need to figure out the encoding method and then decode the message to find the answer.

There were once three travelers, Medster, Glake and L'antos. They were in search of an evil king, Thayar. While on their search, they came upon a door that they had to go through, but it had an odd lock, consisting of three levers (red, orange and blue), and a padlock. The answer of how to open it appeared to be in some sort of code engraved on the door. It said:

Hint

Answer

Pull the blue lever, then red lever, then dial '4, 14, 24' on the padlock, and then pull the orange lever.

Cryptogram Solved:
The orange lever is pulled after the padlock is solved, which is after the red lever, which is pulled after the blue lever. The lock's first number is 10 less than the second, and the third is 20 more than the first. The total of all the added numbers in the combination is 42.