8,290
edits
mNo edit summary |
m (add intro text to "Spawning Things" section) |
||
Line 273: | Line 273: | ||
=== Spawning things === | === Spawning things === | ||
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. | |||
<u>Generally this means that, to spawn a specific object, you can simply wish for its object ID.</u> | |||
Object IDs are listed on each wiki page in the '''ID''' field of the infobox. | |||
{{Wish|name=allbox|synopsis=Create a chest with every object in the game}} | {{Wish|name=allbox|synopsis=Create a chest with every object in the game}} |