1,046
edits
(wishes! rehaul!! (copied from User:Heladodebrownie/Sandbox/Wishes)) |
m (→List of wishes: relink levenshtein distance) |
||
Line 22: | Line 22: | ||
Here wishes are sorted into headings based on what they do. Consider using the table of contents at the beginning of this article to jump to a topic of interest. | Here wishes are sorted into headings based on what they do. Consider using the table of contents at the beginning of this article to jump to a topic of interest. | ||
Entering any input not covered by a more specific wish will perform a lexigraphic search (using a 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 not covered by a more specific wish 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. | ||
In the names of wishes, <code><</code> angle brackets <code>></code> indicate a blank to fill in and <code>[</code> square brackets <code>]</code> indicate an optional part. | In the names of wishes, <code><</code> angle brackets <code>></code> indicate a blank to fill in and <code>[</code> square brackets <code>]</code> indicate an optional part. |