Skip to main content

memory

Overview

  • 11 commands in this category.

Commands

CommandNameDescription
memory.addAdd MemoryAdds a memory (social context) about target_entity_id to the owner character.
memory.add_milestoneAdd MilestoneAdds a milestone to the target character. target_entity_id / target_dt_id are optional milestone ta…
memory.clear_allClear All MemoriesClears all social contexts of the owner and removes the owner's memory from each target as well.
memory.get_milestonesGet MilestonesReturns all acquired milestones of the target character.
memory.get_social_contextsGet Social ContextsReturns all social-context memories of the target character (target, memory id, state, mood scores).
memory.get_unread_countGet Unread Memory CountReturns the number of unread memories for the target character.
memory.has_memoryHas MemoryChecks whether the target character has a memory. If target_entity_id is given, checks the latest m…
memory.has_milestoneHas MilestoneChecks whether the target character has acquired the given milestone.
memory.mark_readMark Memories ReadUpdates the last-read time so the unread memory count becomes zero.
memory.removeRemove MemoryRemoves the social context (memory) with target_entity_id from the owner character.
memory.solveSolve MemoryMarks the social context with target_entity_id as solved. expired=true treats it as a cooltime expi…