Skip to content

Commit

Permalink
added Clavicle and Sternum surgeries
Browse files Browse the repository at this point in the history
Also move the Cataract to hardsurgery + update the readme
  • Loading branch information
kaptain-kavern committed Jul 24, 2016
1 parent be6d2b2 commit 03650a8
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 34 deletions.
147 changes: 118 additions & 29 deletions Defs/RecipeDefs/Recipes_Surgery.xml
Expand Up @@ -443,6 +443,48 @@
</appliedOnFixedBodyParts>
</RecipeDef>

<!-- Bone/limb: clavicle -->
<RecipeDef ParentName="SurgeryNormal">
<defName>RepairBonesClavicle</defName>
<label>repair clavicle</label>
<description>Repair clavicle</description>
<workerClass>Recipe_InstallNaturalBodyPart</workerClass>
<jobString>Repairing clavicle</jobString>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>2</count>
</li>
<li>
<filter>
<thingDefs>
<li>Plasteel</li>
</thingDefs>
</filter>
<count>10</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
<exceptedThingDefs>
<li>HerbalMedicine</li>
</exceptedThingDefs>
<thingDefs>
<li>Plasteel</li>
</thingDefs>
</fixedIngredientFilter>
<appliedOnFixedBodyParts>
<li>LeftClavicle</li>
<li>RightClavicle</li>
</appliedOnFixedBodyParts>
</RecipeDef>

<!-- Bone/limb finger -->
<RecipeDef ParentName="SurgeryNormal">
<defName>RepairFinger</defName>
Expand Down Expand Up @@ -519,35 +561,7 @@
<li>RightFootSecondToe</li>
<li>RightFootBigToe</li>
</appliedOnFixedBodyParts>
</RecipeDef>

<!-- Chronic: Cataract -->
<RecipeDef ParentName="SurgeryNormal">
<defName>CureChronicCataract</defName>
<label>cure cataract</label>
<description>Cure cataract.</description>
<workerClass>Recipe_RemoveHediff</workerClass>
<jobString>Curing cataract.</jobString>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>2</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
<exceptedThingDefs>
<li>HerbalMedicine</li>
</exceptedThingDefs>
</fixedIngredientFilter>
<removesHediff>Cataract</removesHediff>
</RecipeDef>
</RecipeDef>

<!-- Chronic: HearingLoss -->
<RecipeDef ParentName="SurgeryNormal">
Expand Down Expand Up @@ -640,6 +654,34 @@


<!-- Hard Surgery -->
<!-- Chronic: Cataract -->
<RecipeDef ParentName="SurgeryNormal">
<defName>CureChronicCataract</defName>
<label>cure cataract</label>
<description>Cure cataract.</description>
<workerClass>Recipe_RemoveHediff</workerClass>
<jobString>Curing cataract.</jobString>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>3</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
<exceptedThingDefs>
<li>HerbalMedicine</li>
</exceptedThingDefs>
</fixedIngredientFilter>
<removesHediff>Cataract</removesHediff>
</RecipeDef>

<!-- Bones: Spine -->
<RecipeDef ParentName="SurgeryHard">
<defName>RepairBoneSpine</defName>
Expand Down Expand Up @@ -763,6 +805,47 @@
</appliedOnFixedBodyParts>
</RecipeDef>

<!-- Bone/limb: Sternum -->
<RecipeDef ParentName="SurgeryHard">
<defName>RepairBonesSternum</defName>
<label>repair Sternum</label>
<description>Repair Sternum</description>
<workerClass>Recipe_InstallNaturalBodyPart</workerClass>
<jobString>Repairing Sternum</jobString>
<ingredients>
<li>
<filter>
<categories>
<li>Medicine</li>
</categories>
</filter>
<count>2</count>
</li>
<li>
<filter>
<thingDefs>
<li>Plasteel</li>
</thingDefs>
</filter>
<count>24</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>Medicine</li>
</categories>
<exceptedThingDefs>
<li>HerbalMedicine</li>
</exceptedThingDefs>
<thingDefs>
<li>Plasteel</li>
</thingDefs>
</fixedIngredientFilter>
<appliedOnFixedBodyParts>
<li>Sternum</li>
</appliedOnFixedBodyParts>
</RecipeDef>

<!-- Chronic: Badback -->
<RecipeDef ParentName="SurgeryHard">
<defName>CureChronicBadBack</defName>
Expand Down Expand Up @@ -795,6 +878,9 @@
<exceptedThingDefs>
<li>HerbalMedicine</li>
</exceptedThingDefs>
<thingDefs>
<li>Plasteel</li>
</thingDefs>
</fixedIngredientFilter>
<removesHediff>BadBack</removesHediff>
</RecipeDef>
Expand Down Expand Up @@ -831,6 +917,9 @@
<exceptedThingDefs>
<li>HerbalMedicine</li>
</exceptedThingDefs>
<thingDefs>
<li>Plasteel</li>
</thingDefs>
</fixedIngredientFilter>
<removesHediff>Frail</removesHediff>
</RecipeDef>
Expand Down
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -7,7 +7,7 @@ DESurgeries (originally by [DarknessEyes](https://ludeon.com/forums/index.php?to
> * 8 chronic surgeries: Bad back, Frail, Cataract, Hearing loss, Dementia, Alzheimers, Asthma and Heart artery blockage.
> * 12 injury surgeries: Burn, Crush, Crack, Cut, Surgical cut, Scratch, Bite, Stab, Gunshot, Shredded, Bruise, Frostbite.
> * 2 Parasite surgeries : Muscle Parasite, Gut Worms
> * 6 bone/limb surgeries: Finger, Toe, Mandible, Pelvis, Rib cage and Spine.
> * 8 bone/limb surgeries: Finger, Toe, Mandible, Pelvis, Clavicles, Sternum, Rib cage and Spine.
____________________________
**<======================[[DOWNLOAD](https://github.com/kaptain-kavern/DESurgeries/releases/latest)]======================>**
Expand All @@ -22,21 +22,21 @@ As for now, this mod is __not compatible__ with [EPOE](https://ludeon.com/forums
* _Requires level 5 medicine._

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

## Hard surgeries:
*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)*
* Asthma, Bad back, Frail, Rib cage, Spine, Pelvis, Muscle Parasites and Gut Worms.
* Asthma, Cataract, Bad back, Frail, Rib cage, Spine, Pelvis, Sternum, Muscle Parasites and Gut Worms.
* Work: 4,500.
* Requires 3 units of medicine (Healroots cannot be used).
* _Requires level 10 medicine._
* __On failure there is 10% chance to kill the patient.__
* Spine surgery and Bad Back treatment also requires 30 Plasteel.
* Pelvis, Rib Cage surgery and Frail treatment also requires 24 Plasteel.
* Pelvis, Sternum, Rib Cage surgery and Frail treatment also requires 24 Plasteel.
* Muscle Parasites and Gut Worms treatment requires __5 units of medicine__

## Very hard surgeries:
Expand Down

0 comments on commit 03650a8

Please sign in to comment.