Difference between revisions of "Have display"

From Kolmafia
Jump to navigation Jump to search
(Create page)
 
imported>Bale
m
 
Line 6: Line 6:
  
 
name={{#var:name}}|
 
name={{#var:name}}|
function_category=Item Management|
 
  
 
function1={{Function|
 
function1={{Function|
Line 30: Line 29:
 
see_also={{SeeAlso|have_shop}}|
 
see_also={{SeeAlso|have_shop}}|
 
}}
 
}}
 +
 +
[[Category:Item Management]]

Latest revision as of 21:48, 21 May 2010

Function Syntax

boolean have_display()

Returns true if you have bought a display case.

Code Samples

Puts every seal clubbing club into your display case.

if(have_display()) {
   put_display(item_amount($item[seal clubbing club]) , $item[seal clubbing club]);
}

See Also

have_shop()