Skip to main content

character_traits_warrior_capability/
embodiment_capability.rs

1// ---------------- [ File: character-traits-warrior-capability/src/embodiment_capability.rs ]
2crate::ix!();
3
4#[derive(Copy,EnumIter,Debug, Clone, PartialEq, Eq, Hash)]
5pub enum WarriorEmbodimentCapability {
6    /// Selected for entities whose defining presence is physical strength and steadfast courage,
7    /// essential for inspiring confidence in intense or perilous combat scenarios.
8    EmbodiesStrengthAndBravery,
9
10    /// Ideal when entities exemplify strength coupled specifically with heroic valor,
11    /// suitable for rallying allies and confronting formidable adversaries.
12    EmbodiesStrengthAndValor,
13
14    /// Chosen for those whose identity revolves around strict discipline and unwavering honor,
15    /// vital in scenarios demanding ethical clarity and strict codes of conduct.
16    EmbodiesDisciplineAndHonor,
17
18    /// Best suited to entities that represent both determined resolve and genuine compassion,
19    /// beneficial when moral leadership and empathy are crucial to unit cohesion.
20    EmbodiesResolveAndCompassion,
21
22    /// Appropriate for entities reflecting an ideal balance between physical prowess and mental clarity,
23    /// selected when tactical effectiveness requires peak harmony of mind and body.
24    EmbodiesHarmonyBetweenMindAndBody,
25
26    /// Crucial when entities personify relentless persistence and creative problem-solving,
27    /// especially valuable in sustained conflicts or resource-scarce situations.
28    EmbodiesPerseveranceAndIngenuity,
29
30    /// Preferred for entities that exemplify calmness and clear decision-making under severe stress,
31    /// essential in scenarios characterized by chaos or uncertainty.
32    EmbodiesCalmUnderPressure,
33
34    /// Selected for entities who embody adaptability and resourcefulness,
35    /// essential for thriving in rapidly changing or unpredictable conditions.
36    EmbodiesAdaptabilityAndResourcefulness,
37
38    /// Ideal for entities whose defining trait is unwavering loyalty and protective devotion,
39    /// critical when safeguarding allies and maintaining trust is paramount.
40    EmbodiesLoyaltyAndDevotion,
41
42    /// Optimal for entities that personify rigorous training and disciplined self-improvement,
43    /// particularly effective in fostering continuous growth and setting a strong example for others.
44    EmbodiesTrainingAndSelfMastery,
45
46    /// Chosen when entities represent decisive leadership combined with an intuitive grasp of strategy,
47    /// especially suited for command roles requiring swift, confident decision-making.
48    EmbodiesDecisiveLeadershipAndIntuition,
49
50    /// Appropriate for entities who exemplify humility and self-sacrifice,
51    /// invaluable in inspiring dedication and moral integrity in those around them.
52    EmbodiesHumilityAndSacrifice,
53}
54
55impl WarriorEmbodimentCapability {
56    /// Compute the intrinsic dimension ratings for each [`WarriorEmbodimentCapability`] variant.
57    /// Ratings follow a 0.0 → 1.0 continuum where 0.0 = absent and 1.0 = exemplary.
58    #[tracing::instrument(level = "trace", skip(self))]
59    pub fn intrinsic_dimension_ratings(&self) -> WarriorCapabilityIntrinsicDimensionRatings {
60        use WarriorEmbodimentCapability::*;
61        tracing::trace!(
62            variant = ?self,
63            "computing warrior embodiment intrinsic dimension ratings"
64        );
65        match self {
66            EmbodiesStrengthAndBravery => wc_ratings!(
67                /*   1- 10 */ 0.80,0.40,0.40,0.60,0.90,0.75,0.10,0.10,0.70,0.65,
68                /*  11- 20 */ 0.90,0.80,0.80,0.30,0.85,0.70,0.50,0.30,0.70,0.10,
69                /*  21- 30 */ 0.60,0.60,0.20,0.20,0.60,0.20,0.30,0.15,0.60,0.40,
70                /*  31- 40 */ 0.50,0.60,0.30,0.25,0.15,0.50,0.60,0.50,0.60,0.70,
71                /*  41- 50 */ 1.00,0.85,0.55,0.50,0.85,0.40,0.70,0.30,0.20,0.50,
72                /*  51- 60 */ 0.80,0.75,0.50,0.60,0.70,0.40,0.85,0.60,0.70,0.65,
73                /*  61- 70 */ 0.70,0.30,0.10,0.20,0.10,0.10,0.10,0.70,0.60,0.15,
74                /*  71- 80 */ 0.60,0.55,0.05,0.55,0.80,0.10,0.05,0.05,0.10,0.10,
75                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.60,0.05,0.40,0.10,
76                /*  91-100 */ 0.85,0.60,0.30,0.90,0.50,1.00,0.95,0.75,0.50,0.60,
77                /* 101-110 */ 0.80,0.20,0.30,0.60,0.50,0.60,0.30,0.30,0.50,0.60,
78                /* 111-115 */ 0.20,0.50,0.60,0.30,0.80
79            ),
80            EmbodiesStrengthAndValor => wc_ratings!(
81                /*   1- 10 */ 0.95,0.45,0.45,0.60,0.90,0.75,0.10,0.10,0.75,0.70,
82                /*  11- 20 */ 0.90,0.85,0.80,0.10,0.80,0.75,0.55,0.10,0.70,0.10,
83                /*  21- 30 */ 0.65,0.10,0.10,0.10,0.10,0.10,0.10,0.10,0.10,0.10,
84                /*  31- 40 */ 0.10,0.10,0.10,0.10,0.10,0.10,0.10,0.10,0.10,0.70,
85                /*  41- 50 */ 0.10,0.85,0.10,0.10,0.80,0.10,0.10,0.10,0.10,0.10,
86                /*  51- 60 */ 0.70,0.80,0.60,0.60,0.70,0.40,0.80,0.55,0.70,0.60,
87                /*  61- 70 */ 0.80,0.30,0.10,0.15,0.10,0.10,0.10,0.70,0.60,0.15,
88                /*  71- 80 */ 0.60,0.55,0.05,0.55,0.75,0.10,0.05,0.05,0.10,0.10,
89                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.60,0.05,0.40,0.10,
90                /*  91-100 */ 0.85,0.70,0.30,0.90,0.50,0.95,0.95,0.80,0.55,0.60,
91                /* 101-110 */ 0.80,0.20,0.30,0.55,0.50,0.60,0.30,0.30,0.50,0.60,
92                /* 111-115 */ 0.20,0.50,0.60,0.30,0.80
93            ),
94            EmbodiesDisciplineAndHonor => wc_ratings!(
95                /*   1- 10 */ 0.60,0.50,0.50,0.60,0.80,0.75,0.10,0.10,0.85,0.30,
96                /*  11- 20 */ 0.70,0.80,0.75,0.20,0.70,0.65,0.50,0.30,0.85,0.10,
97                /*  21- 30 */ 0.40,0.10,0.10,0.10,0.60,0.20,0.30,0.15,0.60,0.40,
98                /*  31- 40 */ 0.50,0.60,0.30,0.25,0.15,0.50,0.60,0.50,0.60,0.70,
99                /*  41- 50 */ 0.80,0.80,0.55,0.50,0.75,0.40,0.60,0.30,0.20,0.50,
100                /*  51- 60 */ 0.70,0.75,0.50,0.60,0.70,0.40,0.75,0.60,0.70,0.60,
101                /*  61- 70 */ 0.70,0.30,0.10,0.20,0.10,0.10,0.10,0.70,0.60,0.15,
102                /*  71- 80 */ 0.60,0.55,0.05,0.55,0.75,0.10,0.05,0.05,0.10,0.10,
103                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.60,0.05,0.40,0.10,
104                /*  91-100 */ 0.80,0.60,0.30,0.80,0.50,0.80,0.60,0.70,0.50,0.60,
105                /* 101-110 */ 0.80,0.20,0.30,0.60,0.50,0.70,0.30,0.30,0.50,0.60,
106                /* 111-115 */ 0.20,0.80,0.60,0.30,0.80
107            ),
108            EmbodiesResolveAndCompassion => wc_ratings!(
109                /*   1- 10 */ 0.60,0.40,0.40,0.70,0.80,0.75,0.10,0.10,0.85,0.50,
110                /*  11- 20 */ 0.75,0.80,0.85,0.20,0.80,0.70,0.50,0.30,0.75,0.10,
111                /*  21- 30 */ 0.50,0.10,0.10,0.10,0.70,0.20,0.30,0.15,0.70,0.45,
112                /*  31- 40 */ 0.60,0.65,0.30,0.25,0.15,0.60,0.70,0.50,0.70,0.60,
113                /*  41- 50 */ 0.75,0.80,0.55,0.50,0.75,0.40,0.70,0.35,0.20,0.55,
114                /*  51- 60 */ 0.85,0.80,0.50,0.60,0.70,0.40,0.80,0.75,0.75,0.70,
115                /*  61- 70 */ 0.70,0.40,0.10,0.20,0.10,0.10,0.10,0.70,0.60,0.15,
116                /*  71- 80 */ 0.60,0.55,0.05,0.55,0.75,0.10,0.05,0.05,0.10,0.10,
117                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.60,0.05,0.40,0.10,
118                /*  91-100 */ 0.85,0.70,0.30,0.80,0.50,0.70,0.70,0.75,0.55,0.60,
119                /* 101-110 */ 0.85,0.20,0.30,0.60,0.50,0.75,0.30,0.30,0.50,0.70,
120                /* 111-115 */ 0.20,0.85,0.60,0.30,0.80
121            ),
122            EmbodiesHarmonyBetweenMindAndBody => wc_ratings!(
123                /*   1- 10 */ 0.60,0.40,0.50,0.60,0.80,0.75,0.10,0.10,0.75,0.60,
124                /*  11- 20 */ 0.70,0.75,0.70,0.20,0.70,0.70,0.50,0.30,0.70,0.10,
125                /*  21- 30 */ 0.50,0.10,0.10,0.10,0.70,0.20,0.30,0.15,0.70,0.50,
126                /*  31- 40 */ 0.60,0.70,0.30,0.25,0.15,0.60,0.70,0.50,0.70,0.75,
127                /*  41- 50 */ 0.85,0.80,0.70,0.70,0.70,0.40,0.80,0.30,0.20,0.50,
128                /*  51- 60 */ 0.80,0.80,0.50,0.70,0.75,0.40,0.75,0.70,0.75,0.70,
129                /*  61- 70 */ 0.70,0.50,0.10,0.20,0.10,0.10,0.10,0.80,0.70,0.15,
130                /*  71- 80 */ 0.60,0.55,0.05,0.60,0.75,0.10,0.05,0.05,0.10,0.10,
131                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.70,0.05,0.40,0.10,
132                /*  91-100 */ 0.80,0.70,0.30,0.85,0.50,0.80,0.70,0.80,0.55,0.70,
133                /* 101-110 */ 0.80,0.20,0.30,0.70,0.60,0.80,0.30,0.30,0.50,0.70,
134                /* 111-115 */ 0.20,0.60,0.60,0.35,0.85
135            ),
136            EmbodiesPerseveranceAndIngenuity => wc_ratings!(
137                /*   1- 10 */ 0.60,0.45,0.45,0.60,0.75,0.80,0.10,0.10,0.70,0.65,
138                /*  11- 20 */ 0.70,0.70,0.90,0.20,0.80,0.70,0.50,0.30,0.70,0.10,
139                /*  21- 30 */ 0.55,0.10,0.10,0.10,0.85,0.20,0.30,0.15,0.95,0.50,
140                /*  31- 40 */ 0.60,0.70,0.30,0.25,0.15,0.80,0.80,0.50,0.70,0.65,
141                /*  41- 50 */ 0.80,0.75,0.55,0.50,0.75,0.50,0.70,0.30,0.20,0.50,
142                /*  51- 60 */ 0.80,0.80,0.50,0.60,0.70,0.80,0.80,0.75,0.70,0.70,
143                /*  61- 70 */ 0.70,0.40,0.10,0.20,0.10,0.10,0.10,0.80,0.70,0.15,
144                /*  71- 80 */ 0.80,0.70,0.05,0.60,0.80,0.10,0.05,0.05,0.10,0.10,
145                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.70,0.05,0.40,0.10,
146                /*  91-100 */ 0.80,0.70,0.30,0.80,0.50,0.75,0.60,0.75,0.55,0.60,
147                /* 101-110 */ 0.80,0.20,0.30,0.70,0.60,0.80,0.30,0.30,0.50,0.70,
148                /* 111-115 */ 0.20,0.60,0.60,0.30,0.75
149            ),
150            EmbodiesCalmUnderPressure => wc_ratings!(
151                /*   1- 10 */ 0.50,0.40,0.50,0.65,0.70,0.80,0.10,0.10,0.70,0.60,
152                /*  11- 20 */ 0.65,0.80,0.80,0.20,0.60,0.60,0.50,0.30,0.65,0.10,
153                /*  21- 30 */ 0.50,0.10,0.10,0.10,0.60,0.20,0.30,0.15,0.75,0.45,
154                /*  31- 40 */ 0.60,0.70,0.30,0.25,0.15,0.70,0.75,0.50,0.70,0.75,
155                /*  41- 50 */ 0.80,0.90,0.50,0.45,0.75,0.40,0.70,0.30,0.20,0.50,
156                /*  51- 60 */ 0.85,0.80,0.85,0.60,0.70,0.40,0.80,0.70,0.70,0.70,
157                /*  61- 70 */ 0.70,0.50,0.10,0.20,0.10,0.10,0.10,0.75,0.70,0.15,
158                /*  71- 80 */ 0.60,0.55,0.05,0.60,0.75,0.10,0.05,0.05,0.10,0.10,
159                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.75,0.05,0.40,0.10,
160                /*  91-100 */ 0.85,0.70,0.30,0.80,0.50,0.80,0.70,0.75,0.55,0.70,
161                /* 101-110 */ 0.80,0.20,0.30,0.75,0.60,0.80,0.30,0.30,0.50,0.70,
162                /* 111-115 */ 0.20,0.70,0.60,0.30,0.95
163            ),
164            EmbodiesAdaptabilityAndResourcefulness => wc_ratings!(
165                /*   1- 10 */ 0.50,0.50,0.55,0.60,0.70,0.80,0.10,0.10,0.70,0.70,
166                /*  11- 20 */ 0.60,0.75,0.80,0.30,0.80,0.70,0.60,0.30,0.70,0.10,
167                /*  21- 30 */ 0.55,0.10,0.10,0.10,0.90,0.20,0.30,0.90,0.95,0.50,
168                /*  31- 40 */ 0.80,0.70,0.30,0.25,0.15,0.75,0.80,0.50,0.70,0.80,
169                /*  41- 50 */ 0.80,0.80,0.60,0.75,0.80,0.40,0.90,0.40,0.20,0.50,
170                /*  51- 60 */ 0.80,0.85,0.50,0.70,0.80,0.80,0.80,0.85,0.80,0.80,
171                /*  61- 70 */ 0.80,0.50,0.10,0.60,0.10,0.10,0.10,0.90,0.80,0.15,
172                /*  71- 80 */ 0.80,0.70,0.05,0.70,0.80,0.10,0.05,0.05,0.10,0.10,
173                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.75,0.05,0.40,0.10,
174                /*  91-100 */ 0.80,0.70,0.30,0.80,0.50,0.80,0.70,0.80,0.60,0.70,
175                /* 101-110 */ 0.80,0.30,0.30,0.80,0.70,0.80,0.30,0.30,0.60,0.80,
176                /* 111-115 */ 0.30,0.60,0.70,0.35,0.75
177            ),
178            EmbodiesLoyaltyAndDevotion => wc_ratings!(
179                /*   1- 10 */ 0.60,0.40,0.45,0.80,0.75,0.75,0.10,0.10,0.80,0.50,
180                /*  11- 20 */ 0.75,0.75,0.80,0.20,0.85,0.70,0.50,0.30,0.80,0.10,
181                /*  21- 30 */ 0.40,0.10,0.10,0.10,0.70,0.20,0.30,0.15,0.70,0.45,
182                /*  31- 40 */ 0.60,0.70,0.30,0.25,0.15,0.50,0.60,0.50,0.70,0.70,
183                /*  41- 50 */ 0.75,0.80,0.55,0.50,0.70,0.40,0.70,0.30,0.20,0.50,
184                /*  51- 60 */ 0.75,0.70,0.50,0.60,0.70,0.40,0.80,0.70,0.70,0.70,
185                /*  61- 70 */ 0.70,0.40,0.10,0.20,0.10,0.10,0.10,0.70,0.60,0.15,
186                /*  71- 80 */ 0.60,0.55,0.05,0.60,0.75,0.10,0.05,0.05,0.10,0.10,
187                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.60,0.05,0.40,0.10,
188                /*  91-100 */ 0.90,0.75,0.30,0.85,0.50,0.70,0.65,0.85,0.60,0.65,
189                /* 101-110 */ 0.80,0.20,0.30,0.70,0.50,0.75,0.30,0.30,0.60,0.70,
190                /* 111-115 */ 0.20,0.90,0.60,0.30,0.80
191            ),
192            EmbodiesTrainingAndSelfMastery => wc_ratings!(
193                /*   1- 10 */ 0.60,0.45,0.50,0.60,0.80,0.75,0.10,0.10,0.80,0.60,
194                /*  11- 20 */ 0.70,0.75,0.85,0.20,0.70,0.70,0.50,0.30,0.75,0.10,
195                /*  21- 30 */ 0.55,0.10,0.10,0.10,0.85,0.20,0.30,0.15,0.70,0.50,
196                /*  31- 40 */ 0.60,0.70,0.30,0.25,0.15,0.90,0.80,0.50,0.70,0.75,
197                /*  41- 50 */ 0.80,0.80,0.70,0.70,0.75,0.40,0.80,0.35,0.20,0.50,
198                /*  51- 60 */ 0.85,0.80,0.50,0.70,0.75,0.60,0.80,0.75,0.75,0.70,
199                /*  61- 70 */ 0.75,0.50,0.10,0.20,0.10,0.10,0.10,0.80,0.70,0.15,
200                /*  71- 80 */ 0.70,0.60,0.05,0.70,0.75,0.10,0.05,0.05,0.10,0.10,
201                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.60,0.05,0.40,0.10,
202                /*  91-100 */ 0.85,0.70,0.30,0.80,0.50,0.80,0.70,0.80,0.60,0.70,
203                /* 101-110 */ 0.80,0.20,0.30,0.80,0.60,0.80,0.30,0.30,0.60,0.80,
204                /* 111-115 */ 0.20,0.70,0.65,0.35,0.80
205            ),
206            EmbodiesDecisiveLeadershipAndIntuition => wc_ratings!(
207                /*   1- 10 */ 0.70,0.90,0.85,0.70,0.75,0.75,0.10,0.10,0.70,0.75,
208                /*  11- 20 */ 0.70,0.70,0.70,0.30,0.70,0.80,0.80,0.80,0.75,0.10,
209                /*  21- 30 */ 0.70,0.80,0.50,0.30,0.70,0.30,0.30,0.15,0.70,0.55,
210                /*  31- 40 */ 0.60,0.70,0.30,0.25,0.15,0.55,0.60,0.50,0.70,0.70,
211                /*  41- 50 */ 0.70,0.80,0.55,0.60,0.70,0.40,0.70,0.30,0.20,0.50,
212                /*  51- 60 */ 0.70,0.75,0.50,0.60,0.70,0.40,0.70,0.75,0.80,0.80,
213                /*  61- 70 */ 0.70,0.40,0.10,0.20,0.10,0.10,0.10,0.75,0.70,0.15,
214                /*  71- 80 */ 0.60,0.55,0.05,0.60,0.75,0.10,0.05,0.05,0.10,0.10,
215                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.70,0.05,0.70,0.80,
216                /*  91-100 */ 0.75,0.70,0.30,0.80,0.50,0.70,0.70,0.85,0.70,0.80,
217                /* 101-110 */ 0.75,0.20,0.30,0.80,0.70,0.80,0.70,0.70,0.60,0.80,
218                /* 111-115 */ 0.20,0.70,0.65,0.35,0.80
219            ),
220            EmbodiesHumilityAndSacrifice => wc_ratings!(
221                /*   1- 10 */ 0.50,0.40,0.40,0.60,0.70,0.75,0.10,0.10,0.85,0.50,
222                /*  11- 20 */ 0.60,0.80,0.75,0.20,0.70,0.70,0.50,0.30,0.80,0.10,
223                /*  21- 30 */ 0.40,0.10,0.10,0.10,0.70,0.20,0.30,0.15,0.60,0.40,
224                /*  31- 40 */ 0.50,0.60,0.30,0.25,0.15,0.50,0.60,0.50,0.70,0.70,
225                /*  41- 50 */ 0.60,0.75,0.55,0.45,0.70,0.40,0.70,0.30,0.20,0.50,
226                /*  51- 60 */ 0.70,0.70,0.50,0.60,0.70,0.40,0.70,0.70,0.70,0.60,
227                /*  61- 70 */ 0.70,0.40,0.10,0.20,0.10,0.10,0.10,0.70,0.60,0.15,
228                /*  71- 80 */ 0.60,0.55,0.05,0.60,0.75,0.10,0.05,0.05,0.10,0.10,
229                /*  81- 90 */ 0.10,0.10,0.10,0.35,0.30,0.50,0.60,0.05,0.40,0.10,
230                /*  91-100 */ 0.70,0.75,0.30,0.80,0.50,0.60,0.60,0.80,0.60,0.70,
231                /* 101-110 */ 0.90,0.20,0.30,0.70,0.60,0.80,0.30,0.30,0.50,0.75,
232                /* 111-115 */ 0.20,0.90,0.60,0.30,0.80
233            ),
234        }
235    }
236}