add recipe extractbrain, refactor thingdefinject
This commit is contained in:
parent
d2ed0c62be
commit
94f0d15431
Binary file not shown.
@ -78,4 +78,29 @@
|
||||
<targetsBodyPart>false</targetsBodyPart>
|
||||
<surgerySuccessChanceFactor>5</surgerySuccessChanceFactor>
|
||||
</RecipeDef>
|
||||
|
||||
<RecipeDef ParentName="SurgeryFlesh">
|
||||
<defName>PN_ExtractBrain</defName>
|
||||
<label>extract brain</label>
|
||||
<description>extract brain.</description>
|
||||
<workerClass>AutomataRace.Recipe_RemoveBrain</workerClass>
|
||||
<jobString>Remove Brain.</jobString>
|
||||
<workAmount>2000</workAmount>
|
||||
<surgerySuccessChanceFactor>1.2</surgerySuccessChanceFactor>
|
||||
<ingredients>
|
||||
<li>
|
||||
<filter>
|
||||
<categories>
|
||||
<li>Medicine</li>
|
||||
</categories>
|
||||
</filter>
|
||||
<count>1</count>
|
||||
</li>
|
||||
</ingredients>
|
||||
<fixedIngredientFilter>
|
||||
<categories>
|
||||
<li>Medicine</li>
|
||||
</categories>
|
||||
</fixedIngredientFilter>
|
||||
</RecipeDef>
|
||||
</Defs>
|
@ -1,8 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
<!--=================================== 레시피 설정 ===================================-->
|
||||
<AutomataRace.ThingDefInjectDef>
|
||||
<defName>Recipe_PN_RemoveBrain_Inject</defName>
|
||||
<conditions>
|
||||
<li Class="AutomataRace.ThingDefInject.IsHumanlike"></li>
|
||||
<li Class="AutomataRace.ThingDefInject.IsFlesh"></li>
|
||||
<li Class="AutomataRace.ThingDefInject.IsDefNameEqual">
|
||||
<not>true</not>
|
||||
<defName>Paniel_Race</defName>
|
||||
</li>
|
||||
</conditions>
|
||||
<recipes>
|
||||
<li>PN_ExtractBrain</li>
|
||||
</recipes>
|
||||
</AutomataRace.ThingDefInjectDef>
|
||||
|
||||
<!--==================================== 시체 설정 ====================================-->
|
||||
<AutomataRace.ThingDefCompInjectDef>
|
||||
<AutomataRace.ThingDefInjectDef>
|
||||
<defName>Comp_CorpseSelfDestruct_Inject</defName>
|
||||
<conditions>
|
||||
<li Class="AutomataRace.ThingDefInject.IsDefNameEqual">
|
||||
<defName>Corpse_Paniel_Race</defName>
|
||||
</li>
|
||||
</conditions>
|
||||
<comps>
|
||||
<li Class="AutomataRace.CompProperties_SelfResurrect">
|
||||
<resurrectDelayTick>200</resurrectDelayTick>
|
||||
@ -18,7 +39,7 @@
|
||||
<wickTicks>200~750</wickTicks>
|
||||
</li>
|
||||
</comps>
|
||||
</AutomataRace.ThingDefCompInjectDef>
|
||||
</AutomataRace.ThingDefInjectDef>
|
||||
|
||||
<!--==================================== 고어 설정 ====================================-->
|
||||
<ThingDef ParentName="BaseFilth">
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Patch>
|
||||
<!--
|
||||
<Operation Class="PatchOperationSequence">
|
||||
<success>Always</success>
|
||||
<operations>
|
||||
@ -15,4 +16,5 @@
|
||||
</li>
|
||||
</operations>
|
||||
</Operation>
|
||||
-->
|
||||
</Patch>
|
Loading…
x
Reference in New Issue
Block a user