Skip to content

Commit 03650a8

Browse files
added Clavicle and Sternum surgeries
Also move the Cataract to hardsurgery + update the readme
1 parent be6d2b2 commit 03650a8

File tree

2 files changed

+123
-34
lines changed

2 files changed

+123
-34
lines changed

Defs/RecipeDefs/Recipes_Surgery.xml

Lines changed: 118 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,48 @@
443443
</appliedOnFixedBodyParts>
444444
</RecipeDef>
445445

446+
<!-- Bone/limb: clavicle -->
447+
<RecipeDef ParentName="SurgeryNormal">
448+
<defName>RepairBonesClavicle</defName>
449+
<label>repair clavicle</label>
450+
<description>Repair clavicle</description>
451+
<workerClass>Recipe_InstallNaturalBodyPart</workerClass>
452+
<jobString>Repairing clavicle</jobString>
453+
<ingredients>
454+
<li>
455+
<filter>
456+
<categories>
457+
<li>Medicine</li>
458+
</categories>
459+
</filter>
460+
<count>2</count>
461+
</li>
462+
<li>
463+
<filter>
464+
<thingDefs>
465+
<li>Plasteel</li>
466+
</thingDefs>
467+
</filter>
468+
<count>10</count>
469+
</li>
470+
</ingredients>
471+
<fixedIngredientFilter>
472+
<categories>
473+
<li>Medicine</li>
474+
</categories>
475+
<exceptedThingDefs>
476+
<li>HerbalMedicine</li>
477+
</exceptedThingDefs>
478+
<thingDefs>
479+
<li>Plasteel</li>
480+
</thingDefs>
481+
</fixedIngredientFilter>
482+
<appliedOnFixedBodyParts>
483+
<li>LeftClavicle</li>
484+
<li>RightClavicle</li>
485+
</appliedOnFixedBodyParts>
486+
</RecipeDef>
487+
446488
<!-- Bone/limb finger -->
447489
<RecipeDef ParentName="SurgeryNormal">
448490
<defName>RepairFinger</defName>
@@ -519,35 +561,7 @@
519561
<li>RightFootSecondToe</li>
520562
<li>RightFootBigToe</li>
521563
</appliedOnFixedBodyParts>
522-
</RecipeDef>
523-
524-
<!-- Chronic: Cataract -->
525-
<RecipeDef ParentName="SurgeryNormal">
526-
<defName>CureChronicCataract</defName>
527-
<label>cure cataract</label>
528-
<description>Cure cataract.</description>
529-
<workerClass>Recipe_RemoveHediff</workerClass>
530-
<jobString>Curing cataract.</jobString>
531-
<ingredients>
532-
<li>
533-
<filter>
534-
<categories>
535-
<li>Medicine</li>
536-
</categories>
537-
</filter>
538-
<count>2</count>
539-
</li>
540-
</ingredients>
541-
<fixedIngredientFilter>
542-
<categories>
543-
<li>Medicine</li>
544-
</categories>
545-
<exceptedThingDefs>
546-
<li>HerbalMedicine</li>
547-
</exceptedThingDefs>
548-
</fixedIngredientFilter>
549-
<removesHediff>Cataract</removesHediff>
550-
</RecipeDef>
564+
</RecipeDef>
551565

552566
<!-- Chronic: HearingLoss -->
553567
<RecipeDef ParentName="SurgeryNormal">
@@ -640,6 +654,34 @@
640654

641655

642656
<!-- Hard Surgery -->
657+
<!-- Chronic: Cataract -->
658+
<RecipeDef ParentName="SurgeryNormal">
659+
<defName>CureChronicCataract</defName>
660+
<label>cure cataract</label>
661+
<description>Cure cataract.</description>
662+
<workerClass>Recipe_RemoveHediff</workerClass>
663+
<jobString>Curing cataract.</jobString>
664+
<ingredients>
665+
<li>
666+
<filter>
667+
<categories>
668+
<li>Medicine</li>
669+
</categories>
670+
</filter>
671+
<count>3</count>
672+
</li>
673+
</ingredients>
674+
<fixedIngredientFilter>
675+
<categories>
676+
<li>Medicine</li>
677+
</categories>
678+
<exceptedThingDefs>
679+
<li>HerbalMedicine</li>
680+
</exceptedThingDefs>
681+
</fixedIngredientFilter>
682+
<removesHediff>Cataract</removesHediff>
683+
</RecipeDef>
684+
643685
<!-- Bones: Spine -->
644686
<RecipeDef ParentName="SurgeryHard">
645687
<defName>RepairBoneSpine</defName>
@@ -763,6 +805,47 @@
763805
</appliedOnFixedBodyParts>
764806
</RecipeDef>
765807

808+
<!-- Bone/limb: Sternum -->
809+
<RecipeDef ParentName="SurgeryHard">
810+
<defName>RepairBonesSternum</defName>
811+
<label>repair Sternum</label>
812+
<description>Repair Sternum</description>
813+
<workerClass>Recipe_InstallNaturalBodyPart</workerClass>
814+
<jobString>Repairing Sternum</jobString>
815+
<ingredients>
816+
<li>
817+
<filter>
818+
<categories>
819+
<li>Medicine</li>
820+
</categories>
821+
</filter>
822+
<count>2</count>
823+
</li>
824+
<li>
825+
<filter>
826+
<thingDefs>
827+
<li>Plasteel</li>
828+
</thingDefs>
829+
</filter>
830+
<count>24</count>
831+
</li>
832+
</ingredients>
833+
<fixedIngredientFilter>
834+
<categories>
835+
<li>Medicine</li>
836+
</categories>
837+
<exceptedThingDefs>
838+
<li>HerbalMedicine</li>
839+
</exceptedThingDefs>
840+
<thingDefs>
841+
<li>Plasteel</li>
842+
</thingDefs>
843+
</fixedIngredientFilter>
844+
<appliedOnFixedBodyParts>
845+
<li>Sternum</li>
846+
</appliedOnFixedBodyParts>
847+
</RecipeDef>
848+
766849
<!-- Chronic: Badback -->
767850
<RecipeDef ParentName="SurgeryHard">
768851
<defName>CureChronicBadBack</defName>
@@ -795,6 +878,9 @@
795878
<exceptedThingDefs>
796879
<li>HerbalMedicine</li>
797880
</exceptedThingDefs>
881+
<thingDefs>
882+
<li>Plasteel</li>
883+
</thingDefs>
798884
</fixedIngredientFilter>
799885
<removesHediff>BadBack</removesHediff>
800886
</RecipeDef>
@@ -831,6 +917,9 @@
831917
<exceptedThingDefs>
832918
<li>HerbalMedicine</li>
833919
</exceptedThingDefs>
920+
<thingDefs>
921+
<li>Plasteel</li>
922+
</thingDefs>
834923
</fixedIngredientFilter>
835924
<removesHediff>Frail</removesHediff>
836925
</RecipeDef>

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DESurgeries (originally by [DarknessEyes](https://ludeon.com/forums/index.php?to
77
> * 8 chronic surgeries: Bad back, Frail, Cataract, Hearing loss, Dementia, Alzheimers, Asthma and Heart artery blockage.
88
> * 12 injury surgeries: Burn, Crush, Crack, Cut, Surgical cut, Scratch, Bite, Stab, Gunshot, Shredded, Bruise, Frostbite.
99
> * 2 Parasite surgeries : Muscle Parasite, Gut Worms
10-
> * 6 bone/limb surgeries: Finger, Toe, Mandible, Pelvis, Rib cage and Spine.
10+
> * 8 bone/limb surgeries: Finger, Toe, Mandible, Pelvis, Clavicles, Sternum, Rib cage and Spine.
1111
1212
____________________________
1313
**<======================[[DOWNLOAD](https://github.com/kaptain-kavern/DESurgeries/releases/latest)]======================>**
@@ -22,21 +22,21 @@ As for now, this mod is __not compatible__ with [EPOE](https://ludeon.com/forums
2222
* _Requires level 5 medicine._
2323

2424
## Normal surgeries:
25-
* Mandible, Finger, Toe, Ear, Nose, Cataract and Hearing loss.
25+
* Mandible, Finger, Toe, Clavicles, Ear, Nose and Hearing loss.
2626
* Work: 3,000.
2727
* Requires 2 units of medicine (Healroots cannot be used).
2828
* _Requires level 8 medicine._
29-
* Mandible surgery requires 10 Plasteel.
29+
* Mandible and clavicles surgeries requires 10 Plasteel.
3030

3131
## Hard surgeries:
3232
*You can try to heal Muscle Parasites and Gut Worms in one operation (instead of waiting for the 5 treatments in Vanilla) but it will cost you 5 units of medicine in one time. Also be aware of the risk of lethal failures (if the operation fail then there is a 10% chance of killing the patient)*
33-
* Asthma, Bad back, Frail, Rib cage, Spine, Pelvis, Muscle Parasites and Gut Worms.
33+
* Asthma, Cataract, Bad back, Frail, Rib cage, Spine, Pelvis, Sternum, Muscle Parasites and Gut Worms.
3434
* Work: 4,500.
3535
* Requires 3 units of medicine (Healroots cannot be used).
3636
* _Requires level 10 medicine._
3737
* __On failure there is 10% chance to kill the patient.__
3838
* Spine surgery and Bad Back treatment also requires 30 Plasteel.
39-
* Pelvis, Rib Cage surgery and Frail treatment also requires 24 Plasteel.
39+
* Pelvis, Sternum, Rib Cage surgery and Frail treatment also requires 24 Plasteel.
4040
* Muscle Parasites and Gut Worms treatment requires __5 units of medicine__
4141

4242
## Very hard surgeries:

0 commit comments

Comments
 (0)