sleepface 추가, 메카 모듈 및 링크 추가, 버그수정

This commit is contained in:
Cocopomel
2022-11-27 16:12:02 +09:00
parent cde38d14e6
commit 02e26d455b
18 changed files with 999 additions and 547 deletions

View File

@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!--오토마톤 메카링크-->
<ThingDef ParentName="MechanitorImplantBase">
<defName>PN_Mechlink</defName>
<label>automaton mechlink</label>
<description>A bionic implant that allows direct control of mechanoids. Mechlinks are used by soldiers to control war mechs, and by workers to control labor mechs. A person with a mechlink is known as a mechanitor.\n\nMechlinks are self-installable. Pressed into the back of the throat, the unit injects itself through the flesh to clamp inside the base of the skull where it meets the spinal cord. There, it threads a web of ultrafine wires throughout nearby neuronal tissue to make the direct mental link between the user and the mechanoid control band.\n\nMechlinks are not simply devices for sending radio signals to mechanoids, because mechanoids are not merely robots. In addition to traditional computers, mechanoids have a dim psychic presence, so fluently controlling them requires a psychic connection. By linking mechanitor and mechanoid both psychically and electromagnetically, the mechlink permits deeper control than screen-and-button interfaces.\n\nSince the mechlink interlaces deep within the brain tissue, it can only be removed after death.\n\nNote: A mechanitor must be capable of smithing work to gestate mechanoids.</description>
<thingClass>Mechlink</thingClass>
<descriptionHyperlinks>
<HediffDef>MechlinkImplant</HediffDef>
</descriptionHyperlinks>
<statBases>
<MaxHitPoints>100</MaxHitPoints>
<Beauty>-4</Beauty>
<Mass>1</Mass>
<MarketValue>500</MarketValue>
<DeteriorationRate>0</DeteriorationRate>
</statBases>
<graphicData>
<texPath>Things/Pawn/Humanlike/Apparel/Mechlink</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>0.65</drawSize>
</graphicData>
<comps>
<li Class="CompProperties_Forbiddable" />
<li Class="CompProperties_Usable">
<compClass>CompUsableImplant</compClass>
<useJob>InstallMechlink</useJob>
<useLabel>Install {0_label} to become mechanitor</useLabel>
</li>
<li Class="CompProperties_UseEffectInstallImplant">
<compClass>CompUseEffect_InstallImplantMechlink</compClass>
<hediffDef>MechlinkImplant</hediffDef>
<bodyPart>PNBrain</bodyPart>
<requiresPsychicallySensitive>true</requiresPsychicallySensitive>
</li>
<li Class="CompProperties_UseEffectPlaySound">
<soundOnUsed>MechlinkInstalled</soundOnUsed>
</li>
</comps>
</ThingDef>
<RecipeDef>
<defName>PN_Make_Mechlink_Automaton</defName>
<label>make automaton mechlink</label>
<description>make automaton mechlink</description>
<jobString>Making automaton mechlink.</jobString>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Machining</soundWorking>
<workAmount>2000</workAmount>
<allowMixingIngredients>true</allowMixingIngredients>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
<ingredients>
<li>
<filter>
<thingDefs>
<li>Mechlink</li>
</thingDefs>
</filter>
<count>1</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>2</count>
</li>
</ingredients>
<products>
<PN_Mechlink>1</PN_Mechlink>
</products>
<skillRequirements>
<Crafting>6</Crafting>
</skillRequirements>
<workSkill>Crafting</workSkill>
<researchPrerequisite>PNRP_Mechlink</researchPrerequisite>
</RecipeDef>
<ThingDef ParentName="ControlSublinkBase">
<defName>PN_ControlSublink</defName>
<label>automaton control sublink (standard)</label>
<description>A neural implant which gives a mechanitor an additional control group. Additionally, the sublink slightly increases the work speed of any mechanoids controlled by the mechanitor.\n\nThis standard-tier sublink can only increase the control group count up to 3. To go higher, a higher-tier sublink implant must be used.\n\nIt can be self-installed without surgery.\n\nThis implant can be installed up to 3 times to increase its effect.</description>
<costList>
<SignalChip>1</SignalChip>
<ComponentIndustrial>4</ComponentIndustrial>
</costList>
<recipeMaker>
<researchPrerequisite>StandardMechtech</researchPrerequisite>
</recipeMaker>
<comps>
<li Class="CompProperties_Usable">
<compClass>CompUsableImplant</compClass>
<useJob>UseItem</useJob>
<useLabel>Implant sublink</useLabel>
<userMustHaveHediff>MechlinkImplant</userMustHaveHediff>
</li>
<li Class="CompProperties_UseEffectInstallImplant">
<hediffDef>ControlSublinkImplant</hediffDef>
<bodyPart>PNBrain</bodyPart>
<canUpgrade>true</canUpgrade>
<maxSeverity>3</maxSeverity>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="ControlSublinkBase">
<defName>PN_ControlSublinkHigh</defName>
<label>automaton control sublink (high)</label>
<description>A neural implant which gives a mechanitor an additional control group. Additionally, the sublink slightly increases the work speed of any mechanoids controlled by the mechanitor.\n\nThis high-tier implant can increase the control group count up to 6.\n\nIt can be self-installed without surgery.\n\nThis implant can be installed up to 3 times to increase its effect.</description>
<costList>
<PowerfocusChip>1</PowerfocusChip>
<ComponentIndustrial>3</ComponentIndustrial>
<ComponentSpacer>3</ComponentSpacer>
</costList>
<recipeMaker>
<researchPrerequisite>HighMechtech</researchPrerequisite>
</recipeMaker>
<comps>
<li Class="CompProperties_Usable">
<compClass>CompUsableImplant</compClass>
<useJob>UseItem</useJob>
<useLabel>Implant high sublink</useLabel>
<userMustHaveHediff>MechlinkImplant</userMustHaveHediff>
</li>
<li Class="CompProperties_UseEffectInstallImplant">
<hediffDef>ControlSublinkImplant</hediffDef>
<bodyPart>PNBrain</bodyPart>
<canUpgrade>true</canUpgrade>
<requiresExistingHediff>true</requiresExistingHediff>
<minSeverity>3</minSeverity>
</li>
</comps>
</ThingDef>
<RecipeDef>
<defName>PN_Make_ControlSublink_Automaton</defName>
<label>make automaton sublink (standard)</label>
<description>make automaton sublink</description>
<jobString>Making automaton sublink.</jobString>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Machining</soundWorking>
<workAmount>2000</workAmount>
<allowMixingIngredients>true</allowMixingIngredients>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
<ingredients>
<li>
<filter>
<thingDefs>
<li>ControlSublink</li>
</thingDefs>
</filter>
<count>1</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>2</count>
</li>
</ingredients>
<products>
<PN_ControlSublink>1</PN_ControlSublink>
</products>
<skillRequirements>
<Crafting>6</Crafting>
</skillRequirements>
<workSkill>Crafting</workSkill>
<researchPrerequisite>PNRP_Mechlink</researchPrerequisite>
</RecipeDef>
<RecipeDef>
<defName>PN_Make_PN_ControlSublinkHigh_Automaton</defName>
<label>make automaton sublink (high)</label>
<description>make automaton sublink</description>
<jobString>Making automaton sublink.</jobString>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Machining</soundWorking>
<workAmount>2000</workAmount>
<allowMixingIngredients>true</allowMixingIngredients>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
<ingredients>
<li>
<filter>
<thingDefs>
<li>ControlSublinkHigh</li>
</thingDefs>
</filter>
<count>1</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>2</count>
</li>
</ingredients>
<products>
<PN_ControlSublinkHigh>1</PN_ControlSublinkHigh>
</products>
<skillRequirements>
<Crafting>6</Crafting>
</skillRequirements>
<workSkill>Crafting</workSkill>
<researchPrerequisite>PNRP_Mechlink</researchPrerequisite>
</RecipeDef>
</Defs>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ResearchProjectDef>
<defName>PNRP_Mechlink</defName>
<label>automaton mechlink</label>
<description>Research how to modify mechlink for use by the Automaton.</description>
<tab>PN_technology</tab>
<baseCost>300</baseCost>
<techLevel>Industrial</techLevel>
<prerequisites>
<li>PNRP_Production</li>
</prerequisites>
<researchViewX>1.0</researchViewX>
<researchViewY>4.9</researchViewY>
<tags></tags>
</ResearchProjectDef>
</Defs>

View File

@@ -0,0 +1,102 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!--메카나이터 모듈-->
<ThingDef ParentName="PN_ApparelModuleIndustrial">
<defName>PN_ArrayModule</defName>
<label>array module</label>
<description>[CAUTION]\nThis module can only be installed on compatible models.\nAlso, the module system must be stable.\n\n[compatible models list]\n\nAny model (legd), (mast), (exc)\n\nThis module increases the automaton's MechBandwidth and MechControlGroups stat.</description>
<descriptionHyperlinks>
<HediffDef>PN_ArrayModuleHediff</HediffDef>
</descriptionHyperlinks>
<costList>
<Steel>45</Steel>
<ComponentIndustrial>20</ComponentIndustrial>
<ComponentSpacer>2</ComponentSpacer>
<PN_Component>1</PN_Component>
</costList>
<recipeMaker>
<researchPrerequisite>PNRP_TierB_Module</researchPrerequisite>
<skillRequirements>
<Crafting>6</Crafting>
</skillRequirements>
</recipeMaker>
<apparel>
<tags></tags>
</apparel>
<comps>
<li Class="CompProperties_CauseHediff_Apparel">
<hediff>PN_ArrayModuleHediff</hediff>
<part>PNTorso</part>
</li>
</comps>
</ThingDef>
<HediffDef ParentName="PN_ApparelIndustrialModuleHediffBase">
<defName>PN_ArrayModuleHediff</defName>
<label>array module</label>
<description>The hediff created by installing array module.</description>
<descriptionHyperlinks>
<ThingDef>PN_ArrayModule</ThingDef>
</descriptionHyperlinks>
<stages>
<li>
<statFactors>
<MechBandwidth>6</MechBandwidth>
<MechControlGroups>1</MechControlGroups>
</statFactors>
</li>
</stages>
<comps></comps>
</HediffDef>
<ThingDef ParentName="PN_ApparelModuleSpacer">
<defName>PN_IntegratorModule</defName>
<label>integrator module</label>
<description>[CAUTION]\nThis module can only be installed on compatible models.\nAlso, the module system must be stable.\n\n[compatible models list]\n\nAny model (legd)\n\nThis module increases the automaton's MechBandwidth and MechControlGroups stat.</description>
<descriptionHyperlinks>
<HediffDef>PN_IntegratorModuleHediff</HediffDef>
</descriptionHyperlinks>
<costList>
<Plasteel>45</Plasteel>
<ComponentIndustrial>12</ComponentIndustrial>
<ComponentSpacer>9</ComponentSpacer>
<PN_Component>3</PN_Component>
<SignalChip>2</SignalChip>
<PowerfocusChip>1</PowerfocusChip>
</costList>
<recipeMaker>
<researchPrerequisite>PNRP_TierB_Module</researchPrerequisite>
<skillRequirements>
<Crafting>6</Crafting>
</skillRequirements>
</recipeMaker>
<apparel>
<tags></tags>
</apparel>
<comps>
<li Class="CompProperties_CauseHediff_Apparel">
<hediff>PN_IntegratorModuleHediff</hediff>
<part>PNTorso</part>
</li>
</comps>
</ThingDef>
<HediffDef ParentName="PN_ApparelSpacerModuleHediffBase">
<defName>PN_IntegratorModuleHediff</defName>
<label>integrator module</label>
<description>The hediff created by installing integrator module.</description>
<descriptionHyperlinks>
<ThingDef>PN_IntegratorModule</ThingDef>
</descriptionHyperlinks>
<stages>
<li>
<statFactors>
<MechBandwidth>18</MechBandwidth>
<MechControlGroups>1</MechControlGroups>
</statFactors>
</li>
</stages>
<comps></comps>
</HediffDef>
</Defs>