전투모듈 준비

This commit is contained in:
Cocopomel 2021-09-14 20:32:17 +09:00
parent a5ffe75990
commit 5b29017c90
4 changed files with 22 additions and 87 deletions

View File

@ -628,7 +628,6 @@
<li>PN_ApparelRoyalguardHat</li>
<li>PN_ApparelRoyalmaid</li>
<li>PN_ApparelRoyalmaidHat</li>
<li MayRequire="Ludeon.RimWorld.Ideology">PN_ApparelRoyalguardHat_Commander</li>
<!--바닐라-->
</apparelList>
<whiteApparelList>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<WearSetting.WearSettingDef>
<!--<WearSetting.WearSettingDef>
<defName>PN_WearSetting</defName>
<targetRace>Paniel_Race</targetRace>
<wearSetting>
@ -16,5 +16,5 @@
<cantReason>CantReasonHediff</cantReason>
</li>
</wearSetting>
</WearSetting.WearSettingDef>
</WearSetting.WearSettingDef>-->
</Defs>

View File

@ -1,13 +1,28 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!--==================================== 전투 지휘 모듈 ====================================-->
<HediffDef ParentName="PN_Give_Base">
<label>filter(CCModule)</label>
<defName>PN_Give_CCModule</defName>
<comps>
<li Class="MoharHediffs.HediffCompProperties_HediffExclusive">
<hediffToApply>PN_CombatCommand</hediffToApply>
<bodyDef>PanielBody</bodyDef>
<bodyPartDef>PNBrain</bodyPartDef>
</li>
</comps>
</HediffDef>
<HediffDef ParentName="RoleStatBuff">
<defName>PN_CombatCommand</defName>
<label>combat command module</label>
<description>By encouraging and commanding nearby allies, this person can enhance their focus in combat and thus their battle performance.</description>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_RemoveIfApparelDropped" />
<li Class="HediffCompProperties_DisappearsOnDeath"/>
<!--<li Class="HediffCompProperties_RemoveIfApparelDropped" />-->
<!--<li Class="HediffCompProperties_DisappearsOnDeath"/>-->
<li Class="HediffCompProperties_GiveHediffsInRange">
<range>9.9</range>
<mote>Mote_CombatCommand</mote>
@ -46,8 +61,10 @@
<statOffsets>
<ShootingAccuracyPawn>2</ShootingAccuracyPawn>
<MeleeHitChance>2</MeleeHitChance>
<AimingDelayFactor>-0.20</AimingDelayFactor>
</statOffsets>
<statFactors>
<AimingDelayFactor>0.80</AimingDelayFactor>
</statFactors>
</li>
</stages>
</HediffDef>

View File

@ -1,85 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="PN_RoyalHatBase">
<defName>PN_ApparelRoyalguardHat_Commander</defName>
<label>PnL royal commander beret</label>
<description>...</description>
<graphicData>
<texPath>Things/Apparel/hats/PNRoyalguardhat1</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutComplex</shaderType>
</graphicData>
<stuffCategories>
<li>Metallic</li>
</stuffCategories>
<costStuffCount>50</costStuffCount>
<costList>
<ComponentSpacer>2</ComponentSpacer>
<PN_ComponentRoyal>1</PN_ComponentRoyal>
<Hyperweave>20</Hyperweave>
<Leather_Thrumbo>10</Leather_Thrumbo>
</costList>
<recipeMaker>
<recipeUsers Inherit="false">
<li>PN_AutomatonBench</li>
</recipeUsers>
<skillRequirements Inherit="false">
<Crafting>8</Crafting>
</skillRequirements>
<researchPrerequisite>PNRP_TierC_Apparel</researchPrerequisite>
</recipeMaker>
<statBases>
<WorkToMake>26250</WorkToMake>
<MaxHitPoints>180</MaxHitPoints>
<Mass>2</Mass>
<Flammability>0.4</Flammability>
<StuffEffectMultiplierArmor>0.98</StuffEffectMultiplierArmor>
<Insulation_Cold>4</Insulation_Cold>
<Insulation_Heat>2</Insulation_Heat>
<EquipDelay>4</EquipDelay>
</statBases>
<equippedStatOffsets>
<WorkSpeedGlobal>-0.15</WorkSpeedGlobal>
<AimingDelayFactor>-0.10</AimingDelayFactor>
<ShootingAccuracyPawn>3</ShootingAccuracyPawn>
</equippedStatOffsets>
<apparel>
<bodyPartGroups>
<li>FullHead</li>
</bodyPartGroups>
<wornGraphicPath>Things/Apparel/hats/PNRoyalguardhat</wornGraphicPath>
<useWornGraphicMask>true</useWornGraphicMask>
<layers>
<li>Overhead</li>
</layers>
<tags>
<li>Paniel_Basic</li>
</tags>
<defaultOutfitTags>
</defaultOutfitTags>
</apparel>
<colorGenerator Class="ColorGenerator_Options">
<options>
<li>
<weight>10</weight>
<only>(255,255,255)</only>
</li>
<li>
<weight>15</weight>
<only>(255,255,255)</only>
</li>
<li>
<weight>20</weight>
<only>(255,255,255)</only>
</li>
</options>
</colorGenerator>
<comps>
<li Class="CompProperties_CauseHediff_Apparel" MayRequire="Ludeon.RimWorld.Ideology">
<hediff>PN_CombatCommand</hediff>
<part>PNBrain</part>
</li>
</comps>
</ThingDef>-->
</Defs>