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>
|
<targetsBodyPart>false</targetsBodyPart>
|
||||||
<surgerySuccessChanceFactor>5</surgerySuccessChanceFactor>
|
<surgerySuccessChanceFactor>5</surgerySuccessChanceFactor>
|
||||||
</RecipeDef>
|
</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>
|
</Defs>
|
@ -1,8 +1,29 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<Defs>
|
<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>Corpse_Paniel_Race</defName>
|
<defName>Comp_CorpseSelfDestruct_Inject</defName>
|
||||||
|
<conditions>
|
||||||
|
<li Class="AutomataRace.ThingDefInject.IsDefNameEqual">
|
||||||
|
<defName>Corpse_Paniel_Race</defName>
|
||||||
|
</li>
|
||||||
|
</conditions>
|
||||||
<comps>
|
<comps>
|
||||||
<li Class="AutomataRace.CompProperties_SelfResurrect">
|
<li Class="AutomataRace.CompProperties_SelfResurrect">
|
||||||
<resurrectDelayTick>200</resurrectDelayTick>
|
<resurrectDelayTick>200</resurrectDelayTick>
|
||||||
@ -18,7 +39,7 @@
|
|||||||
<wickTicks>200~750</wickTicks>
|
<wickTicks>200~750</wickTicks>
|
||||||
</li>
|
</li>
|
||||||
</comps>
|
</comps>
|
||||||
</AutomataRace.ThingDefCompInjectDef>
|
</AutomataRace.ThingDefInjectDef>
|
||||||
|
|
||||||
<!--==================================== 고어 설정 ====================================-->
|
<!--==================================== 고어 설정 ====================================-->
|
||||||
<ThingDef ParentName="BaseFilth">
|
<ThingDef ParentName="BaseFilth">
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<Patch>
|
<Patch>
|
||||||
|
<!--
|
||||||
<Operation Class="PatchOperationSequence">
|
<Operation Class="PatchOperationSequence">
|
||||||
<success>Always</success>
|
<success>Always</success>
|
||||||
<operations>
|
<operations>
|
||||||
@ -15,4 +16,5 @@
|
|||||||
</li>
|
</li>
|
||||||
</operations>
|
</operations>
|
||||||
</Operation>
|
</Operation>
|
||||||
|
-->
|
||||||
</Patch>
|
</Patch>
|
Loading…
x
Reference in New Issue
Block a user