Daily special: Difference between revisions
Jump to navigation
Jump to search
imported>Heeheehee m Answered RFI, which had already been answered in the Talk page. |
imported>Bale mNo edit summary |
||
Line 5: | Line 5: | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 21: | Line 20: | ||
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].| | ||
}} | }} | ||
[[Category:Your Character]] |
Revision as of 21:34, 21 May 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].