Help:To Do List: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
→‎Missing Stuff: I think to_json is the last of the forgotten functions.
imported>Bale
→‎Missing Stuff: is_discardable() already existed, but the page was misnamed. I found it and renamed it.
Line 38: Line 38:
  string '''get_path'''()Returns just the page name of the URL that was submitted.
  string '''get_path'''()Returns just the page name of the URL that was submitted.
  string '''get_path_variables'''() Returns just the variables after the "?" in the URL that was submitted.
  string '''get_path_variables'''() Returns just the variables after the "?" in the URL that was submitted.
r11432 boolean '''is_discardable'''( item )
http://kolmafia.us/showthread.php?10990-Add-quot-discardable-quot-and-quot-questitem-quot-attributes-for-Item-Database
boolean discard_bait(item it) {
    return (is_discardable(it) && autosell_price(it) < 1);
}


  r11198: Add naive implementation of to_json() for all types
  r11198: Add naive implementation of to_json() for all types

Revision as of 10:29, 21 November 2014

"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

r9181, 9183, 9184 & r9190: moods per slyz's summary here: http://kolmafia.us/showthread.php?8852-Composable-Moods
r11707: Experimental ASH feature: the main() function of imported scripts can now be
invoked, under the alternate name main@filename()
(where 'filename' can be overridden by a 'script' directive, any ".ash"
suffix is dropped, and non-alphanumeric characters are replaced by
underscores). Note that no spaces are allowed around the @, the whole thing
is a single token.
r12062: add ASH get_outfits() and get_custom_outfits()
13213: Add "debug ash on" and "debug ash off" to turn on and off ASH script tracing 
ASH tracing goes into ASH_datestamp.txt
13222: Add preference banishedMonsters to track banishes. Add ash command is_banished($monsterName[name])
r14729: add fixedThreadPoolSize pref - diagnostic/fine tuning for limiting the threadpool size.
r8628 http://kolmafia.us/showthread.php?4750-Master-Relay-Override&p=34367&viewfull=1#post34367
string get_path_full() Returns the full URL that was submitted.
string get_path()Returns just the page name of the URL that was submitted.
string get_path_variables() Returns just the variables after the "?" in the URL that was submitted.
r11198: Add naive implementation of to_json() for all types
It has no special checking, so don't use this on something that can't actually be converted directly into JSON 
(so an aggregate type that doesn't use non-simple keys) or it'll return a gibberish string that JSON parsers will choke on.
string to_json( null )
http://kolmafia.us/showthread.php?10513-JSON-data-exporting
It is intended to be given an aggregate as an input.

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

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