moo.sdk.objects.remove_player_record
- moo.sdk.objects.remove_player_record(obj)
Delete any anonymous (
user=None)Playerrows pointing at obj.Counterpart to
ensure_player_record(); used by the$npc.recycleverb. Rows tied to a realUserare left alone — those belong to a human player and removing them is not this helper’s job.- Parameters:
obj – the avatar Object
- Returns:
number of Player rows deleted
- Raises:
UserError – if the current caller is not a wizard