Difference between revisions of "Help:To Do List"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(Added all the CLI commands!)
imported>Bale
(Updated for kingLiberatedScript. Other stuff was already added to that page.)
Line 29: Line 29:
 
  10227: Add the <s>"'''closet empty'''" CLI command, and</s> the empty_closet() ASH function.
 
  10227: Add the <s>"'''closet empty'''" CLI command, and</s> the empty_closet() ASH function.
  
10250: '''kingLiberatedScript''' called when you break the prism.
+
  r9181, 9183, 9184 & r9190: '''moods''' per slyz's summary here: http://kolmafia.us/showthread.php?8852-Composable-Moods
 
 
10786: Add '''afterAdventureScript''', which is executed after each automated adventure
 
before checking if goals have been satisfied.
 
  - I did "set afterAdventureScript=use * small box;use * large box"
 
  - I set my goal to be "+1 potion of inebriety"
 
  - I told KoLmafia to go to the Dungeon of Doom for 20 adventures.
 
  After each adventure which yielded a small box or a large box, my script used the box.
 
  As soon as I got a potion of inebriety, KoLmafia stopped automating, with
 
  "Conditions satisfied after 5 adventures".
 
 
 
  r9181, 9183, 9184 & r9190: moods per slyz's summary here: http://kolmafia.us/showthread.php?8852-Composable-Moods
 
  
 
  r10344 Add '''tavern( string goal )''' ASH function.  
 
  r10344 Add '''tavern( string goal )''' ASH function.  
Line 46: Line 35:
 
  r10345 Add ASH '''tavern( "fight" )''' to explore cellar until the Baron's mansion is found  
 
  r10345 Add ASH '''tavern( "fight" )''' to explore cellar until the Baron's mansion is found  
 
  and then go in to fight him.
 
  and then go in to fight him.
 
r10396 Add "'''relayRunsBeforeBattleScript'''" to control whether manual adventuring will
 
execute your "betweenBattleScript" (which is actually a "beforeBattleScript",
 
either automated or manual)
 
  
 
  r10753-6 '''get_goals()''' returns a string[int] containing all the conditions that KoLmafia will  
 
  r10753-6 '''get_goals()''' returns a string[int] containing all the conditions that KoLmafia will  
Line 62: Line 47:
 
  r10774: ASH: "final" -> "static"
 
  r10774: ASH: "final" -> "static"
  
  10922: Add get_player_id method to ASH
+
  10922: Add '''get_player_id()''' method to ASH
  
  10937: Add minstrel_quest() boolean function,
+
  10937: Add '''minstrel_quest()''' boolean function,
 
  which returns true when Clancy has a new quest for you.
 
  which returns true when Clancy has a new quest for you.
  
  10971: Added boolean hippy_stone_broken() function
+
  10971: Added boolean '''hippy_stone_broken()''' function
  
 
== Needs Major Work ==
 
== Needs Major Work ==
Line 81: Line 66:
 
  Information on moods calling other moods: http://kolmafia.us/showthread.php?8852-Composable-Moods&p=66468&viewfull=1#post66468
 
  Information on moods calling other moods: http://kolmafia.us/showthread.php?8852-Composable-Moods&p=66468&viewfull=1#post66468
  
  r10025: Added "choice" CLI command, to resolve manual or unsupported choiceadventures  
+
  r10025: Added '''choice''' CLI command, to resolve manual or unsupported choiceadventures  
 
  Added "choice" CLI command, to resolve manual or unsupported choice
 
  Added "choice" CLI command, to resolve manual or unsupported choice
 
  adventures without having to visit the relay browser - which might be
 
  adventures without having to visit the relay browser - which might be

Revision as of 03:28, 15 May 2012

"To Do" List

This is a list of stuff that is missing from the wiki or else needs major work. Please help!


If you need tips for editing the wiki, find that here: Help:Editing.

  • CLI Commands are usually only added to the CLI Reference. Only very complicated commands require their own page.
  • ASH commands need to be listed on their category page as well as on the Ash Functions list.
    • It is not necessary to always create a code sample, although it is preferred.
    • If you don't add a code sample, please remember to add needscode=yes| to the page.


Missing Stuff

10078: ash function format_dtg
10081: ash function format_dtg renamed to be
string format_date_time(inFormat, dtg, outFormat)
more info: http://kolmafia.us/showthread.php?8451-time_to_string()-with-parameter&p=64058&viewfull=1#post64058
Modify examples on proxy record page because of:
10122: Add the boolean "fancy" and "candy" fields to item proxy records.
10147: Initial support for "Crimbo 2011" coinmaster: trade candy for Candy Credits
10412: Add $skill proxy records: .dailylimit and .timescast
10879: Add a boolean "boss" field to $monster[]
10227: Add the "closet empty" CLI command, and the empty_closet() ASH function.
r9181, 9183, 9184 & r9190: moods per slyz's summary here: http://kolmafia.us/showthread.php?8852-Composable-Moods
r10344 Add tavern( string goal ) ASH function. 
goal can be "faucet", "baron", or  "explore" (to explore all remaining unexplored squares). 
r10345 Add ASH tavern( "fight" ) to explore cellar until the Baron's mansion is found 
and then go in to fight him.
r10753-6 get_goals() returns a string[int] containing all the conditions that KoLmafia will 
try to satisfy. Add goal_exists() where you can pass in a goal type (choiceadv, autostop, 
meat, health, mana, item) and KoLmafia will tell you if there are any goals that match.
static scope is added!
r10765: Add a "final" scope type to ASH which allows data/commands to be executed only 
once per session.
r10772: A final declaration can either take a block, surrounded by {}, or a single
command or declaration.
r10774: ASH: "final" -> "static"
10922: Add get_player_id() method to ASH
10937: Add minstrel_quest() boolean function,
which returns true when Clancy has a new quest for you.
10971: Added boolean hippy_stone_broken() function

Needs Major Work

Proxy Records is only slightly better than a placeholder.

In r10047, the adventure tab interface was altered. Fix SinginSally's guide on pages...

http://wiki.kolmafia.us/index.php?title=KoLmafia_Guide:_Attack_Script
http://wiki.kolmafia.us/index.php?title=KoLmafia_Guide:_Custom_Combat_Script
http://wiki.kolmafia.us/index.php?title=KoLmafia_Guide:_Goal-Oriented_Adventuring
Information on moods calling other moods: http://kolmafia.us/showthread.php?8852-Composable-Moods&p=66468&viewfull=1#post66468
r10025: Added choice CLI command, to resolve manual or unsupported choiceadventures 
Added "choice" CLI command, to resolve manual or unsupported choice
adventures without having to visit the relay browser - which might be
inconvenient if you're already in the CLI, and don't need to see the full
adventure text to decide which option you want. With no parameter, "choice"
just lists the options. With a numeric parameter, it picks that option. 
With any other parameter, it picks the first option containing that text (in
either the actual button text, or mafia's spoiler text).

Needs Code Samples

There is a list of all pages that require code samples: Category:Needs Code Sample

Information on how to create a code sample: Template:CodeSample