forked from elanthia-online/dr-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common-healing-data.lic
907 lines (897 loc) · 29.6 KB
/
common-healing-data.lic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
# Maps bleed rates from `health` command to severity number.
# A partially tended wound is considered more severe than
# its non-tended counterpart because once the bandages come off
# then the wound is much worse so they should be triaged first.
# https://elanthipedia.play.net/Damage#Bleeding_Levels
#
# Skill to tend based on https://elanthipedia.play.net/First_Aid_skill#Skill_to_Tend
# A 'nil' value means that can't be tended because already is tended or isn't bleeding.
$DRCH_BLEED_RATE_TO_SEVERITY_MAP = {
'tended' => {
severity: 1, # lower numbers are less severe than higher numbers
bleeding: false, # is it actively bleeding and causing vitality loss?
skill_to_tend: nil, # ranks in First Aid needed to tend this external wound
skill_to_tend_internal: nil # ranks in First Aid needed to tend this internal wound
},
'(tended)' => {
severity: 1,
bleeding: false,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'clotted' => {
severity: 2,
bleeding: false,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'clotted(tended)' => {
severity: 3,
bleeding: false,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'slight' => {
severity: 3,
bleeding: true,
skill_to_tend: 30,
skill_to_tend_internal: 600
},
'slight(tended)' => {
severity: 4,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'light' => {
severity: 4,
bleeding: true,
skill_to_tend: 40,
skill_to_tend_internal: 600
},
'light(tended)' => {
severity: 5,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'moderate' => {
severity: 5,
bleeding: true,
skill_to_tend: 50,
skill_to_tend_internal: 600
},
'moderate(tended)' => {
severity: 6,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'bad' => {
severity: 6,
bleeding: true,
skill_to_tend: 60,
skill_to_tend_internal: 620
},
'bad(tended)' => {
severity: 7,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'very bad' => {
severity: 7,
bleeding: true,
skill_to_tend: 75,
skill_to_tend_internal: 620
},
'very bad(tended)' => {
severity: 8,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'heavy' => {
severity: 8,
bleeding: true,
skill_to_tend: 90,
skill_to_tend_internal: 640
},
'heavy(tended)' => {
severity: 9,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'very heavy' => {
severity: 9,
bleeding: true,
skill_to_tend: 105,
skill_to_tend_internal: 640
},
'very heavy(tended)' => {
severity: 10,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'severe' => {
severity: 10,
bleeding: true,
skill_to_tend: 120,
skill_to_tend_internal: 660
},
'severe(tended)' => {
severity: 11,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'very severe' => {
severity: 11,
bleeding: true,
skill_to_tend: 140,
skill_to_tend_internal: 660
},
'very severe(tended)' => {
severity: 12,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'extremely severe' => {
severity: 12,
bleeding: true,
skill_to_tend: 160,
skill_to_tend_internal: 700
},
'extremely severe(tended)' => {
severity: 13,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'profuse' => {
severity: 13,
bleeding: true,
skill_to_tend: 180,
skill_to_tend_internal: 800
},
'profuse(tended)' => {
severity: 14,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'very profuse' => {
severity: 14,
bleeding: true,
skill_to_tend: 205,
skill_to_tend_internal: 800
},
'very profuse(tended)' => {
severity: 15,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'massive' => {
severity: 15,
bleeding: true,
skill_to_tend: 230,
skill_to_tend_internal: 850
},
'massive(tended)' => {
severity: 16,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'gushing' => {
severity: 16,
bleeding: true,
skill_to_tend: 255,
skill_to_tend_internal: 850
},
'gushing(tended)' => {
severity: 17,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'massive stream' => {
severity: 17,
bleeding: true,
skill_to_tend: 285,
skill_to_tend_internal: 1000
},
'massive stream(tended)' => {
severity: 18,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'gushing fountain' => {
severity: 18,
bleeding: true,
skill_to_tend: 285,
skill_to_tend_internal: 1200
},
'gushing fountain(tended)' => {
severity: 19,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'uncontrollable' => {
severity: 19,
bleeding: true,
skill_to_tend: 400,
skill_to_tend_internal: 1400
},
'uncontrollable(tended)' => {
severity: 20,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'unbelievable' => {
severity: 20,
bleeding: true,
skill_to_tend: 500,
skill_to_tend_internal: 1600
},
'unbelievable(tended)' => {
severity: 21,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'beyond measure' => {
severity: 21,
bleeding: true,
skill_to_tend: 600,
skill_to_tend_internal: 1750
},
'beyond measure(tended)' => {
severity: 22,
bleeding: true,
skill_to_tend: nil,
skill_to_tend_internal: nil
},
'death awaits' => {
severity: 22,
bleeding: true,
skill_to_tend: 700,
skill_to_tend_internal: 1750
},
}
# https://elanthipedia.play.net/Damage#Lodged_Items
$DRCH_LODGED_TO_SEVERITY_MAP = {
'loosely hanging' => 1,
'shallowly' => 2,
'firmly' => 3,
'deeply' => 4,
'savagely' => 5
}
# https://elanthipedia.play.net/Damage#Wound_Severity_Levels
$DRCH_WOUND_TO_SEVERITY_MAP = {
'insignificant' => 1,
'negligible' => 2,
'minor' => 3,
'more than minor' => 4,
'harmful' => 5,
'very harmful' => 6,
'damaging' => 7,
'very damaging' => 8,
'severe' => 9,
'very severe' => 10,
'devastating' => 11,
'very devastating' => 12,
'useless' => 13
}
# https://elanthipedia.play.net/Damage#Parasites
$DRCH_PARASITES_REGEX_LIST = [
/(?:small|large) (?:black|red) blood mite/,
/(?:black|red|albino) (sand|forest) leech/,
/(?:green|red) blood worm/,
/retch maggot/
]
# Parses the severity number out of the wound line from 'perceive health self'.
# For example, the 'negligible' in "Fresh External: light scratches -- negligible"
$DRCH_PERCEIVE_HEALTH_SEVERITY_REGEX = /(?<freshness>Fresh|Scars) (?<location>External|Internal).+--\s+(?<severity>insignificant|negligible|minor|more than minor|harmful|very harmful|damaging|very damaging|severe|very severe|devastating|very devastating|useless)\b/
$DRCH_BODY_PART_REGEX = /(?<part>(?:l\.|r\.|left|right)?\s?(?:\w+))/
# Matches body parts in the `health` line for wounds and bleeders.
$DRCH_WOUND_BODY_PART_REGEX = /(?:inside)?\s?#{$DRCH_BODY_PART_REGEX}/
# Matches body parts in the `health` line for lodged items.
$DRCH_LODGED_BODY_PART_REGEX = /lodged .* into your #{$DRCH_BODY_PART_REGEX}/
# Matches body parts in the `health` line for parasites.
$DRCH_PARASITE_BODY_PART_REGEX = /on your #{$DRCH_BODY_PART_REGEX}/
# https://elanthipedia.play.net/Damage#Wounds
$DRCH_WOUND_SEVERITY_REGEX_MAP = {
# insignificant
/minor abrasions to the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 1,
internal: false,
scar: false
},
/a few nearly invisible scars along the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 1,
internal: false,
scar: true
},
# negligible
/some tiny scars (?:across|along) the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 2,
internal: false,
scar: true
},
/(?:light|tiny) scratches to the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 2,
internal: false,
scar: false
},
# minor / more than minor
/a bruised (?<part>head)/ => {
severity: 3,
internal: true,
scar: false
},
/(?<skin>a small skin rash)/ => {
severity: 3,
internal: false,
scar: false
},
/(?<skin>loss of skin tone)/ => {
severity: 3,
internal: false,
scar: true
},
/(?<skin>some minor twitching)/ => {
severity: 3,
internal: true,
scar: false
},
/(?<skin>slight difficulty moving your fingers and toes)/ => {
severity: 3,
internal: true,
scar: true
},
/cuts and bruises about the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 3,
internal: false,
scar: false
},
/minor scar\w+ (?:about|along|across) the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 3,
internal: false,
scar: true
},
/minor swelling and bruising (?:around|in) the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 3,
internal: true,
scar: false
},
/occasional twitch\w* (?:on|in) the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 3,
internal: true,
scar: true
},
/a black and blue #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 3,
internal: false,
scar: false
},
# harmful / very harmful
/a deeply bruised (?<part>head)/ => {
severity: 4,
internal: true,
scar: false
},
/(?<skin>a large skin rash)/ => {
severity: 4,
internal: false,
scar: false
},
/(?<skin>minor skin discoloration)/ => {
severity: 4,
internal: false,
scar: true
},
/(?<skin>some severe twitching)/ => {
severity: 4,
internal: true,
scar: false
},
/(?<skin>slight numbness in your arms and legs)/ => {
severity: 4,
internal: true,
scar: true
},
/deep cuts (?:about|across) the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 4,
internal: false,
scar: false
},
/severe scarring (?:across|along|about) the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 4,
internal: false,
scar: true
},
/a severely swollen and\s?(?:deeply)? bruised #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 4,
internal: true,
scar: false
},
/(?:occasional|constant) twitch\w* (?:on|in) the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 4,
internal: true,
scar: true
},
/a bruised and swollen (?<part>(?:right|left) (?:eye))/ => {
severity: 4,
internal: false,
scar: false
},
# damaging / very damaging
/some deep slashes and cuts about the (?<part>head)/ => {
severity: 5,
internal: false,
scar: false
},
/severe scarring and ugly gashes about the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 5,
internal: false,
scar: true
},
/major swelling and bruising around the (?<part>head)/ => {
severity: 5,
internal: true,
scar: false
},
/an occasional twitch on the fore(?<part>head)/ => {
severity: 5,
internal: true,
scar: true
},
/a bruised,* swollen and bleeding #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 5,
internal: false,
scar: false
},
/deeply scarred gashes across the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 5,
internal: false,
scar: true
},
/a severely swollen, bruised and crossed #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 5,
internal: true,
scar: false
},
/a constant twitching in the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 5,
internal: true,
scar: true
},
/deep slashes across the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 5,
internal: false,
scar: false
},
/a severely swollen and deeply bruised #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 5,
internal: true,
scar: false
},
/severely swollen and bruised #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 5,
internal: true,
scar: false
},
/a constant twitching in the (?<part>chest) area and difficulty breathing/ => {
severity: 5,
internal: true,
scar: true
},
/(?<abdomen>a somewhat emaciated look)/ => {
severity: 5,
internal: true,
scar: true
},
/a constant twitching in the #{$DRCH_WOUND_BODY_PART_REGEX} and difficulty moving in general/ => {
severity: 5,
internal: true,
scar: true
},
/(?<skin>a body rash)/ => {
severity: 5,
internal: false,
scar: false
},
/severe (?<part>skin) discoloration/ => {
severity: 5,
internal: false,
scar: true
},
/(?<skin>difficulty controlling actions)/ => {
severity: 5,
internal: true,
scar: false
},
/(?<skin>numbness in your fingers and toes)/ => {
severity: 5,
internal: true,
scar: true
},
# severe / very severe
/(?<head>a cracked skull with deep slashes)/ => {
severity: 6,
internal: false,
scar: false
},
/missing chunks out of the (?<part>head)/ => {
severity: 6,
internal: false,
scar: true
},
/a bruised, swollen and slashed #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 6,
internal: false,
scar: false
},
/a punctured and shriveled #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 6,
internal: false,
scar: true
},
/a severely swollen,* bruised and cloudy #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 6,
internal: true,
scar: false
},
/a clouded #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 6,
internal: true,
scar: true
},
/gaping holes in the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 6,
internal: false,
scar: false
},
/a broken #{$DRCH_WOUND_BODY_PART_REGEX} with gaping holes/ => {
severity: 6,
internal: false,
scar: false
},
/severe scarring and ugly gashes about the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 6,
internal: false,
scar: true
},
/severe scarring and chunks of flesh missing from the #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 6,
internal: false,
scar: true
},
/a severely swollen and deeply bruised #{$DRCH_WOUND_BODY_PART_REGEX} with odd protrusions under the skin/ => {
severity: 6,
internal: true,
scar: false
},
/a severely swollen and deeply bruised (?<part>chest) area with odd protrusions under the skin/ => {
severity: 6,
internal: true,
scar: false
},
/a partially paralyzed #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 6,
internal: true,
scar: true
},
/a painful #{$DRCH_WOUND_BODY_PART_REGEX} and difficulty moving without pain/ => {
severity: 6,
internal: true,
scar: true
},
/a painful (?<part>chest) area and difficulty getting a breath without pain/ => {
severity: 6,
internal: true,
scar: true
},
/a severely bloated and discolored #{$DRCH_WOUND_BODY_PART_REGEX} with strange round lumps under the skin/ => {
severity: 6,
internal: true,
scar: false
},
/(?<abdomen>a definite greenish pallor and emaciated look)/ => {
severity: 6,
internal: true,
scar: true
},
/(?<skin>a painful,* inflamed body rash)/ => {
severity: 6,
internal: false,
scar: false
},
/(?<skin>a painful,* enflamed body rash)/ => {
severity: 6,
internal: false,
scar: false
},
/some shriveled and oddly folded (?<part>skin)/ => {
severity: 6,
internal: false,
scar: true
},
/(?<skin>partial paralysis of the entire body)/ => {
severity: 6,
internal: true,
scar: false
},
/(?<skin>numbness in your arms and legs)/ => {
severity: 6,
internal: true,
scar: true
},
# devastating / very devastating
/(?<head>a crushed skull with horrendous wounds)/ => {
severity: 7,
internal: false,
scar: false
},
/a mangled and malformed (?<part>head)/ => {
severity: 7,
internal: false,
scar: true
},
/a ghastly bloated (?<part>head) with bleeding from the ears/ => {
severity: 7,
internal: true,
scar: false
},
/a confused look with sporadic twitching of the fore(?<part>head)/ => {
severity: 7,
internal: true,
scar: true
},
/a bruised,* swollen and shattered #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 7,
internal: false,
scar: false
},
/a painfully mangled and malformed #{$DRCH_WOUND_BODY_PART_REGEX} in a shattered eye socket/ => {
severity: 7,
internal: false,
scar: true
},
/a severely swollen,* bruised and blind #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 7,
internal: true,
scar: false
},
/severely scarred,* mangled and malformed #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 7,
internal: false,
scar: true
},
/a completely clouded #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 7,
internal: true,
scar: true
},
/a shattered #{$DRCH_WOUND_BODY_PART_REGEX} with gaping wounds/ => {
severity: 7,
internal: false,
scar: false
},
/shattered (?<part>chest) area with gaping wounds/ => {
severity: 7,
internal: false,
scar: false
},
/a severely swollen and deeply bruised #{$DRCH_WOUND_BODY_PART_REGEX} with bones protruding out from the skin/ => {
severity: 7,
internal: true,
scar: false
},
/a severely swollen and deeply bruised #{$DRCH_WOUND_BODY_PART_REGEX} with ribs or vertebrae protruding out from the skin/ => {
severity: 7,
internal: true,
scar: false
},
/a severely paralyzed #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 7,
internal: true,
scar: true
},
/a severely painful #{$DRCH_WOUND_BODY_PART_REGEX} with significant problems moving/ => {
severity: 7,
internal: true,
scar: true
},
/a severely painful (?<part>chest) area with significant problems breathing/ => {
severity: 7,
internal: true,
scar: true
},
/#{$DRCH_WOUND_BODY_PART_REGEX} deeply gouged with gaping wounds/ => {
severity: 7,
internal: false,
scar: false
},
/a severely bloated and discolored #{$DRCH_WOUND_BODY_PART_REGEX} with strange round lumps under the skin/ => {
severity: 7,
internal: true,
scar: false
},
/(?<abdomen>a severely yellow pallor and a look of starvation)/ => {
severity: 7,
internal: true,
scar: true
},
/a shattered #{$DRCH_WOUND_BODY_PART_REGEX} with gaping wounds/ => {
severity: 7,
internal: false,
scar: false
},
/boils and sores around the (?<part>skin)/ => {
severity: 7,
internal: false,
scar: false
},
/severely stiff and shriveled (?<part>skin) that seems to be peeling off the body/ => {
severity: 7,
internal: false,
scar: true
},
/(?<skin>severe paralysis of the entire body)/ => {
severity: 7,
internal: true,
scar: false
},
/(?<skin>general numbness all over)/ => {
severity: 7,
internal: true,
scar: true
},
# useless
/pulpy stump for a (?<part>head)/ => {
severity: 8,
internal: false,
scar: false
},
/a stump for a (?<part>head)/ => {
severity: 8,
internal: false,
scar: true
},
/an ugly stump for a #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 8,
internal: false,
scar: false
},
/a grotesquely bloated (?<part>head) with bleeding from the eyes and ears/ => {
severity: 8,
internal: true,
scar: false
},
/(?<head>a blank stare)/ => {
severity: 8,
internal: true,
scar: true
},
/a pulpy cavity for a #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 8,
internal: false,
scar: false
},
/an empty #{$DRCH_WOUND_BODY_PART_REGEX} socket overgrown with bits of odd shaped flesh/ => {
severity: 8,
internal: false,
scar: true
},
/a severely swollen,* bruised and blind #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 8,
internal: true,
scar: false
},
/a blind #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 8,
internal: true,
scar: true
},
/a completely useless #{$DRCH_WOUND_BODY_PART_REGEX} with nearly all flesh and bone torn away/ => {
severity: 8,
internal: false,
scar: false
},
/a completely destroyed #{$DRCH_WOUND_BODY_PART_REGEX} with nearly all flesh and bone torn away revealing a gaping hole/ => {
severity: 8,
internal: false,
scar: false
},
/an ugly flesh stump for a #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 8,
internal: false,
scar: true
},
/an ugly flesh stump for a #{$DRCH_WOUND_BODY_PART_REGEX} with little left to support the head/ => {
severity: 8,
internal: false,
scar: true
},
/a severely swollen and shattered #{$DRCH_WOUND_BODY_PART_REGEX} which appears completely useless/ => {
severity: 8,
internal: true,
scar: false
},
/a severely swollen and shattered #{$DRCH_WOUND_BODY_PART_REGEX} which appears useless to hold up the head/ => {
severity: 8,
internal: true,
scar: false
},
/a completely paralyzed #{$DRCH_WOUND_BODY_PART_REGEX}/ => {
severity: 8,
internal: true,
scar: true
},
/a mostly non-existent #{$DRCH_WOUND_BODY_PART_REGEX} filled with ugly chunks of scarred flesh/ => {
severity: 8,
internal: false,
scar: true
},
/a severely swollen (?<part>chest) area with a shattered rib cage/ => {
severity: 8,
internal: true,
scar: false
},
/an extremely painful #{$DRCH_WOUND_BODY_PART_REGEX} while gasping for breath in short shallow bursts/ => {
severity: 8,
internal: true,
scar: true
},
/a severely bloated and discolored #{$DRCH_WOUND_BODY_PART_REGEX} which appears oddly rearranged/ => {
severity: 8,
internal: true,
scar: false
},
/(?<abdomen>a death pallor and extreme loss of weight)/ => {
severity: 8,
internal: true,
scar: true
},
/a severely swollen #{$DRCH_WOUND_BODY_PART_REGEX} with a shattered spinal cord/ => {
severity: 8,
internal: true,
scar: false
},
/an extremely painful and bizarrely twisted #{$DRCH_WOUND_BODY_PART_REGEX} making it nearly impossible to move/ => {
severity: 8,
internal: true,
scar: true
},
/open and bleeding sores all over the (?<part>skin)/ => {
severity: 8,
internal: false,
scar: false
},
/severe (?<part>skin) loss exposing bone and internal organs/ => {
severity: 8,
internal: false,
scar: true
},
/(?<skin>complete paralysis of the entire body)/ => {
severity: 8,
internal: true,
scar: false
},
/(?<skin>general numbness all over and have difficulty thinking)/ => {
severity: 8,
internal: true,
scar: true
}
}
# https://elanthipedia.play.net/Damage#Wounds
$DRCH_WOUND_COMMA_SEPARATOR = /(?<=swollen|bruised|scarred|painful),(?=\s(?:swollen|bruised|mangled|inflamed))/