Skip to main content

character_traits_warrior_capability/
approach_capability.rs

1// ---------------- [ File: character-traits-warrior-capability/src/approach_capability.rs ]
2crate::ix!();
3
4#[derive(Copy,EnumIter,Debug, Clone, PartialEq, Eq, Hash)]
5pub enum WarriorApproachCapability {
6    /// Prioritizes diplomacy, negotiation, and avoids direct aggression.
7    EmphasizesDefensiveAndDiplomaticSolutions,
8
9    /// Values long-term partnerships, alliances, and coalition-building over direct confrontation.
10    PrefersStrategicAlliancesOverConflict,
11
12    /// Carefully balances diplomatic negotiation with tactical, calculated use of force when necessary.
13    BalancesNegotiationWithCalculatedForce,
14
15    /// Uses measured escalation, steadily applying pressure to achieve goals without provoking full-scale conflict.
16    EmploysIncrementalPressureTactics,
17
18    /// Actively develops mutual respect with adversaries to reduce hostility and enable cooperative resolutions.
19    CultivatesMutualRespectInAdversaries,
20
21    /// Prioritizes swift and decisive action to preemptively neutralize threats or gain strategic advantage.
22    FavorsPreemptiveDecisiveAction,
23
24    /// Relies on maintaining strategic ambiguity and unpredictability to keep adversaries off balance.
25    UtilizesStrategicAmbiguity,
26
27    /// Prefers indirect methods, such as psychological operations or deception, to weaken opponents’ resolve before direct confrontation.
28    EmploysIndirectPsychologicalMethods,
29
30    /// Values containment strategies to limit adversaries’ options without engaging in direct hostilities.
31    AdvocatesStrategicContainment,
32
33    /// Employs tactical retreats or temporary disengagements to preserve resources, reassess strategy, and regroup effectively.
34    PracticesTacticalWithdrawalAndRegrouping,
35}
36
37/* -------------------------------------------------------------------------- */
38/*  WarriorApproachCapability → WarriorCapabilityIntrinsicDimensionRatings    */
39/* -------------------------------------------------------------------------- */
40impl WarriorApproachCapability {
41    pub fn intrinsic_dimension_ratings(&self) -> WarriorCapabilityIntrinsicDimensionRatings {
42        use WarriorApproachCapability::*;
43        match self {
44            /* ------------------------------------------------------------------
45               Emphasizes Defensive & Diplomatic Solutions
46               – Focus: diplomacy, de‑escalation, guardian instinct
47               – Low appetite for risk, dominance, total warfare
48            ------------------------------------------------------------------ */
49            EmphasizesDefensiveAndDiplomaticSolutions => wc_ratings!(
50                /*  1‑10  */ 0.00,0.60,0.60,0.70,0.00,0.60,0.00,0.30,0.80,0.30,
51                /* 11‑20  */ 0.30,0.70,0.50,0.40,0.60,0.60,0.60,0.60,0.80,0.00,
52                /* 21‑30  */ 0.20,0.50,0.90,0.60,0.60,0.10,0.40,0.50,0.60,0.20,
53                /* 31‑40  */ 0.50,0.70,0.00,0.30,0.00,0.70,0.60,0.20,0.80,0.30,
54                /* 41‑50  */ 0.30,0.40,0.30,0.00,0.00,0.20,0.40,0.40,0.00,0.00,
55                /* 51‑60  */ 0.30,0.60,0.50,0.80,0.30,0.60,0.50,0.70,0.50,0.60,
56                /* 61‑70  */ 0.50,0.40,0.90,0.00,0.00,0.30,0.00,0.00,0.00,0.00,
57                /* 71‑80  */ 0.50,0.80,0.00,0.70,0.80,0.00,0.30,0.00,0.50,0.40,
58                /* 81‑90  */ 0.30,0.40,0.00,0.50,0.60,0.60,0.60,0.00,0.60,0.00,
59                /* 91‑100 */ 0.80,0.90,0.40,0.80,0.70,0.30,0.50,0.95,0.90,0.70,
60                /* 101‑115*/ 0.85,0.90,0.50,0.60,0.30,0.00,0.60,0.00,0.70,0.60,
61                              0.30,0.00,0.70,0.60,0.30
62            ),
63
64            /* ------------------------------------------------------------------
65               Prefers Strategic Alliances Over Conflict
66               – High diplomatic bias, alliance preference, relational orientation
67            ------------------------------------------------------------------ */
68            PrefersStrategicAlliancesOverConflict => wc_ratings!(
69                0.00,0.55,0.60,0.60,0.00,0.55,0.00,0.30,0.80,0.35,
70                0.35,0.70,0.55,0.35,0.55,0.65,0.60,0.70,0.75,0.00,
71                0.25,0.55,0.85,0.55,0.60,0.10,0.45,0.50,0.65,0.25,
72                0.50,0.70,0.00,0.30,0.00,0.70,0.60,0.25,0.70,0.30,
73                0.30,0.40,0.30,0.00,0.00,0.20,0.45,0.45,0.00,0.00,
74                0.35,0.55,0.55,0.70,0.35,0.60,0.55,0.65,0.55,0.60,
75                0.55,0.40,0.80,0.00,0.00,0.30,0.00,0.00,0.00,0.00,
76                0.45,0.75,0.00,0.65,0.75,0.00,0.30,0.00,0.45,0.40,
77                0.30,0.40,0.00,0.50,0.60,0.55,0.55,0.00,0.60,0.00,
78                0.75,1.00,0.40,0.75,0.70,0.35,0.50,0.90,1.00,0.65,
79                0.80,0.85,0.55,0.55,0.30,0.00,0.65,0.00,0.65,0.55,
80                                0.30,0.00,0.70,0.55,0.30
81            ),
82
83            /* ------------------------------------------------------------------
84               Balances Negotiation with Calculated Force
85               – Diplomatic + tactical coordination, higher risk tolerance
86            ------------------------------------------------------------------ */
87            BalancesNegotiationWithCalculatedForce => wc_ratings!(
88                0.00,0.60,0.70,0.60,0.35,0.60,0.00,0.35,0.75,0.55,
89                0.55,0.70,0.60,0.45,0.55,0.60,0.70,0.65,0.70,0.00,
90                0.40,0.70,0.80,0.60,0.65,0.25,0.60,0.60,0.70,0.45,
91                0.55,0.60,0.00,0.30,0.00,0.65,0.60,0.30,0.75,0.50,
92                0.40,0.45,0.40,0.25,0.25,0.35,0.50,0.50,0.15,0.10,
93                0.40,0.65,0.60,0.60,0.40,0.65,0.60,0.60,0.60,0.70,
94                0.65,0.55,0.75,0.00,0.00,0.40,0.00,0.00,0.00,0.00,
95                0.40,0.70,0.00,0.60,0.65,0.00,0.45,0.15,0.60,0.50,
96                0.40,0.50,0.00,0.60,0.60,0.60,0.55,0.00,0.55,0.00,
97                0.70,0.90,0.50,0.70,0.65,0.45,0.60,0.75,0.85,0.70,
98                0.70,0.75,0.60,0.60,0.40,0.10,0.70,0.10,0.65,0.60,
99                                0.35,0.05,0.75,0.60,0.40
100            ),
101
102            /* ------------------------------------------------------------------
103               Employs Incremental Pressure Tactics
104               – Steady escalation, moderate diplomacy, high escalation_control
105            ------------------------------------------------------------------ */
106            EmploysIncrementalPressureTactics => wc_ratings!(
107                0.00,0.55,0.65,0.55,0.30,0.55,0.00,0.30,0.70,0.40,
108                0.45,0.65,0.55,0.35,0.50,0.55,0.65,0.60,0.65,0.00,
109                0.35,0.65,0.70,0.55,0.60,0.20,0.55,0.55,0.70,0.60,
110                0.50,0.60,0.00,0.30,0.00,0.65,0.65,0.35,0.70,0.45,
111                0.35,0.45,0.40,0.20,0.20,0.30,0.45,0.45,0.10,0.10,
112                0.35,0.55,0.50,0.55,0.35,0.60,0.55,0.55,0.55,0.60,
113                0.55,0.45,0.65,0.00,0.00,0.45,0.00,0.00,0.00,0.00,
114                0.45,0.60,0.00,0.55,0.60,0.00,0.35,0.10,0.55,0.45,
115                0.35,0.45,0.00,0.50,0.55,0.60,0.55,0.00,0.55,0.00,
116                0.65,0.85,0.55,0.75,0.70,0.50,0.65,0.75,0.80,0.60,
117                0.65,0.70,0.55,0.55,0.45,0.15,0.65,0.00,0.60,0.55,
118                                0.40,0.00,0.75,0.55,0.35
119            ),
120
121            /* ------------------------------------------------------------------
122               Cultivates Mutual Respect in Adversaries
123               – Highest relational‑orientation & respect‑cultivation
124            ------------------------------------------------------------------ */
125            CultivatesMutualRespectInAdversaries => wc_ratings!(
126                0.00,0.60,0.60,0.60,0.00,0.60,0.00,0.25,0.85,0.30,
127                0.35,0.75,0.55,0.30,0.60,0.70,0.60,0.60,0.85,0.00,
128                0.25,0.55,0.85,0.50,0.60,0.05,0.35,0.40,0.65,0.15,
129                0.40,0.70,0.00,0.35,0.00,0.70,0.70,0.15,0.75,0.25,
130                0.30,0.35,0.30,0.20,0.20,0.25,0.30,0.40,0.05,0.05,
131                0.40,0.60,0.55,0.80,0.35,0.60,0.60,0.75,0.50,0.60,
132                0.50,0.40,0.80,0.00,0.00,0.25,0.00,0.00,0.00,0.00,
133                0.45,0.65,0.00,0.65,0.75,0.00,0.20,0.00,0.45,0.45,
134                0.25,0.30,0.00,0.50,0.55,0.55,0.45,0.00,0.45,0.00,
135                0.80,1.00,0.35,0.85,0.75,0.20,0.45,0.85,0.95,0.60,
136                0.85,0.90,0.65,0.85,0.20,0.00,0.70,0.00,0.70,0.50,
137                                0.25,0.00,0.60,0.45,0.30
138            ),
139
140            /* ------------------------------------------------------------------
141               Favors Pre‑emptive Decisive Action
142               – High risk tolerance, dominance, tempo, threat‑neutralization
143            ------------------------------------------------------------------ */
144            FavorsPreemptiveDecisiveAction => wc_ratings!(
145                0.10,0.70,0.75,0.55,0.45,0.60,0.00,0.35,0.70,0.75,
146                0.75,0.60,0.70,0.60,0.50,0.50,0.70,0.60,0.55,0.05,
147                0.65,0.75,0.60,0.55,0.65,0.50,0.50,0.55,0.75,0.70,
148                0.45,0.55,0.00,0.25,0.00,0.55,0.65,0.60,0.60,0.60,
149                0.55,0.55,0.50,0.40,0.40,0.50,0.55,0.45,0.20,0.20,
150                0.45,0.60,0.55,0.50,0.30,0.50,0.50,0.50,0.80,0.70,
151                0.70,0.70,0.30,0.30,0.30,0.35,0.00,0.00,0.00,0.00,
152                0.40,0.55,0.00,0.45,0.55,0.00,0.20,0.10,0.60,0.50,
153                0.35,0.45,0.00,0.50,0.55,0.60,0.55,0.00,0.50,0.00,
154                0.55,0.65,0.60,0.60,0.65,0.65,0.60,0.50,0.65,0.70,
155                0.50,0.50,0.50,0.50,0.40,0.30,0.60,0.10,0.55,0.45,
156                                0.40,0.10,0.70,0.50,0.50
157            ),
158
159            /* ------------------------------------------------------------------
160               Utilizes Strategic Ambiguity
161               – High deception, psychological ops, moderate diplomatic bias
162            ------------------------------------------------------------------ */
163            UtilizesStrategicAmbiguity => wc_ratings!(
164                0.00,0.55,0.75,0.55,0.20,0.55,0.00,0.25,0.65,0.40,
165                0.40,0.65,0.55,0.50,0.45,0.45,0.65,0.55,0.55,0.00,
166                0.30,0.70,0.75,0.80,0.60,0.40,0.55,0.85,0.70,0.35,
167                0.40,0.50,0.00,0.25,0.00,0.50,0.55,0.25,0.55,0.40,
168                0.35,0.35,0.35,0.35,0.35,0.40,0.55,0.40,0.10,0.05,
169                0.35,0.50,0.55,0.55,0.35,0.55,0.50,0.55,0.60,0.65,
170                0.60,0.55,0.40,0.50,0.40,0.50,0.00,0.00,0.00,0.00,
171                0.40,0.50,0.00,0.40,0.50,0.00,0.65,0.25,0.80,0.65,
172                0.25,0.35,0.00,0.60,0.55,0.55,0.55,0.00,0.45,0.00,
173                0.70,0.80,0.55,0.60,0.55,0.50,0.55,0.60,0.70,0.55,
174                0.65,0.70,0.50,0.45,0.45,0.20,0.55,0.20,0.55,0.55,
175                                0.35,0.20,0.60,0.45,0.40
176            ),
177
178            /* ------------------------------------------------------------------
179               Employs Indirect Psychological Methods
180               – Peak psychological ops, deception, respect for diplomacy low
181            ------------------------------------------------------------------ */
182            EmploysIndirectPsychologicalMethods => wc_ratings!(
183                0.00,0.55,0.70,0.55,0.20,0.50,0.00,0.25,0.60,0.45,
184                0.45,0.60,0.50,0.50,0.40,0.45,0.65,0.55,0.50,0.00,
185                0.35,0.65,0.60,0.90,0.55,0.40,0.50,0.90,0.70,0.30,
186                0.35,0.45,0.00,0.25,0.00,0.50,0.55,0.20,0.50,0.45,
187                0.35,0.35,0.35,0.30,0.30,0.35,0.50,0.45,0.10,0.05,
188                0.30,0.50,0.55,0.50,0.35,0.55,0.50,0.50,0.65,0.70,
189                0.65,0.60,0.30,0.45,0.35,0.50,0.00,0.00,0.00,0.00,
190                0.40,0.50,0.00,0.40,0.50,0.00,0.70,0.30,0.85,0.70,
191                0.25,0.30,0.00,0.55,0.50,0.55,0.50,0.00,0.45,0.00,
192                0.60,0.70,0.60,0.55,0.55,0.60,0.55,0.55,0.60,0.55,
193                0.60,0.70,0.50,0.40,0.50,0.25,0.50,0.20,0.55,0.50,
194                                0.35,0.20,0.55,0.45,0.40
195            ),
196
197            /* ------------------------------------------------------------------
198               Advocates Strategic Containment
199               – High boundary defense, strategic safeguarding, escalation control
200            ------------------------------------------------------------------ */
201            AdvocatesStrategicContainment => wc_ratings!(
202                0.00,0.60,0.70,0.75,0.30,0.60,0.00,0.40,0.70,0.35,
203                0.40,0.65,0.55,0.35,0.55,0.55,0.65,0.65,0.65,0.10,
204                0.45,0.70,0.70,0.55,0.60,0.20,0.60,0.55,0.70,0.55,
205                0.70,0.60,0.00,0.30,0.00,0.75,0.70,0.50,0.80,0.40,
206                0.35,0.40,0.35,0.25,0.25,0.30,0.45,0.45,0.10,0.10,
207                0.35,0.55,0.55,0.60,0.35,0.60,0.55,0.55,0.70,0.65,
208                0.65,0.60,0.40,0.30,0.40,0.60,0.00,0.00,0.00,0.00,
209                0.50,0.65,0.00,0.55,0.65,0.00,0.25,0.05,0.60,0.55,
210                0.30,0.40,0.00,0.55,0.60,0.60,0.60,0.00,0.50,0.00,
211                0.70,0.90,0.55,0.70,0.70,0.60,0.60,0.60,0.75,0.60,
212                0.60,0.65,0.55,0.50,0.45,0.20,0.60,0.10,0.60,0.55,
213                                0.35,0.10,0.70,0.50,0.45
214            ),
215
216            /* ------------------------------------------------------------------
217               Practices Tactical Withdrawal & Regrouping
218               – Strong adaptability & patience; lower dominance, risk
219            ------------------------------------------------------------------ */
220            PracticesTacticalWithdrawalAndRegrouping => wc_ratings!(
221                0.00,0.55,0.65,0.60,0.25,0.70,0.00,0.30,0.75,0.40,
222                0.45,0.70,0.70,0.35,0.60,0.55,0.70,0.60,0.70,0.05,
223                0.30,0.65,0.60,0.55,0.65,0.15,0.55,0.50,0.80,0.40,
224                0.60,0.65,0.00,0.25,0.00,0.60,0.65,0.20,0.85,0.55,
225                0.40,0.40,0.45,0.20,0.25,0.35,0.55,0.55,0.10,0.05,
226                0.45,0.70,0.75,0.90,0.50,0.75,0.80,0.65,0.85,0.70,
227                0.75,0.70,0.50,0.50,0.45,0.60,0.00,0.00,0.00,0.00,
228                0.45,0.50,0.00,0.50,0.55,0.00,0.20,0.10,0.50,0.45,
229                0.30,0.35,0.00,0.55,0.60,0.60,0.60,0.00,0.60,0.00,
230                0.75,0.90,0.55,0.75,0.70,0.50,0.65,0.70,0.80,0.60,
231                0.75,0.80,0.60,0.60,0.45,0.10,0.70,0.10,0.60,0.60,
232                                0.45,0.05,0.80,0.55,0.50
233            ),
234        }
235    }
236}