8,290
edits
mNo edit summary |
mNo edit summary |
||
Line 23: | Line 23: | ||
Entering any input that does not exactly match a wish command will perform a lexigraphic search (using a [https://en.wikipedia.org/wiki/Levenshtein_distance Levenshtein distance algorithm]) on object blueprints, mutations, quests, and zones, and attempt the best match it can find.{{Code Reference|namespace=XRL|class=WishSearcher|method=SearchForWish}} Matching on an object blueprint spawns that object; matching on a mutation grants that mutation; matching on a quest begins that quest; and matching on a zone teleports to that zone. | Entering any input that does not exactly match a wish command will perform a lexigraphic search (using a [https://en.wikipedia.org/wiki/Levenshtein_distance Levenshtein distance algorithm]) on object blueprints, mutations, quests, and zones, and attempt the best match it can find.{{Code Reference|namespace=XRL|class=WishSearcher|method=SearchForWish}} Matching on an object blueprint spawns that object; matching on a mutation grants that mutation; matching on a quest begins that quest; and matching on a zone teleports to that zone. | ||
A very common problem that occurs when a wish goes wrong is that your character will gain an undesirable mutation with a name that is somewhat similar to your wish command. If this happens to you, use the <code>mutationbgone</code> wish to remove the mutation. | |||
== List of wishes == | == List of wishes == |