Difference between pages "Put closet" and "Hippy store available"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>StDoodle
m
 
imported>Heeheehee
 
Line 1: Line 1:
{{#vardefine:name|put_closet}}
+
{{#vardefine:name|hippy_store_available}}
 
{{#vardefine:return_type|boolean}}
 
{{#vardefine:return_type|boolean}}
  
 
{{FunctionPage|
 
{{FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
function_category=Item Management|
+
function_category=Your Character|
  
 
function1={{Function|
 
function1={{Function|
 
name={{#var:name}}|
 
name={{#var:name}}|
aggregate={{#var:aggregate}}|
+
return_type={{#var:return_type}}
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
parameter1={{Param|int|qty}}|
 
 
}}|
 
}}|
  
function2={{Function|
+
function_description=This function returns true if the logged-in character has unlocked the hippy store. Otherwise, it returns false.|
name={{#var:name}}|
 
aggregate={{#var:aggregate}}|
 
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
parameter1={{Param|int|qty}}|
 
parameter2={{Param|item|it}}|
 
p1desc={{pspan|qty}} is the quantity to move|
 
p2desc={{pspan|it}} is the item to move|
 
}}|
 
 
 
function_description=Attempts to move {{pspan|qty}} of {{pspan|it}} from your Colossal Closet to your main inventory. Returns true if the move succeeds and false if it does not. If used without {{pspan|it}} specified, this function will move meat instead of an item.|
 
  
 
needscode=yes|
 
needscode=yes|
  
see_also={{SeeAlso|put_display|put_stash|take_closet}}|
+
see_also={{SeeAlso|black_market_available|guild_store_available|white_citadel_available}}|
cli_equiv=The CLI command "closet" with the parameter "put" works similarly.
+
special=When not logged in, this function returns false.
 
}}
 
}}
 +
{{RFI|What happens during the lv. 12 war?|Does this function check the outfit as well pre-war?}}
 +
Returns false during the war regardless. As far as I'm concerned, it doesn't check outfit pre-war -- closeted all filthy corduroys, and it returned true. I'm guessing that it checks to see if the island is unlocked.

Revision as of 18:14, 6 March 2010



needs(code_samples);

Function Syntax

boolean hippy_store_available()

This function returns true if the logged-in character has unlocked the hippy store. Otherwise, it returns false.

See Also

black_market_available() | guild_store_available() | white_citadel_available()

Special

When not logged in, this function returns false.


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific questions have been raised:

  • What happens during the lv. 12 war?
  • Does this function check the outfit as well pre-war?

Returns false during the war regardless. As far as I'm concerned, it doesn't check outfit pre-war -- closeted all filthy corduroys, and it returned true. I'm guessing that it checks to see if the island is unlocked.