character-traits
CommunityShape NPC personalities with structured traits.
AuthorSilac1995
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The Character Traits system provides a clean, extensible framework to define and apply NPC personalities across aggression, sociability, and loyalty, replacing ad-hoc scripting with a consistent data-driven approach.
Core Features & Use Cases
- Data Layer: CharacterBehavioralTraitsSO defines raw numeric traits, ensuring a strict data contract.
- Access Layer: CharacterTraits wraps the data with null-safe access and safe defaults, guiding developers to use the wrapper consistently.
- Execution Layer: AI systems query trait values (GetAggressivity, GetSociability, GetLoyalty) and translate them into probabilistic or gated behaviors for consistent NPC responses.
- Use Case: Design Bandit vs Townsfolk profiles by swapping traits without changing behavior code, enabling rapid experimentation.
Quick Start
Configure the CharacterBehavioralTraitsSO on an NPC and attach CharacterTraits to the NPC root to drive personality-driven behavior.
Dependency Matrix
Required Modules
None requiredComponents
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-traits Download link: https://github.com/Silac1995/My-World-Isekai-Unity/archive/main.zip#character-traits Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.