FutureProg functions

magicresourcelevel

Magic · computer function, computer program, standard futureprog

Number magicresourcelevel(MagicResourceHaver thing, Number resourceId)
Contexts: computer function, computer program, standard futureprog
Returns the current amount of the specified magic resource on a character, item, or room.
thing: The character, item, or room whose magic resource level should be inspected
resourceId: The id of the magic resource to inspect

Number magicresourcelevel(MagicResourceHaver thing, Text resource)
Contexts: computer function, computer program, standard futureprog
Returns the current amount of the specified magic resource on a character, item, or room.
thing: The character, item, or room whose magic resource level should be inspected
resource: The name or id of the magic resource to inspect

← Back to FutureProg functions