1 unstable release
Uses new Rust 2024
| 0.1.0 | Jul 13, 2025 |
|---|
#18 in #motivation
Used in character-traits
52KB
605 lines
Character Traits Motivational Drivers
The character-traits-motivational-drivers crate is a robust framework designed to model and analyze complex character motivations through a structured combination of core motivations, nuanced attributes, and detailed motivational drivers. This crate provides enums and structs that represent a wide array of intrinsic character motivations, along with utilities to perform analytical operations on them.
Overview
The core component of this crate is a sophisticated classification system that breaks down character motivations into two tiers: core motivations, which account for the primary driving force behind a character's actions, and nuanced attributes, which offer further differentiation within those primary motivations. By leveraging these classifications, you can effectively dissect and understand multifaceted character motivations and utilize them in your applications.
Core Components
CoreMotivation
The primary enum that defines the dominant thematic driver underlying a character's motivation. Variants include:
AmbitionAutonomyBalanceConnectionCreativityCuriosityJusticeKnowledgeLegacyProtectionSpiritualitySurvivalTransformation
NuancedMotivationAttribute
An enum detailing frequently recurring secondary facets that augment a core motivation:
AdventureArtistry- ... (and many more)
MotivationalDrivers
Enumerates specific motivations through rich combinations of core motivations and nuanced attributes. It describes drivers like Adventurous or AmbitiousToCreateLastingLegacy to provide precise characterization.
Utility Functions
analyze_motivational_driver
Extracts the core motivation and nuanced facets from a given motivational driver descriptor. This function prioritizes the earliest appearance of potential core motivations for accurate and deterministic classification.
find_motivational_descriptors_for
Finds descriptors matching specified core motivations and nuanced attributes using strum iteration.
motivation_ratings
A macro facilitating the aggregation of intrinsic dimension ratings associated with core motivations and nuanced attributes.
License
Licensed under the MIT License.
:::tip
This README.md was generated by an AI model and may not be 100% accurate. However, it should be a valuable starting point for understanding the character-traits-motivational-drivers crate.
Author
Maintained by toddshelton.
Dependencies
~48–91MB
~1.5M SLoC