character-invitation

Community

Coordinate invitations with delayed responses.

AuthorSilac1995
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This system handles propositions between characters that require a reflection delay before a response, enabling complex social interactions within a Unity project.

Core Features & Use Cases

  • Template Method pattern orchestrates the general flow (Talk -> Wait -> Evaluate -> Respond) across invitations.
  • Abstract InteractionInvitation and concrete subclasses (e.g., InteractionJoinParty) implement mandatory methods like CanExecute(), GetInvitationMessage(), and OnAccepted(), plus optional overrides such as GetAcceptMessage() / GetRefuseMessage(), OnRefused(), and EvaluateCustomInvitation().
  • The CharacterInvitation component handles receiving invitations, simulating thinking delays for NPCs, player input for players, and default probability behavior when custom evaluation is not provided.
  • It supports dynamic behavior influenced by sociability and relationship metrics, with a deterministic evaluation path that can be customized per invitation type.

Quick Start

Instantiate an invitation subclass and call ReceiveInvitation on a target character to initiate the delayed invitation workflow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: character-invitation
Download link: https://github.com/Silac1995/My-World-Isekai-Unity/archive/main.zip#character-invitation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.