Files
WulaFallenEmpireRW/1.6/Defs/ThingDefs_Misc/Apparel/WULA_ShieldBelt.xml
2025-07-21 16:24:04 +08:00

247 lines
10 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ThingDef ParentName="ApparelMakeableBase">
<defName>WULA_ShieldBelt</defName>
<label>乌拉护盾腰带</label>
<description>乌拉帝国的个人护盾装置,可以产生动量排斥场来阻挡来袭的投射物。护盾可以通过能力按钮开关,并且具有可配置的护盾值和范围。</description>
<techLevel>Ultra</techLevel>
<recipeMaker>
<researchPrerequisite>WULA_Synth_Weapon_2_Stun_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedBelt</unfinishedThingDef>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
</recipeMaker>
<graphicData>
<texPath>Things/Item/Equipment/WeaponMelee/Knife</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<costList>
<Steel>50</Steel>
<Plasteel>25</Plasteel>
<ComponentSpacer>3</ComponentSpacer>
<BroadshieldCore>1</BroadshieldCore>
</costList>
<statBases>
<WorkToMake>12000</WorkToMake>
<Mass>1.2</Mass>
<Flammability>0.4</Flammability>
</statBases>
<thingCategories>
<li>Apparel</li>
</thingCategories>
<apparel>
<bodyPartGroups>
<li>Waist</li>
</bodyPartGroups>
<wornGraphicPath>Things/Pawn/Humanlike/Apparel/ShieldBelt/ShieldBelt</wornGraphicPath>
<layers>
<li>Belt</li>
</layers>
<tags>
<li>BeltDefensePop</li>
</tags>
<defaultOutfitTags>
<li>Soldier</li>
</defaultOutfitTags>
</apparel>
<comps>
<li Class="WulaFallenEmpire.CompProperties_WulaShieldBelt">
<!-- 护盾最大生命值 - 护盾能承受的总伤害量 -->
<maxShieldHitPoints>200</maxShieldHitPoints>
<!-- 护盾半径 - 护盾保护范围的半径(以格子为单位) -->
<shieldRadius>3.0</shieldRadius>
<!-- 拦截地面投射物 - 是否拦截子弹、箭矢等地面投射物 -->
<interceptGroundProjectiles>true</interceptGroundProjectiles>
<!-- 拦截空中投射物 - 是否拦截迫击炮弹等空中投射物 -->
<interceptAirProjectiles>false</interceptAirProjectiles>
<!-- 拦截近战攻击 - 是否能够阻挡近战攻击 -->
<interceptMeleeAttacks>false</interceptMeleeAttacks>
<!-- EMP免疫 - 是否免疫电磁脉冲攻击 -->
<empImmune>false</empImmune>
<!-- 护盾颜色 - 护盾显示的颜色 (R, G, B) 值范围0-1 -->
<shieldColor>(0.2, 0.6, 1.0)</shieldColor>
<!-- 充能速率 - 护盾每秒恢复的生命值 -->
<rechargeRate>5.0</rechargeRate>
<!-- 充能冷却时间 - 护盾被破坏后开始充能前的等待时间游戏刻数60刻=1秒 -->
<rechargeCooldownTicks>300</rechargeCooldownTicks>
<!-- 激活音效 - 护盾运行时播放的环境音效 -->
<activeSound>BulletShield_Ambience</activeSound>
<!-- 重新激活特效 - 护盾重新启动时播放的视觉特效 -->
<reactivateEffect>BulletShieldGenerator_Reactivate</reactivateEffect>
<!-- 初始启用状态 - 护盾腰带装备后是否默认开启 -->
<startEnabled>false</startEnabled>
<!-- 护盾模式 - true=有生命值模式可被破坏false=无生命值模式(类似低角护盾,只偏转) -->
<useHitPointsMode>true</useHitPointsMode>
</li>
</comps>
</ThingDef>
<!-- 高级版本 -->
<ThingDef ParentName="ApparelMakeableBase">
<defName>WULA_ShieldBelt_Advanced</defName>
<label>乌拉高级护盾腰带</label>
<description>乌拉帝国的高级个人护盾装置具有更强的护盾值、更大的范围并且可以抵抗近战攻击和EMP伤害。</description>
<techLevel>Ultra</techLevel>
<recipeMaker>
<researchPrerequisite>WULA_Synth_Weapon_2_Stun_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedBelt</unfinishedThingDef>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<skillRequirements>
<Crafting>10</Crafting>
</skillRequirements>
</recipeMaker>
<graphicData>
<texPath>Things/Item/Equipment/WeaponMelee/Knife</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<costList>
<Steel>100</Steel>
<Plasteel>50</Plasteel>
<ComponentSpacer>6</ComponentSpacer>
<BroadshieldCore>2</BroadshieldCore>
<Uranium>10</Uranium>
</costList>
<statBases>
<WorkToMake>20000</WorkToMake>
<Mass>2.0</Mass>
<Flammability>0.2</Flammability>
</statBases>
<thingCategories>
<li>Apparel</li>
</thingCategories>
<apparel>
<bodyPartGroups>
<li>Waist</li>
</bodyPartGroups>
<wornGraphicPath>Things/Pawn/Humanlike/Apparel/ShieldBelt/ShieldBelt</wornGraphicPath>
<layers>
<li>Belt</li>
</layers>
<tags>
<li>BeltDefensePop</li>
</tags>
<defaultOutfitTags>
<li>Soldier</li>
</defaultOutfitTags>
</apparel>
<comps>
<li Class="WulaFallenEmpire.CompProperties_WulaShieldBelt">
<!-- 护盾最大生命值 - 护盾能承受的总伤害量 -->
<maxShieldHitPoints>400</maxShieldHitPoints>
<!-- 护盾半径 - 护盾保护范围的半径(以格子为单位) -->
<shieldRadius>4.5</shieldRadius>
<!-- 拦截地面投射物 - 是否拦截子弹、箭矢等地面投射物 -->
<interceptGroundProjectiles>true</interceptGroundProjectiles>
<!-- 拦截空中投射物 - 是否拦截迫击炮弹等空中投射物 -->
<interceptAirProjectiles>true</interceptAirProjectiles>
<!-- 拦截近战攻击 - 是否能够阻挡近战攻击 -->
<interceptMeleeAttacks>true</interceptMeleeAttacks>
<!-- EMP免疫 - 是否免疫电磁脉冲攻击 -->
<empImmune>true</empImmune>
<!-- 护盾颜色 - 护盾显示的颜色 (R, G, B) 值范围0-1 -->
<shieldColor>(1.0, 0.6, 0.2)</shieldColor>
<!-- 充能速率 - 护盾每秒恢复的生命值 -->
<rechargeRate>8.0</rechargeRate>
<!-- 充能冷却时间 - 护盾被破坏后开始充能前的等待时间游戏刻数60刻=1秒 -->
<rechargeCooldownTicks>180</rechargeCooldownTicks>
<!-- 激活音效 - 护盾运行时播放的环境音效 -->
<activeSound>BulletShield_Ambience</activeSound>
<!-- 重新激活特效 - 护盾重新启动时播放的视觉特效 -->
<reactivateEffect>BulletShieldGenerator_Reactivate</reactivateEffect>
<!-- 初始启用状态 - 护盾腰带装备后是否默认开启 -->
<startEnabled>false</startEnabled>
<!-- 护盾模式 - true=有生命值模式可被破坏false=无生命值模式(类似低角护盾,只偏转) -->
<useHitPointsMode>true</useHitPointsMode>
</li>
</comps>
</ThingDef>
<!-- 偏转型护盾腰带 - 无生命值模式示例 -->
<ThingDef ParentName="ApparelMakeableBase">
<defName>WULA_ShieldBelt_Deflector</defName>
<label>乌拉偏转护盾腰带</label>
<description>乌拉帝国的偏转型个人护盾装置,采用低角护盾技术,不会被破坏但只能偏转投射物。这种护盾永远不会过载,但也无法完全阻挡攻击。</description>
<techLevel>Ultra</techLevel>
<recipeMaker>
<researchPrerequisite>WULA_Synth_Weapon_2_Stun_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedBelt</unfinishedThingDef>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<skillRequirements>
<Crafting>6</Crafting>
</skillRequirements>
</recipeMaker>
<graphicData>
<texPath>Things/Item/Equipment/WeaponMelee/Knife</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<costList>
<Steel>30</Steel>
<Plasteel>15</Plasteel>
<ComponentSpacer>2</ComponentSpacer>
<BroadshieldCore>1</BroadshieldCore>
</costList>
<statBases>
<WorkToMake>8000</WorkToMake>
<Mass>0.8</Mass>
<Flammability>0.4</Flammability>
</statBases>
<thingCategories>
<li>Apparel</li>
</thingCategories>
<apparel>
<bodyPartGroups>
<li>Waist</li>
</bodyPartGroups>
<wornGraphicPath>Things/Pawn/Humanlike/Apparel/ShieldBelt/ShieldBelt</wornGraphicPath>
<layers>
<li>Belt</li>
</layers>
<tags>
<li>BeltDefensePop</li>
</tags>
<defaultOutfitTags>
<li>Soldier</li>
</defaultOutfitTags>
</apparel>
<comps>
<li Class="WulaFallenEmpire.CompProperties_WulaShieldBelt">
<!-- 护盾最大生命值 - 在偏转模式下此值不重要,但仍需设置 -->
<maxShieldHitPoints>100</maxShieldHitPoints>
<!-- 护盾半径 - 护盾保护范围的半径(以格子为单位) -->
<shieldRadius>2.5</shieldRadius>
<!-- 拦截地面投射物 - 是否拦截子弹、箭矢等地面投射物 -->
<interceptGroundProjectiles>true</interceptGroundProjectiles>
<!-- 拦截空中投射物 - 是否拦截迫击炮弹等空中投射物 -->
<interceptAirProjectiles>false</interceptAirProjectiles>
<!-- 拦截近战攻击 - 是否能够阻挡近战攻击 -->
<interceptMeleeAttacks>false</interceptMeleeAttacks>
<!-- EMP免疫 - 是否免疫电磁脉冲攻击 -->
<empImmune>false</empImmune>
<!-- 护盾颜色 - 护盾显示的颜色 (R, G, B) 值范围0-1 -->
<shieldColor>(0.6, 1.0, 0.6)</shieldColor>
<!-- 充能速率 - 在偏转模式下此值不重要 -->
<rechargeRate>0</rechargeRate>
<!-- 充能冷却时间 - 在偏转模式下此值不重要 -->
<rechargeCooldownTicks>0</rechargeCooldownTicks>
<!-- 激活音效 - 护盾运行时播放的环境音效 -->
<activeSound>BulletShield_Ambience</activeSound>
<!-- 重新激活特效 - 护盾重新启动时播放的视觉特效 -->
<reactivateEffect>BulletShieldGenerator_Reactivate</reactivateEffect>
<!-- 初始启用状态 - 护盾腰带装备后是否默认开启 -->
<startEnabled>true</startEnabled>
<!-- 护盾模式 - false=无生命值模式(类似低角护盾,只偏转,永不破坏) -->
<useHitPointsMode>false</useHitPointsMode>
</li>
</comps>
</ThingDef>
</Defs>