지휘모듈 추가

This commit is contained in:
Cocopomel 2021-09-13 00:38:54 +09:00
parent e888db0cb9
commit 0039aa4f19
3 changed files with 136 additions and 0 deletions

View File

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

View File

@ -1,4 +1,54 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Defs> <Defs>
<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_GiveHediffsInRange">
<range>9.9</range>
<mote>Mote_CombatCommand</mote>
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
<targetingParameters>
<canTargetBuildings>false</canTargetBuildings>
<canTargetAnimals>false</canTargetAnimals>
<canTargetMechs>false</canTargetMechs>
<onlyTargetColonists>true</onlyTargetColonists>
</targetingParameters>
<hediff>PN_CombatCommandBuff</hediff>
</li>
</comps>
<isBad>false</isBad>
</HediffDef>
<HediffDef ParentName="RoleStatBuff">
<defName>PN_CombatCommandBuff</defName>
<label>combat command</label>
<description>Combat abilities are boosted thanks to being near someone who is using the combat command ability.</description>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_Disappears">
<showRemainingTime>false</showRemainingTime>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
<li Class="HediffCompProperties_Link">
<requireLinkOnOtherPawn>false</requireLinkOnOtherPawn>
<maxDistance>10</maxDistance>
<customMote>Mote_CombatCommandLinkLine</customMote>
</li>
</comps>
<isBad>false</isBad>
<stages>
<li>
<statOffsets>
<ShootingAccuracyPawn>2</ShootingAccuracyPawn>
<MeleeHitChance>2</MeleeHitChance>
<AimingDelayFactor>-0.20</AimingDelayFactor>
</statOffsets>
</li>
</stages>
</HediffDef>
</Defs> </Defs>

View File

@ -0,0 +1,85 @@
<?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>