Wishes: Difference between revisions

Mechalink (talk | contribs)
No edit summary
Starfungus (talk | contribs)
added startbattle and starfreight:spindle
 
(11 intermediate revisions by 6 users not shown)
Line 22: Line 22:
Most wish commands are strictly case-sensitive. Keep that in mind when using any of the wishes below. For example, wishing <code>dismember:Tail</code> will dismember your tail (if you have a tail), but wishing <code>Dismember:Tail</code> will spawn a {{f|schematics drafter}} because the latter wish does not exactly match a wish command.
Most wish commands are strictly case-sensitive. Keep that in mind when using any of the wishes below. For example, wishing <code>dismember:Tail</code> will dismember your tail (if you have a tail), but wishing <code>Dismember:Tail</code> will spawn a {{f|schematics drafter}} because the latter wish does not exactly match a wish command.


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 and quests, 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 quest begins that quest.


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.
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.
Line 109: Line 109:
{{Space}}
{{Space}}
As of [https://freeholdgames.itch.io/cavesofqud/devlog/790973/feature-friday-august-30-2024 207.98], the multiplier is stored as a float in the game's state dictionary and persists on save load.}}
As of [https://freeholdgames.itch.io/cavesofqud/devlog/790973/feature-friday-august-30-2024 207.98], the multiplier is stored as a float in the game's state dictionary and persists on save load.}}
{{Wish|name=xp|usage=xp:<amount>|synopsis=Grant XP|description=Warning: this can get very loud.}}
{{Wish|name=xp|usage=xp:<amount>|synopsis=Grant XP (experience points)|description=Warning: this can get very loud.}}
{{Wish|name=xpverbose|usage=xpverbose:<amount>|synopsis=Grant XP without skipping level-up popups}}
{{Wish|name=xpverbose|usage=xpverbose:<amount>|synopsis=Grant XP without skipping level-up popups}}


Line 186: Line 186:
{{Wish|name=stage11|usage=stage11 OR reefjump|synopsis=Completes quests through the Tomb of the Eaters and teleports the player to [[Gyl]]}}  
{{Wish|name=stage11|usage=stage11 OR reefjump|synopsis=Completes quests through the Tomb of the Eaters and teleports the player to [[Gyl]]}}  
{{Wish|name=postgolem|usage=postgolem|synopsis=Advances you to having completed the quest 'The Golem', and makes all Golem build options available to you while teleporting you to the Mound so you can make your Golem. This is an abnormal game state.}}
{{Wish|name=postgolem|usage=postgolem|synopsis=Advances you to having completed the quest 'The Golem', and makes all Golem build options available to you while teleporting you to the Mound so you can make your Golem. This is an abnormal game state.}}
{{Wish|name=startbattle|synopsis=Places you in the Court of the Sultans at {{f|Omonporch}}, with {{favilink|barathrum the old}}, a special mound of scrap and clay that lets you choose between many different options without needing their prerequisites so you can create a custom Golem, two chests with endgame equipment, {{f id|Hamilcrab}}, a high level {{favilink|dromad trader}}, enough XP to reach level 37, and the quests [[We Are Starfreight]] and [[Reclamation]].}}
{{Wish|name=starfreight:spindle|synopsis=Places you in the ascension chamber, with a randomly generated Golem, {{favilink|barathrum the old}}, enough XP to reach level 37, and the quest [[We Are Starfreight]].}}
{{Wish|name=sherlock|synopsis=Complete [[Find Eskhind]], start [[Kith and Kin]], add all clues to the journal, and spawn [[Neelahind]]}}
{{Wish|name=sherlock|synopsis=Complete [[Find Eskhind]], start [[Kith and Kin]], add all clues to the journal, and spawn [[Neelahind]]}}
{{Wish|name=hindrenawardtest|usage=hindrenawardtest,<Motive>,<Circumstance>,<Thief>|synopsis=Grant a reward for [[Kith and Kin]] based on the arguments}}
{{Wish|name=hindrenawardtest|usage=hindrenawardtest,<Motive>,<Circumstance>,<Thief>|synopsis=Grant a reward for [[Kith and Kin]] based on the arguments}}
Line 221: Line 223:
* Lair of {{favilink|Girsh Bethsaida}}: <code>$bethsaidalair</code>
* Lair of {{favilink|Girsh Bethsaida}}: <code>$bethsaidalair</code>
* Lair of {{favilink|Girsh Qas}} and {{favilink|Girsh Qon}}: <code>$qasqonlair</code>
* Lair of {{favilink|Girsh Qas}} and {{favilink|Girsh Qon}}: <code>$qasqonlair</code>
* location of the generated [[Great Machine]] artifact: <code>$greatmachineartifact</code>


}}
}}
Line 287: Line 290:
{{Wish|name=rivertest|synopsis=Generates a river in the current zone}}
{{Wish|name=rivertest|synopsis=Generates a river in the current zone}}
{{Wish|name=roadtest|synopsis=Generates a road in the current zone}}
{{Wish|name=roadtest|synopsis=Generates a road in the current zone}}
{{Wish|name=slynthasterisk|synopsis=Generates a {{favilink|N-pointed asterisk|10-pointed asterisk}}}}
{{Wish|name=slynthasterisk|usage=slynthasterisk [village ID]:[number of points]|synopsis=Generates a {{favilink|N-pointed asterisk}}|description=
If used without arguments, generates {{Qud shader|paisley|{{(}}The 10-Pointed Asterisk of the Ensemble{{)}}}}, which has all possible effects. If only the village ID argument is used, it generates with a random number of points. If the village ID argument doesn't match to a valid faction, it will be treated as a procedurally-generated village asterisk.
}}
{{Wish|name=smartitem|usage=smartitem:<id>|synopsis=Create a sapient item|description={{Missing info|Which qualities?}}
{{Wish|name=smartitem|usage=smartitem:<id>|synopsis=Create a sapient item|description={{Missing info|Which qualities?}}
An object blueprint is chosen from among blueprints with certain qualities using a Levenshtein distance algorithm, and an object of the closest matching blueprint is created in the same cell as the player body.
An object blueprint is chosen from among blueprints with certain qualities using a Levenshtein distance algorithm, and an object of the closest matching blueprint is created in the same cell as the player body.


This object has a unique name and is sapient, in a distinct way from those animated with {{Favilink|Spray-a-Brain}}. Each one likes one thing and hates another, and has a feeling towards the player quantified as a positive or negative integer or zero.
This object has a unique name and is sapient, in a distinct way from those animated with {{Favilink|Spray-a-Brain}}. Each one likes one thing and hates another, such as disliking when its wielder drinks certain fluids or liking specific factions, and has a feeling towards the player quantified as a positive or negative integer or zero. It's currently broken and can only generate liking/disliking beasts as a faction.


'''Speculation:''' There is no apparent way to influence the player attitude. It's likely that this feature is incomplete.}}
'''Speculation:''' There is no apparent way to influence the player attitude. It's likely that this feature is incomplete.}}
Line 345: Line 350:
{{Wish|name=fungalvision|synopsis=Act as if you ate an {{favilink|Eater's flesh}}|description=IMPORTANT: This visual effect '''cannot be removed from your character''' once wished for!<ref>[https://bitbucket.org/bbucklew/cavesofqud-public-issue-tracker/issues/3031 marked as a wontfix issue]</ref> If you really need to remove it, you'll have to install and use [https://gist.github.com/egocarib/2b5e1568b93c0a03e41de95bfacfd09c some custom wish code].}}
{{Wish|name=fungalvision|synopsis=Act as if you ate an {{favilink|Eater's flesh}}|description=IMPORTANT: This visual effect '''cannot be removed from your character''' once wished for!<ref>[https://bitbucket.org/bbucklew/cavesofqud-public-issue-tracker/issues/3031 marked as a wontfix issue]</ref> If you really need to remove it, you'll have to install and use [https://gist.github.com/egocarib/2b5e1568b93c0a03e41de95bfacfd09c some custom wish code].}}
{{Wish|name=garbagetest|synopsis=Test the garbage collector}}
{{Wish|name=garbagetest|synopsis=Test the garbage collector}}
{{Wish|name=goend|synopsis=Lets the player choose one of the five ending types, either as its standard or super variant, and rolls the end credits, ending the run.|description='''IMPORTANT: This irreversibly ends the run, and cannot be taken back once the wish has been entered. Do not use this wish if you want to preserve your character!'''}}
{{Wish|name=gocoda|synopsis=Lets the player choose one of the five ending types, either as its standard or super variant, and ends the run without rolling the end credits.|description='''IMPORTANT: This irreversibly ends the run, and cannot be taken back once the wish has been entered. Do not use this wish if you want to preserve your character!'''}}
{{Wish|name=groundliquid|synopsis=Display the ground liquid in the player's cell}}
{{Wish|name=groundliquid|synopsis=Display the ground liquid in the player's cell}}
{{Wish|name=hasblueprintbeenseen|usage=hasblueprintbeenseen:<blueprint>|synopsis=When supplied the name of an object blueprint as defined in <code>ObjectBlueprints.xml</code>, returns whether or not the player has seen that object}}
{{Wish|name=hasblueprintbeenseen|usage=hasblueprintbeenseen:<blueprint>|synopsis=When supplied the name of an object blueprint as defined in <code>ObjectBlueprints.xml</code>, returns whether or not the player has seen that object}}
Line 442: Line 449:
{{Wish|name=memtest}}
{{Wish|name=memtest}}
{{Wish|name=objtest}}
{{Wish|name=objtest}}
{{Wish|name=opinion}}
{{Wish|name=opinion:<faction>|synopsis=Displays in a popup the player's reputation with the entered faction.}}
{{Wish|name=pushgameview|usage=pushgameview <view>}}
{{Wish|name=pushgameview|usage=pushgameview <view>}}
{{Wish|name=regeneratedefaultequipment}}
{{Wish|name=regeneratedefaultequipment}}
Line 487: Line 494:
** {{favilink|Ezra}}: <code>goto:JoppaWorld.53.4.0.0.10</code>
** {{favilink|Ezra}}: <code>goto:JoppaWorld.53.4.0.0.10</code>
* The wish <code>setstringgamestate:GameMode:Roleplay</code> can be used to change a game into Roleplay mode.
* The wish <code>setstringgamestate:GameMode:Roleplay</code> can be used to change a game into Roleplay mode.
** If you want to change your color using a {{f|Tattoo gun}}. But are inorganic (robotic/crystal) It is technically possible if you use the Wish command for the fungal infection Glowcrust. This will allow you to tattoo the fungal outcrop. As it will be forcibly added and organic.


= References =
= References =