Difference between revisions of "Is unrestricted"
Jump to navigation
Jump to search
imported>Bale m (Bale moved page Is unrestricted() to Is unrestricted over a redirect without leaving a redirect) |
imported>Taltamir |
||
Line 38: | Line 38: | ||
}}| | }}| | ||
− | function_description=Checks whether {{pspan|check}} is available for use, given current restrictions.| | + | function_description=Checks whether {{pspan|check}} is available for use, given current standard restrictions. It does not check for path restrictions| |
code1={{CodeSample| | code1={{CodeSample| |
Latest revision as of 18:17, 18 June 2020
Function Syntax
boolean is_unrestricted(item check )
boolean is_unrestricted(familiar check )
boolean is_unrestricted(skill check )
boolean is_unrestricted(string check )
Checks whether check is available for use, given current standard restrictions. It does not check for path restrictions
Code Sample
This will attempt to fax in a blooper.
if(is_unrestricted("deluxe fax machine")) {
faxbot($monster[blooper]);
}
else {
print("Fax machine is not available", "red");
}