In casual
Revision as of 18:41, 23 June 2022 by Malibu Stacey (talk | contribs) (Create page, used in_hardcore() as a template)
Function Syntax
boolean in_casual()
This function returns true if the logged-in character is currently in a Casual ascension. In any other path (including Unrestricted) this function returns false.
Code Samples
The following example attempts to buy items from the mall if the character is in a Casual ascension
if(in_casual() && available_amount($item[smut orc keepsake box]) < 1) {
buy(1 , $item[smut orc keepsake box]);
}
See Also
Special
When not logged in, this function returns false.