In hardcore: Difference between revisions
Jump to navigation
Jump to search
imported>That FN Ninja No edit summary |
imported>Grotfang m moved In hardcore() to In hardcore |
(No difference)
|
Revision as of 14:18, 1 March 2010
This function returns true if the logged-in character is currently subject to Hardcore restrictions. If not subject to such restrictions this function returns false.
The following example attempts to pull items from storage if the character is in Ronin:
if (!can_interact() && !in_hardcore() && storage_amount($item[not-a-pipe]) > 0)
take_storage(1,$item[not-a-pipe]);
When not logged in, this function returns false.