White citadel available: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle Created page with '{{#vardefine:name|white_citadel_available}} {{#vardefine:return_type|boolean}} {{FunctionPage| name={{#var:name}}| function_category=Your Character| function1={{Function| name=…' |
imported>Bale mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:name|white_citadel_available}} | {{ | ||
{{#vardefine:return_type|boolean}} | #vardefine:name|white_citadel_available}}{{ | ||
#vardefine:return_type|boolean}}{{ | |||
FunctionPage| | |||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 13: | Line 13: | ||
function_description=This function returns true if the logged-in character has completed the White Citadel Quest and unlocked The White Citadel. Otherwise, it returns false.| | function_description=This function returns true if the logged-in character has completed the White Citadel Quest and unlocked The White Citadel. Otherwise, it returns false.| | ||
code1={{CodeSample| | |||
title=Code Samples| | |||
description=If the character can access the White Citadel, this code will buy Cherry Cloaca Colas to restore MP to max.| | |||
code= | |||
<syntaxhighlight> | |||
if(white_citadel_available()) { | |||
use((my_maxmp()-my_mp())/8 , $item[Cherry Cloaca Cola]); | |||
} | |||
</syntaxhighlight> | |||
}}| | |||
see_also={{SeeAlso|black_market_available|guild_store_available|hippy_store_available}}| | see_also={{SeeAlso|black_market_available|guild_store_available|hippy_store_available}}| | ||
special=When not logged in, this function returns false. | special=When not logged in, this function returns false. | ||
}} | }} | ||
[[Category:Your Character]] |
Latest revision as of 21:41, 21 May 2010
Function Syntax
boolean white_citadel_available()
This function returns true if the logged-in character has completed the White Citadel Quest and unlocked The White Citadel. Otherwise, it returns false.
Code Samples
If the character can access the White Citadel, this code will buy Cherry Cloaca Colas to restore MP to max.
if(white_citadel_available()) {
use((my_maxmp()-my_mp())/8 , $item[Cherry Cloaca Cola]);
}
See Also
Special
When not logged in, this function returns false.