Daily special: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
Created page with '{{ #vardefine:name|daily_special}}{{ #vardefine:return_type|item}}{{ FunctionPage| name={{#var:name}}| function_category=Your Character| function1={{Function| name={{#var:name}…'
 
imported>Heeheehee
m Answered RFI, which had already been answered in the Talk page.
Line 18: Line 18:
needscode=yes|
needscode=yes|


cli_equiv=The CLI commands "restaurant" and "*brewery*" work similarly, for their specific eateries.|
cli_equiv=The CLI commands "restaurant" and "*brewery*" work similarly, for their specific eateries (the asterisks padding "*brewery*" serve as wildcard matchers).|
special=If you are not in a sign with access to a special eatery, or not logged in, this function returns $item[none].|
special=If you are not in a sign with access to a special eatery, or not logged in, this function returns $item[none].|
}}
}}
{{RFI|Why the asterisks padding "*brewery*"?}}

Revision as of 08:20, 28 April 2010

needs(code_samples);

Function Syntax

item daily_special()

Returns the item offered as a daily special at either Chez Snootée or The Gnomish Micromicrobrewery, per your current moon sign.

CLI Equivalent

The CLI commands "restaurant" and "*brewery*" work similarly, for their specific eateries (the asterisks padding "*brewery*" serve as wildcard matchers).

Special

If you are not in a sign with access to a special eatery, or not logged in, this function returns $item[none].