Skip to main content

character_traits_warrior_capability/
conflict_mitigation_capability.rs

1// ---------------- [ File: character-traits-warrior-capability/src/conflict_mitigation_capability.rs ]
2crate::ix!();
3
4#[derive(Copy,EnumIter,Debug, Clone, PartialEq, Eq, Hash)]
5pub enum WarriorConflictMitigationCapability {
6    /// Proactively reduces or prevents conflicts from arising through strategic anticipation.
7    SkilledInConflictPrevention,
8
9    /// Expertly negotiates agreements to pause or halt hostilities, creating breathing room.
10    NegotiatesStrategicCeasefires,
11
12    /// Skillfully identifies and defuses emerging tensions before conflict can escalate.
13    DefusesEmergingTensions,
14
15    /// Guides opposing parties from adversarial stances toward collaborative problem-solving.
16    TransformsRivalryIntoCollaboration,
17
18    /// Consistently employs effective non-lethal methods to resolve active conflicts.
19    ImplementsNonLethalResolutions,
20
21    /// Effectively mediates disputes between culturally or ideologically opposed groups.
22    MediatesCrossCulturalConflicts,
23
24    /// Utilizes diplomatic leverage to influence adversaries toward peaceful compromises.
25    ExercisesDiplomaticLeverage,
26
27    /// Facilitates dialogue under hostile conditions to achieve constructive outcomes.
28    FacilitatesConstructiveDialogueUnderPressure,
29
30    /// Utilizes psychological understanding to reduce hostility among opposing parties.
31    EmploysPsychologicalDeescalationTechniques,
32
33    /// Strategically redirects competitive energies toward shared objectives.
34    RedirectsCompetitiveEnergyConstructively,
35}
36
37impl WarriorConflictMitigationCapability {
38    /// Fully expanded 0.0–1.0 ratings for every intrinsic dimension.
39    pub fn intrinsic_dimension_ratings(&self) -> WarriorCapabilityIntrinsicDimensionRatings {
40        use WarriorConflictMitigationCapability::*;
41        match self {
42            /* ================================================================
43               1. Skilled In Conflict Prevention
44               ================================================================ */
45            SkilledInConflictPrevention => wc_ratings!(
46                /*  1–10  */ 0.00,0.55,0.75,0.65,0.00,0.60,0.00,0.30,0.80,0.30,
47                /* 11–20  */ 0.40,0.70,0.55,0.30,0.60,0.60,0.60,0.50,0.80,0.00,
48                /* 21–30  */ 0.20,0.60,0.85,0.65,0.60,0.10,0.40,0.50,0.65,0.10,
49                /* 31–40  */ 0.70,0.70,0.60,0.30,0.00,0.85,0.70,0.30,0.65,0.30,
50                /* 41–50  */ 0.30,0.30,0.40,0.30,0.20,0.20,0.50,0.50,0.10,0.20,
51                /* 51–60  */ 0.60,0.60,0.70,0.30,0.65,0.40,0.60,0.60,0.60,0.90,
52                /* 61–70  */ 0.60,0.90,0.00,0.00,0.40,0.00,0.00,0.00,0.40,0.00,
53                /* 71–80  */ 0.70,0.80,0.00,0.60,0.60,0.00,0.40,0.00,0.40,0.00,
54                /* 81–90  */ 0.00,0.50,0.00,0.60,0.60,0.60,0.00,0.00,0.50,0.00,
55                /* 91–100 */ 0.80,0.75,0.50,0.80,0.70,0.00,0.50,0.90,0.85,0.60,
56                /*101–115*/ 0.90,0.75,0.50,0.80,0.70,0.40,0.40,0.60,0.50,0.70,
57                             0.30,0.65,0.40,0.40,0.70
58            ),
59
60            /* ================================================================
61               2. Negotiates Strategic Ceasefires
62               ================================================================ */
63            NegotiatesStrategicCeasefires => wc_ratings!(
64                0.00,0.60,0.65,0.60,0.00,0.55,0.00,0.30,0.80,0.35,
65                0.35,0.75,0.55,0.30,0.55,0.65,0.60,0.55,0.80,0.00,
66                0.15,0.55,0.90,0.65,0.55,0.05,0.35,0.45,0.60,0.10,
67                0.60,0.65,0.50,0.30,0.00,0.80,0.65,0.25,0.70,0.25,
68                0.25,0.30,0.35,0.20,0.15,0.15,0.40,0.40,0.05,0.05,
69                0.50,0.55,0.55,0.55,0.35,0.55,0.55,0.55,0.50,0.75,
70                0.50,0.90,0.00,0.00,0.35,0.00,0.00,0.00,0.30,0.00,
71                0.60,0.70,0.00,0.55,0.60,0.00,0.30,0.00,0.40,0.35,
72                0.00,0.45,0.00,0.55,0.50,0.50,0.45,0.00,0.45,0.00,
73                0.85,0.95,0.35,0.70,0.70,0.00,0.45,0.95,1.00,0.65,
74                0.80,0.90,0.60,0.75,0.30,0.00,0.80,0.00,0.60,0.55,
75                             0.25,0.20,0.50,0.40,0.60
76            ),
77
78            /* ================================================================
79               3. Defuses Emerging Tensions
80               ================================================================ */
81            DefusesEmergingTensions => wc_ratings!(
82                0.00,0.55,0.70,0.60,0.00,0.55,0.00,0.30,0.80,0.35,
83                0.35,0.70,0.60,0.30,0.55,0.60,0.60,0.55,0.75,0.00,
84                0.20,0.55,0.80,0.70,0.60,0.05,0.35,0.50,0.70,0.10,
85                0.55,0.65,0.60,0.30,0.00,0.75,0.70,0.30,0.70,0.30,
86                0.25,0.35,0.35,0.20,0.15,0.15,0.45,0.45,0.05,0.05,
87                0.55,0.60,0.60,0.60,0.35,0.55,0.55,0.60,0.60,0.85,
88                0.60,0.90,0.00,0.00,0.45,0.00,0.00,0.00,0.40,0.00,
89                0.65,0.75,0.00,0.60,0.65,0.00,0.35,0.00,0.50,0.45,
90                0.00,0.50,0.00,0.55,0.55,0.55,0.50,0.00,0.50,0.00,
91                0.80,0.90,0.40,0.70,0.70,0.00,0.50,0.90,0.90,0.65,
92                0.90,0.85,0.65,0.80,0.35,0.00,0.75,0.05,0.65,0.60,
93                             0.40,0.15,0.60,0.50,0.60
94            ),
95
96            /* ================================================================
97               4. Transforms Rivalry Into Collaboration
98               ================================================================ */
99            TransformsRivalryIntoCollaboration => wc_ratings!(
100                0.00,0.60,0.70,0.65,0.00,0.60,0.00,0.30,0.85,0.40,
101                0.40,0.75,0.60,0.30,0.60,0.70,0.60,0.60,0.85,0.00,
102                0.20,0.55,0.85,0.65,0.60,0.05,0.35,0.45,0.70,0.10,
103                0.55,0.75,0.60,0.40,0.00,0.80,0.75,0.30,0.75,0.30,
104                0.30,0.35,0.35,0.20,0.15,0.15,0.45,0.45,0.05,0.05,
105                0.60,0.65,0.65,0.75,0.40,0.60,0.60,0.70,0.60,0.80,
106                0.60,0.85,0.00,0.10,0.50,0.00,0.00,0.00,0.45,0.00,
107                0.60,0.70,0.00,0.65,0.70,0.00,0.35,0.00,0.50,0.45,
108                0.00,0.50,0.00,0.60,0.60,0.60,0.55,0.00,0.50,0.00,
109                0.85,0.95,0.40,0.85,0.75,0.00,0.50,0.85,0.95,0.65,
110                0.90,0.95,0.70,0.85,0.50,0.00,0.80,0.05,0.70,0.60,
111                             0.45,0.20,0.60,0.50,0.60
112            ),
113
114            /* ================================================================
115               5. Implements Non‑Lethal Resolutions
116               ================================================================ */
117            ImplementsNonLethalResolutions => wc_ratings!(
118                0.00,0.55,0.65,0.65,0.00,0.60,0.00,0.30,0.90,0.40,
119                0.35,0.80,0.60,0.25,0.70,0.60,0.65,0.55,0.80,0.00,
120                0.20,0.55,0.75,0.60,0.60,0.05,0.35,0.40,0.65,0.05,
121                0.45,0.65,0.65,0.35,0.70,0.80,0.70,0.25,0.75,0.25,
122                0.25,0.30,0.30,0.20,0.15,0.15,0.40,0.45,0.05,0.05,
123                0.55,0.60,0.65,0.70,0.50,0.65,0.70,0.60,0.65,0.75,
124                0.55,0.85,0.00,0.15,0.60,0.00,0.00,0.00,0.30,0.00,
125                0.55,0.60,0.00,0.55,0.65,0.00,0.30,0.00,0.40,0.35,
126                0.00,0.50,0.00,0.60,0.55,0.55,0.55,0.00,0.45,0.00,
127                0.80,0.90,0.35,0.80,0.70,0.00,0.45,0.80,0.85,0.60,
128                0.90,0.90,0.70,0.80,0.45,0.00,0.75,0.05,0.65,0.55,
129                             0.35,0.10,0.70,0.55,0.65
130            ),
131
132            /* ================================================================
133               6. Mediates Cross‑Cultural Conflicts
134               ================================================================ */
135            MediatesCrossCulturalConflicts => wc_ratings!(
136                0.00,0.60,0.65,0.65,0.00,0.60,0.00,0.30,0.85,0.30,
137                0.30,0.75,0.55,0.25,0.55,0.65,0.60,0.60,0.85,0.00,
138                0.20,0.55,0.90,0.60,0.60,0.05,0.35,0.45,0.65,0.10,
139                0.50,0.70,0.60,0.50,0.00,0.80,0.65,0.25,0.70,0.20,
140                0.20,0.25,0.30,0.20,0.15,0.15,0.40,0.40,0.05,0.05,
141                0.60,0.60,0.60,0.60,0.40,0.65,0.60,0.65,0.45,0.70,
142                0.55,0.85,0.00,0.15,0.50,0.00,0.00,0.00,0.40,0.00,
143                0.55,0.70,0.00,0.60,0.70,0.00,0.25,0.00,0.40,0.45,
144                0.30,0.60,0.00,0.50,0.55,0.55,0.50,0.00,0.45,0.00,
145                0.85,1.00,0.40,0.85,0.75,0.00,0.50,0.85,0.95,0.60,
146                0.90,0.95,0.70,0.80,0.50,0.00,0.80,0.00,0.70,0.60,
147                             0.40,0.20,0.65,0.50,0.60
148            ),
149
150            /* ================================================================
151               7. Exercises Diplomatic Leverage
152               ================================================================ */
153            ExercisesDiplomaticLeverage => wc_ratings!(
154                0.00,0.70,0.70,0.60,0.00,0.55,0.00,0.35,0.80,0.40,
155                0.45,0.70,0.55,0.30,0.55,0.60,0.65,0.60,0.80,0.00,
156                0.50,0.65,0.90,0.70,0.55,0.30,0.35,0.50,0.60,0.20,
157                0.45,0.65,0.55,0.35,0.00,0.70,0.65,0.30,0.65,0.35,
158                0.30,0.35,0.35,0.25,0.20,0.20,0.40,0.40,0.05,0.05,
159                0.45,0.55,0.55,0.55,0.35,0.55,0.55,0.55,0.50,0.65,
160                0.50,0.80,0.00,0.05,0.45,0.00,0.00,0.00,0.35,0.00,
161                0.60,0.70,0.00,0.55,0.65,0.00,0.30,0.00,0.45,0.40,
162                0.00,0.45,0.00,0.55,0.55,0.55,0.50,0.00,0.45,0.00,
163                0.85,0.95,0.45,0.75,0.70,0.00,0.50,0.80,0.90,0.60,
164                0.85,0.90,0.65,0.75,0.35,0.00,0.75,0.00,0.65,0.55,
165                             0.30,0.15,0.55,0.50,0.50
166            ),
167
168            /* ================================================================
169               8. Facilitates Constructive Dialogue Under Pressure
170               ================================================================ */
171            FacilitatesConstructiveDialogueUnderPressure => wc_ratings!(
172                0.00,0.60,0.65,0.60,0.00,0.60,0.00,0.30,0.85,0.35,
173                0.35,0.75,0.60,0.30,0.55,0.70,0.65,0.60,0.85,0.00,
174                0.20,0.60,0.85,0.65,0.60,0.05,0.35,0.45,0.70,0.10,
175                0.50,0.70,0.60,0.35,0.00,0.75,0.70,0.30,0.75,0.30,
176                0.30,0.30,0.35,0.25,0.20,0.20,0.45,0.45,0.10,0.05,
177                0.55,0.65,0.70,0.70,0.45,0.65,0.65,0.70,0.50,0.80,
178                0.50,0.90,0.00,0.10,0.50,0.00,0.00,0.00,0.45,0.00,
179                0.55,0.65,0.00,0.60,0.65,0.00,0.25,0.00,0.45,0.55,
180                0.00,0.55,0.00,0.55,0.55,0.60,0.55,0.00,0.50,0.80,
181                0.85,1.00,0.35,0.85,0.85,0.00,0.55,0.85,0.95,0.80,
182                0.90,0.95,0.75,0.85,0.50,0.00,0.80,0.00,0.75,1.00,
183                             0.50,0.25,0.65,0.55,0.80
184            ),
185
186            /* ================================================================
187               9. Employs Psychological De‑escalation Techniques
188               ================================================================ */
189            EmploysPsychologicalDeescalationTechniques => wc_ratings!(
190                0.00,0.55,0.70,0.60,0.00,0.55,0.00,0.25,0.80,0.35,
191                0.40,0.70,0.55,0.35,0.55,0.55,0.65,0.55,0.75,0.00,
192                0.25,0.60,0.80,0.95,0.55,0.05,0.35,0.65,0.65,0.05,
193                0.40,0.55,0.55,0.25,0.00,0.70,0.70,0.25,0.60,0.30,
194                0.25,0.30,0.30,0.25,0.20,0.20,0.45,0.45,0.10,0.10,
195                0.50,0.55,0.60,0.60,0.40,0.60,0.55,0.60,0.60,0.75,
196                0.60,0.85,0.00,0.10,0.55,0.00,0.00,0.00,0.55,0.00,
197                0.60,0.70,0.00,0.60,0.70,0.50,0.50,0.30,0.85,0.70,
198                0.25,0.35,0.60,0.60,0.55,0.55,0.50,0.00,0.55,0.00,
199                0.70,0.80,0.60,0.65,0.65,0.60,0.55,0.70,0.70,0.55,
200                0.70,0.75,0.55,0.45,0.50,0.20,0.60,0.20,0.60,0.55,
201                             0.35,0.20,0.55,0.50,0.60
202            ),
203
204            /* ================================================================
205               10. Redirects Competitive Energy Constructively
206               ================================================================ */
207            RedirectsCompetitiveEnergyConstructively => wc_ratings!(
208                0.00,0.60,0.70,0.60,0.00,0.60,0.00,0.35,0.80,0.50,
209                0.50,0.70,0.60,0.40,0.60,0.75,0.70,0.60,0.80,0.00,
210                0.40,0.65,0.75,0.70,0.70,0.15,0.40,0.50,0.70,0.15,
211                0.50,0.65,0.60,0.35,0.00,0.75,0.80,0.35,0.75,0.35,
212                0.35,0.35,0.40,0.25,0.25,0.25,0.50,0.50,0.15,0.15,
213                0.55,0.65,0.65,0.65,0.40,0.65,0.60,0.65,0.60,0.80,
214                0.55,0.80,0.00,0.05,0.50,0.00,0.00,0.00,0.45,0.00,
215                0.55,0.65,0.00,0.55,0.65,0.00,0.30,0.00,0.45,0.40,
216                0.00,0.45,0.00,0.55,0.60,0.60,0.55,0.00,0.50,0.00,
217                0.80,0.95,0.50,0.80,0.75,0.40,0.55,0.80,0.85,0.70,
218                0.80,0.85,0.65,0.75,0.40,0.10,0.70,0.10,0.65,0.60,
219                             0.40,0.10,0.70,0.55,0.60
220            ),
221        }
222    }
223}