PropertyPunishActivityCheck
Callable
Parameters
name: ActivityName | readonly ActivityName[] = null
The name(s) of the activity to check. If
null
, check if any activity at all is presentclearCache: boolean = true
Whether to automatically remove
name
from the PropertyPunishActivityNames cache.name == null
implies that all entries should be removed.
Returns boolean
Check if the player character has performed one or more of the passed activities ever since the last PropertyPunishActivityNames refresh.