存一下

This commit is contained in:
2025-07-21 13:45:52 +08:00
parent b8f3fc5bcd
commit 2c8166b832
18 changed files with 510 additions and 1065 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<AbilityDef>
<defName>WULA_EmergencyEnergyRestore</defName>
<label>后备隐藏能源超载</label>
<description>激活紧急能量协议暂时将能量需求锁定在100%持续10秒后恢复到原来的能量水平。只能在倒地时使用。</description>
<iconPath>UI/Abilities/MetalbloodInjection</iconPath>
<cooldownTicksRange>72000</cooldownTicksRange> <!-- 20分钟冷却 -->
<aiCanUse>true</aiCanUse>
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
<jobDef>CastAbilityOnThing</jobDef>
<targetRequired>false</targetRequired>
<canUseAoeToGetTargets>false</canUseAoeToGetTargets>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>0</range>
<warmupTime>1</warmupTime>
<soundCast>Psycast_Skip_Entry</soundCast>
<targetParams>
<canTargetSelf>true</canTargetSelf>
<canTargetPawns>false</canTargetPawns>
<canTargetBuildings>false</canTargetBuildings>
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityEmergencyEnergyRestore">
<durationTicks>600</durationTicks> <!-- 10秒 -->
<hediffDef>WULA_EmergencyEnergyRestore_Hediff</hediffDef>
<requireDowned>true</requireDowned> <!-- 是否需要倒地才能使用 -->
</li>
</comps>
</AbilityDef>
</Defs>

View File

@@ -138,7 +138,7 @@
<label>能源炉超载</label>
<description>立刻激活能源炉的超载能力,极大增加近战的命中率和速度,并且不会被敌人的近战减速。</description>
<iconPath>UI/Abilities/MetalbloodInjection</iconPath>
<cooldownTicksRange>1800</cooldownTicksRange> <!-- 30 seconds -->
<cooldownTicksRange>1800</cooldownTicksRange> <!-- 30 seconds -->
<hostile>false</hostile>
<groupAbility>true</groupAbility>
<displayGizmoWhileUndrafted>false</displayGizmoWhileUndrafted>
@@ -244,10 +244,13 @@
</addedPartProps>
<stages>
<li>
<statOffsets> <!-- StatOffset 是加法偏移量,正数增加,负数减少 -->
<minSeverity>0</minSeverity>
<capMods>
</capMods>
<statOffsets> <!-- StatOffset 是加法偏移量,正数增加,负数减少 -->
<WulaEnergyMaxLevelOffset>0.5</WulaEnergyMaxLevelOffset>
</statOffsets>
<statFactors> <!-- StatFactor 是乘法因子,小于 1.0 减少,大于 1.0 增加 -->
<statFactors> <!-- StatFactor 是乘法因子,小于 1.0 减少,大于 1.0 增加 -->
<WulaEnergyFallRateFactor>0.9</WulaEnergyFallRateFactor>
</statFactors>
</li>
@@ -310,7 +313,9 @@
<defName>WULA_Energy_Furnace_Hediff_DM_Engine</defName>
<label>暗物质能源炉</label>
<description>一台由暗物质作为能源驱动的合成人能源炉,拥有永不枯竭的动力,合成人安装后将不再需要充电。</description>
<descriptionHyperlinks><ThingDef>WULA_Energy_Furnace_DM_Engine</ThingDef></descriptionHyperlinks>
<descriptionHyperlinks>
<ThingDef>WULA_Energy_Furnace_DM_Engine</ThingDef>
</descriptionHyperlinks>
<spawnThingOnRemoved>WULA_Energy_Furnace_DM_Engine</spawnThingOnRemoved>
<addedPartProps>
<!-- <partEfficiency>1.5</partEfficiency> -->
@@ -334,13 +339,17 @@
<defName>WULA_Energy_Furnace_DM_Engine</defName>
<label>暗物质能源炉</label>
<description>一台由暗物质作为能源驱动的合成人能源炉,拥有永不枯竭的动力,合成人安装后将不再需要充电。</description>
<descriptionHyperlinks><RecipeDef>Install_WULA_Energy_Furnace_DM_Engine</RecipeDef></descriptionHyperlinks>
<descriptionHyperlinks>
<RecipeDef>Install_WULA_Energy_Furnace_DM_Engine</RecipeDef>
</descriptionHyperlinks>
<costList>
<Steel>100</Steel>
<ComponentSpacer>4</ComponentSpacer>
<WULA_Dark_Matter_Item>1</WULA_Dark_Matter_Item>
</costList>
<thingSetMakerTags><li>RewardStandardMidFreq</li></thingSetMakerTags>
<thingSetMakerTags>
<li>RewardStandardMidFreq</li>
</thingSetMakerTags>
<recipeMaker>
<researchPrerequisite>WULA_Synth_Addons_2_Technology</researchPrerequisite>
<recipeUsers>
@@ -360,7 +369,8 @@
<HediffDef>WULA_Energy_Furnace_Hediff_DM_Engine</HediffDef>
</descriptionHyperlinks>
<jobString>安装暗物质能源炉中</jobString>
<surgeryOutcomeEffect IsNull="True" /> <!-- Always succeeds -->
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<anesthetize>false</anesthetize>
<ingredients Inherit="False">
<li>
@@ -393,7 +403,9 @@
<defName>WULA_Energy_Furnace_Hediff_DM_CPU</defName>
<label>暗物质处理器</label>
<description>由填充非交互性暗物质微粒的卡西米尔共振腔构成的处理器,极大增强合成人的意识。</description>
<descriptionHyperlinks><ThingDef>WULA_Energy_Furnace_DM_CPU</ThingDef></descriptionHyperlinks>
<descriptionHyperlinks>
<ThingDef>WULA_Energy_Furnace_DM_CPU</ThingDef>
</descriptionHyperlinks>
<spawnThingOnRemoved>WULA_Energy_Furnace_DM_CPU</spawnThingOnRemoved>
<addedPartProps>
<!-- <partEfficiency>1.5</partEfficiency> -->
@@ -414,13 +426,17 @@
<defName>WULA_Energy_Furnace_DM_CPU</defName>
<label>暗物质处理器</label>
<description>由填充非交互性暗物质微粒的卡西米尔共振腔构成的处理器,用于替换过时的生物处理器,极大增强合成人的意识。</description>
<descriptionHyperlinks><RecipeDef>Install_WULA_Energy_Furnace_DM_CPU</RecipeDef></descriptionHyperlinks>
<descriptionHyperlinks>
<RecipeDef>Install_WULA_Energy_Furnace_DM_CPU</RecipeDef>
</descriptionHyperlinks>
<costList>
<Steel>100</Steel>
<ComponentSpacer>8</ComponentSpacer>
<WULA_Dark_Matter_Item>2</WULA_Dark_Matter_Item>
</costList>
<thingSetMakerTags><li>RewardStandardMidFreq</li></thingSetMakerTags>
<thingSetMakerTags>
<li>RewardStandardMidFreq</li>
</thingSetMakerTags>
<recipeMaker>
<researchPrerequisite>WULA_Synth_Addons_2_Technology</researchPrerequisite>
<recipeUsers>
@@ -440,7 +456,8 @@
<HediffDef>WULA_Energy_Furnace_Hediff_DM_CPU</HediffDef>
</descriptionHyperlinks>
<jobString>安装暗物质处理器中</jobString>
<surgeryOutcomeEffect IsNull="True" /> <!-- Always succeeds -->
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<anesthetize>false</anesthetize>
<ingredients Inherit="False">
<li>
@@ -474,7 +491,9 @@
<label>零素骨架</label>
<hediffClass>Hediff_Implant</hediffClass>
<description>利用暗物质压缩而成的内嵌式中子装甲层和结构层,植入机械乌拉的体内时将使得她们获得强大的防御力。</description>
<descriptionHyperlinks><ThingDef>WULA_Skeleton_Neutronium</ThingDef></descriptionHyperlinks>
<descriptionHyperlinks>
<ThingDef>WULA_Skeleton_Neutronium</ThingDef>
</descriptionHyperlinks>
<spawnThingOnRemoved>WULA_Skeleton_Neutronium</spawnThingOnRemoved>
<addedPartProps>
<!-- <partEfficiency>1.5</partEfficiency> -->
@@ -502,12 +521,16 @@
<defName>WULA_Skeleton_Neutronium</defName>
<label>零素骨架</label>
<description>利用暗物质压缩而成的内嵌式中子装甲层和结构层,植入机械乌拉的体内时将使得她们获得强大的防御力。</description>
<descriptionHyperlinks><RecipeDef>Install_WULA_Energy_Furnace_DM_Engine</RecipeDef></descriptionHyperlinks>
<descriptionHyperlinks>
<RecipeDef>Install_WULA_Energy_Furnace_DM_Engine</RecipeDef>
</descriptionHyperlinks>
<costList>
<Plasteel>100</Plasteel>
<WULA_Dark_Matter_Item>2</WULA_Dark_Matter_Item>
</costList>
<thingSetMakerTags><li>RewardStandardMidFreq</li></thingSetMakerTags>
<thingSetMakerTags>
<li>RewardStandardMidFreq</li>
</thingSetMakerTags>
<recipeMaker>
<researchPrerequisite>WULA_Synth_Addons_2_Technology</researchPrerequisite>
<recipeUsers>
@@ -527,7 +550,8 @@
<HediffDef>WULA_Skeleton_Hediff_Neutronium</HediffDef>
</descriptionHyperlinks>
<jobString>安装零素骨架中</jobString>
<surgeryOutcomeEffect IsNull="True" /> <!-- Always succeeds -->
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<anesthetize>false</anesthetize>
<ingredients Inherit="False">
<li>
@@ -639,7 +663,7 @@
<defaultLabelColor>(0.5, 0.8, 1.0)</defaultLabelColor>
<isBad>false</isBad>
<priceImpact>true</priceImpact>
<initialSeverity>1</initialSeverity> <!-- Severity is bound to level of implant -->
<initialSeverity>1</initialSeverity> <!-- Severity is bound to level of implant -->
<minSeverity>0</minSeverity>
<maxSeverity>3</maxSeverity>
<keepOnBodyPartRestoration>True</keepOnBodyPartRestoration>
@@ -724,7 +748,7 @@
<defaultLabelColor>(0.5, 0.8, 1.0)</defaultLabelColor>
<isBad>false</isBad>
<priceImpact>true</priceImpact>
<initialSeverity>1</initialSeverity> <!-- Severity is bound to level of implant -->
<initialSeverity>1</initialSeverity> <!-- Severity is bound to level of implant -->
<minSeverity>0</minSeverity>
<maxSeverity>3</maxSeverity>
<keepOnBodyPartRestoration>True</keepOnBodyPartRestoration>
@@ -791,12 +815,13 @@
</appliedOnFixedBodyParts>
<uiIconThing>Steel</uiIconThing>
<anesthetize>false</anesthetize>
<surgeryOutcomeEffect IsNull="True" /> <!-- Always succeeds -->
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<addsHediff>WULA_Body_Fixed</addsHediff>
<recipeUsers Inherit="False">
<li>WulaSpecies</li>
</recipeUsers>
<workAmount>1500</workAmount>
<skillRequirements>
<Medicine>3</Medicine>
@@ -830,12 +855,13 @@
</appliedOnFixedBodyParts>
<uiIconThing>Steel</uiIconThing>
<anesthetize>false</anesthetize>
<surgeryOutcomeEffect IsNull="True" /> <!-- Always succeeds -->
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<addsHediff>WULA_Body_Fixed</addsHediff>
<recipeUsers Inherit="False">
<li>WulaSpecies</li>
</recipeUsers>
<workAmount>3000</workAmount>
<skillRequirements>
<Medicine>7</Medicine>
@@ -869,12 +895,13 @@
</appliedOnFixedBodyParts>
<uiIconThing>Steel</uiIconThing>
<anesthetize>false</anesthetize>
<surgeryOutcomeEffect IsNull="True" /> <!-- Always succeeds -->
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<addsHediff>WULA_Body_Fixed</addsHediff>
<recipeUsers Inherit="False">
<li>WulaSpecies</li>
</recipeUsers>
<workAmount>3000</workAmount>
<skillRequirements>
<Medicine>7</Medicine>
@@ -908,12 +935,13 @@
</appliedOnFixedBodyParts>
<uiIconThing>Steel</uiIconThing>
<anesthetize>false</anesthetize>
<surgeryOutcomeEffect IsNull="True" /> <!-- Always succeeds -->
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<addsHediff>WULA_Body_Fixed</addsHediff>
<recipeUsers Inherit="False">
<li>WulaSpecies</li>
</recipeUsers>
<workAmount>1500</workAmount>
<skillRequirements>
<Medicine>3</Medicine>
@@ -947,12 +975,13 @@
</appliedOnFixedBodyParts>
<uiIconThing>Steel</uiIconThing>
<anesthetize>false</anesthetize>
<surgeryOutcomeEffect IsNull="True" /> <!-- Always succeeds -->
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<addsHediff>WULA_Body_Fixed</addsHediff>
<recipeUsers Inherit="False">
<li>WulaSpecies</li>
</recipeUsers>
<workAmount>1500</workAmount>
<skillRequirements>
<Medicine>3</Medicine>
@@ -994,12 +1023,13 @@
</appliedOnFixedBodyParts>
<uiIconThing>Steel</uiIconThing>
<anesthetize>false</anesthetize>
<surgeryOutcomeEffect IsNull="True"/> <!-- Always succeeds -->
<surgeryOutcomeEffect IsNull="True"/>
<!-- Always succeeds -->
<addsHediff>WULA_Body_Fixed</addsHediff>
<recipeUsers Inherit="False">
<li>WulaSpecies</li>
</recipeUsers>
<workAmount>7000</workAmount>
<researchPrerequisites>
<li>WULA_Repair_All_Technology</li>
@@ -1039,7 +1069,7 @@
<descriptionShort>这个合成人的破损已被细致地修复。</descriptionShort>
<isBad>false</isBad>
<duplicationAllowed>true</duplicationAllowed>
<keepOnBodyPartRestoration>false</keepOnBodyPartRestoration> <!-- true -->
<keepOnBodyPartRestoration>false</keepOnBodyPartRestoration> <!-- true -->
<comps>
<li Class="HediffCompProperties_ChanceToRemove">
<intervalTicks>1</intervalTicks>
@@ -1066,7 +1096,8 @@
<li>WULA_Synth_Psi_Technology</li>
</researchPrerequisites>
<uiIconThing>WULA_Soul_Wedge</uiIconThing>
<surgeryOutcomeEffect IsNull="True" /> <!-- Always succeeds -->
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<anesthetize>false</anesthetize>
<workSkillLearnFactor>2</workSkillLearnFactor>
<products>
@@ -1089,7 +1120,7 @@
<alwaysShowSeverity>true</alwaysShowSeverity>
<isBad>true</isBad>
<duplicationAllowed>true</duplicationAllowed>
<keepOnBodyPartRestoration>true</keepOnBodyPartRestoration> <!-- true -->
<keepOnBodyPartRestoration>true</keepOnBodyPartRestoration> <!-- true -->
<defaultInstallPart>Brain</defaultInstallPart>
<comps>
<li Class="HediffCompProperties_ChanceToRemove">

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<HediffDef>
<defName>WULA_EmergencyEnergyRestore_Hediff</defName>
<label>紧急能量恢复</label>
<description>紧急能量协议激活中能量需求被暂时锁定在100%。</description>
<hediffClass>WulaFallenEmpire.Hediff_EmergencyEnergyRestore</hediffClass>
<defaultLabelColor>(0.2, 0.8, 1.0)</defaultLabelColor>
<scenarioCanAdd>false</scenarioCanAdd>
<maxSeverity>1.0</maxSeverity>
<isBad>false</isBad>
<comps>
<li Class="HediffCompProperties_Disappears">
<disappearsAfterTicks>600</disappearsAfterTicks> <!-- 10秒 -->
<showRemainingTime>true</showRemainingTime>
</li>
</comps>
<stages>
<li>
<capMods>
<li>
<capacity>Consciousness</capacity>
<setMax>1.0</setMax>
</li>
<li>
<capacity>Moving</capacity>
<setMax>1.0</setMax>
</li>
</capMods>
</li>
</stages>
</HediffDef>
</Defs>

View File

@@ -29,7 +29,9 @@
<apparelTags>
<li>Wula_Apparel_Init</li>
</apparelTags>
<abilities>
<li>WULA_EmergencyEnergyRestore</li>
</abilities>
<weaponMoney>0</weaponMoney>
<apparelAllowHeadgearChance>0</apparelAllowHeadgearChance>
<apparelMoney>1000~2000</apparelMoney>
@@ -71,7 +73,9 @@
<apparelTags>
<li>Wula_Apparel_Init</li>
</apparelTags>
<abilities>
<li>WULA_EmergencyEnergyRestore</li>
</abilities>
<apparelRequired Inherit="False" />
<weaponMoney>0</weaponMoney>
@@ -87,7 +91,7 @@
</li>
</backstoryFiltersOverride>
</PawnKindDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>Wula_AI_Heavy_Panzer_PawnKind</defName>
<label>SMp-38"萨克森"</label>
@@ -107,12 +111,12 @@
</li>
</lifeStages>
<weaponMoney>99999~99999</weaponMoney>
<weaponTags>
<li>WULA_AI_Heavy_Panzer_AT_Weapon</li>
</weaponTags>
<controlGroupPortraitZoom>1</controlGroupPortraitZoom>
<controlGroupPortraitZoom>1</controlGroupPortraitZoom>
</PawnKindDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>Wula_AI_Heavy_Panzer_Gunnery_PawnKind</defName>
@@ -133,14 +137,14 @@
</li>
</lifeStages>
<weaponMoney>99999~99999</weaponMoney>
<weaponTags>
<li>WULA_AI_Heavy_Panzer_Gunner_Weapon</li>
</weaponTags>
<controlGroupPortraitZoom>1</controlGroupPortraitZoom>
<controlGroupPortraitZoom>1</controlGroupPortraitZoom>
</PawnKindDef>
<PawnKindDef ParentName="NonCombatLightMechanoidKind">
<defName>Mech_WULA_Cat</defName>
<label>乌拉猫猫</label>
@@ -203,7 +207,7 @@
<weaponTags>
<li>Wula_Constructor_Cat_Weapon</li>
</weaponTags>
<lifeStages Inherit="False">
<lifeStages Inherit="False">
<li>
<bodyGraphicData>
<texPath>Wula/Things/WULA_Constructor_Cat/WULA_Cat_Thin</texPath>
@@ -219,7 +223,7 @@
<defName>Mech_WULA_Cat_Assault</defName>
<label>突击乌拉猫猫</label>
<race>Mech_WULA_Cat_Assault</race>
<lifeStages Inherit="False">
<lifeStages Inherit="False">
<li>
<bodyGraphicData>
<texPath>Wula/Things/WULA_Assault_Cat/WULA_Cat_Thin</texPath>
@@ -238,7 +242,7 @@
<defName>Mech_WULA_Cat_Bomb</defName>
<label>炸弹乌拉猫猫</label>
<race>Mech_WULA_Cat_Bomb</race>
<lifeStages Inherit="False">
<lifeStages Inherit="False">
<li>
<bodyGraphicData>
<texPath>Wula/Things/WULA_bomb_Cat/WULA_Cat_Thin</texPath>
@@ -265,7 +269,7 @@
<weaponTags>
<li>Wula_Assault_Cat_Weapon</li>
</weaponTags>
<lifeStages Inherit="False">
<lifeStages Inherit="False">
<li>
<bodyGraphicData>
<texPath>Wula/Things/WULA_Commander_Cat/WULA_Cat_Thin</texPath>

View File

@@ -1,204 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!-- 示例1轻型爆炸射线武器 - 每发都爆炸 -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_LightExplosiveBeam</defName>
<label>CLa-15"蓝爆"轻型</label>
<description>乌拉帝国的轻型爆炸射线武器,每发射线都会在目标位置产生小型爆炸。适合对付轻装甲目标。</description>
<techLevel>Ultra</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Fractal_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.35</drawSize>
</graphicData>
<soundInteract>Interact_ChargeRifle</soundInteract>
<weaponClasses>
<li>LongShots</li>
<li>RangedHeavy</li>
</weaponClasses>
<statBases>
<WorkToMake>15000</WorkToMake>
<Mass>2.8</Mass>
<AccuracyTouch>0.6</AccuracyTouch>
<AccuracyShort>0.85</AccuracyShort>
<AccuracyMedium>0.7</AccuracyMedium>
<AccuracyLong>0.45</AccuracyLong>
<RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>120</Steel>
<Plasteel>25</Plasteel>
<ComponentSpacer>2</ComponentSpacer>
</costList>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootBeamExplosive</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0.3</warmupTime>
<range>25</range>
<burstShotCount>4</burstShotCount>
<ticksBetweenBurstShots>8</ticksBetweenBurstShots>
<beamWidth>2</beamWidth>
<beamDamageDef>Burn</beamDamageDef>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamMoteDef>Mote_GraserBeamBase</beamMoteDef>
<!-- 每发都爆炸 -->
<enableExplosion>true</enableExplosion>
<explosionShotInterval>1</explosionShotInterval>
<explosionRadius>1.8</explosionRadius>
<explosionDamageDef>Flame</explosionDamageDef>
<explosionDamage>15</explosionDamage>
<explosionSound>Explosion_Small</explosionSound>
<chanceToStartFire>0.6</chanceToStartFire>
</li>
</verbs>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_2_Stun_Technology</researchPrerequisite>
<skillRequirements>
<Crafting>4</Crafting>
</skillRequirements>
</recipeMaker>
</ThingDef>
<!-- 示例1轻型爆炸射线武器 - 每发都爆炸 -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_LightExplosiveBeam</defName>
<label>CLa-15"蓝爆"轻型</label>
<description>乌拉帝国的轻型爆炸射线武器,每发射线都会在目标位置产生小型爆炸。适合对付轻装甲目标。</description>
<techLevel>Ultra</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Fractal_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.35</drawSize>
</graphicData>
<soundInteract>Interact_ChargeRifle</soundInteract>
<weaponClasses>
<li>LongShots</li>
<li>RangedHeavy</li>
</weaponClasses>
<statBases>
<WorkToMake>15000</WorkToMake>
<Mass>2.8</Mass>
<AccuracyTouch>0.6</AccuracyTouch>
<AccuracyShort>0.85</AccuracyShort>
<AccuracyMedium>0.7</AccuracyMedium>
<AccuracyLong>0.45</AccuracyLong>
<RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>120</Steel>
<Plasteel>25</Plasteel>
<ComponentSpacer>2</ComponentSpacer>
</costList>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootBeamExplosive</verbClass>
<!-- 示例2重型爆炸射线武器 - 每3发爆炸一次威力更大 -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_HeavyExplosiveBeam</defName>
<label>CLa-16"蓝爆"重型</label>
<description>乌拉帝国的重型爆炸射线武器,每三发射线会触发一次大威力爆炸,并在爆炸区域留下燃料污渍。</description>
<techLevel>Ultra</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Fractal_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.75</drawSize>
</graphicData>
<soundInteract>Interact_ChargeRifle</soundInteract>
<weaponClasses>
<li>LongShots</li>
<li>RangedHeavy</li>
</weaponClasses>
<statBases>
<WorkToMake>35000</WorkToMake>
<Mass>4.2</Mass>
<AccuracyTouch>0.45</AccuracyTouch>
<AccuracyShort>0.8</AccuracyShort>
<AccuracyMedium>0.65</AccuracyMedium>
<AccuracyLong>0.4</AccuracyLong>
<RangedWeapon_Cooldown>2.1</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>200</Steel>
<Plasteel>60</Plasteel>
<ComponentSpacer>6</ComponentSpacer>
<Uranium>15</Uranium>
</costList>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootBeamExplosive</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0.8</warmupTime>
<range>35</range>
<burstShotCount>9</burstShotCount>
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
<beamWidth>4</beamWidth>
<beamDamageDef>Stun</beamDamageDef>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamMoteDef>Mote_GraserBeamBase</beamMoteDef>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<!-- 每3发爆炸一次 -->
<enableExplosion>true</enableExplosion>
<explosionShotInterval>3</explosionShotInterval>
<explosionRadius>3.2</explosionRadius>
<explosionDamageDef>Bomb</explosionDamageDef>
<explosionDamage>35</explosionDamage>
<explosionArmorPenetration>0.4</explosionArmorPenetration>
<explosionSound>Explosion_Bomb</explosionSound>
<chanceToStartFire>0.4</chanceToStartFire>
<postExplosionSpawnThingDef>Filth_Fuel</postExplosionSpawnThingDef>
<postExplosionSpawnChance>0.25</postExplosionSpawnChance>
<postExplosionSpawnThingCount>2</postExplosionSpawnThingCount>
</li>
</verbs>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_2_Stun_Technology</researchPrerequisite>
<skillRequirements>
<Crafting>6</Crafting>
</skillRequirements>
</recipeMaker>
</ThingDef>
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0.3</warmupTime>
<range>25</range>
<burstShotCount>4</burstShotCount>
<ticksBetweenBurstShots>8</ticksBetweenBurstShots>
<beamDamageDef>Burn</beamDamageDef>
<!-- 示例3毒气爆炸射线武器 - 产生毒气效果 -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_ToxicExplosiveBeam</defName>
<label>CLa-17"蓝毒"</label>
<description>乌拉帝国的毒气射线武器,每两发射线会触发毒气爆炸,在目标区域释放有毒气体。</description>
<techLevel>Ultra</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Fractal_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.55</drawSize>
</graphicData>
<soundInteract>Interact_ChargeRifle</soundInteract>
<weaponClasses>
<li>LongShots</li>
<li>RangedHeavy</li>
</weaponClasses>
<statBases>
<WorkToMake>28000</WorkToMake>
<Mass>3.6</Mass>
<AccuracyTouch>0.55</AccuracyTouch>
<AccuracyShort>0.85</AccuracyShort>
<AccuracyMedium>0.7</AccuracyMedium>
<AccuracyLong>0.5</AccuracyLong>
<RangedWeapon_Cooldown>1.8</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>150</Steel>
<Plasteel>40</Plasteel>
<ComponentSpacer>4</ComponentSpacer>
<Chemfuel>25</Chemfuel>
</costList>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootBeamExplosive</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0.6</warmupTime>
<range>28</range>
<burstShotCount>6</burstShotCount>
<ticksBetweenBurstShots>7</ticksBetweenBurstShots>
<beamWidth>2.5</beamWidth>
<beamDamageDef>ToxGas</beamDamageDef>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamMoteDef>Mote_GraserBeamBase</beamMoteDef>
<!-- 每2发爆炸一次产生毒气 -->
<enableExplosion>true</enableExplosion>
<explosionShotInterval>2</explosionShotInterval>
<explosionRadius>2.8</explosionRadius>
<explosionDamageDef>ToxGas</explosionDamageDef>
<explosionDamage>20</explosionDamage>
<explosionSound>Explosion_Gas</explosionSound>
<postExplosionGasType>ToxGas</postExplosionGasType>
<chanceToStartFire>0.1</chanceToStartFire>
</li>
</verbs>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_2_Stun_Technology</researchPrerequisite>
<skillRequirements>
<Crafting>5</Crafting>
</skillRequirements>
</recipeMaker>
</ThingDef>
<!-- 消除射线偏移的参数 -->
<beamFullWidthRange>1000</beamFullWidthRange>
<beamWidth>-1</beamWidth>
<beamMaxDeviation>0</beamMaxDeviation>
<beamCurvature>0</beamCurvature>
<beamStartOffset>0</beamStartOffset>
<!-- 视觉和音效 -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<beamMoteDef>Mote_GraserBeamBase</beamMoteDef>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<!-- 火焰效果 -->
<beamChanceToStartFire>0</beamChanceToStartFire>
<beamChanceToAttachFire>0</beamChanceToAttachFire>
<beamFireSizeRange>0</beamFireSizeRange>
<!-- 其他射线属性 -->
<beamHitsNeighborCells>true</beamHitsNeighborCells>
<beamLineFleckChanceCurve>
<points>
<li>(0, 0)</li>
<li>(0.65, 0.4)</li>
<li>(1, 0.75)</li>
</points>
</beamLineFleckChanceCurve>
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<!-- 每发都爆炸 -->
<enableExplosion>true</enableExplosion>
<explosionShotInterval>1</explosionShotInterval>
<explosionRadius>1.8</explosionRadius>
<explosionDamageDef>Flame</explosionDamageDef>
<explosionDamage>15</explosionDamage>
<explosionSound>Explosion_Bomb</explosionSound>
<chanceToStartFire>0.6</chanceToStartFire>
</li>
</verbs>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_2_Stun_Technology</researchPrerequisite>
<skillRequirements>
<Crafting>4</Crafting>
</skillRequirements>
</recipeMaker>
</ThingDef>
<!-- 示例2重型爆炸射线武器 - 每3发爆炸一次威力更大 -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_HeavyExplosiveBeam</defName>
<label>CLa-16"蓝爆"重型</label>
<description>乌拉帝国的重型爆炸射线武器,每三发射线会触发一次大威力爆炸,并在爆炸区域留下燃料污渍。</description>
<techLevel>Ultra</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Fractal_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.75</drawSize>
</graphicData>
<soundInteract>Interact_ChargeRifle</soundInteract>
<weaponClasses>
<li>LongShots</li>
<li>RangedHeavy</li>
</weaponClasses>
<statBases>
<WorkToMake>35000</WorkToMake>
<Mass>4.2</Mass>
<AccuracyTouch>0.45</AccuracyTouch>
<AccuracyShort>0.8</AccuracyShort>
<AccuracyMedium>0.65</AccuracyMedium>
<AccuracyLong>0.4</AccuracyLong>
<RangedWeapon_Cooldown>2.1</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>200</Steel>
<Plasteel>60</Plasteel>
<ComponentSpacer>6</ComponentSpacer>
<Uranium>15</Uranium>
</costList>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootBeamExplosive</verbClass>
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0.8</warmupTime>
<range>35</range>
<burstShotCount>9</burstShotCount>
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
<beamDamageDef>Stun</beamDamageDef>
<!-- 消除射线偏移的参数 -->
<beamFullWidthRange>1000</beamFullWidthRange>
<beamWidth>-1</beamWidth>
<beamMaxDeviation>0</beamMaxDeviation>
<beamCurvature>0</beamCurvature>
<beamStartOffset>0</beamStartOffset>
<!-- 视觉和音效 -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<beamMoteDef>Mote_GraserBeamBase</beamMoteDef>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<!-- 火焰效果 -->
<beamChanceToStartFire>0</beamChanceToStartFire>
<beamChanceToAttachFire>0</beamChanceToAttachFire>
<beamFireSizeRange>0</beamFireSizeRange>
<!-- 其他射线属性 -->
<beamHitsNeighborCells>true</beamHitsNeighborCells>
<beamLineFleckChanceCurve>
<points>
<li>(0, 0)</li>
<li>(0.65, 0.4)</li>
<li>(1, 0.75)</li>
</points>
</beamLineFleckChanceCurve>
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<!-- 每3发爆炸一次 -->
<enableExplosion>true</enableExplosion>
<explosionShotInterval>3</explosionShotInterval>
<explosionRadius>3.2</explosionRadius>
<explosionDamageDef>Bomb</explosionDamageDef>
<explosionDamage>35</explosionDamage>
<explosionArmorPenetration>0.4</explosionArmorPenetration>
<explosionSound>Explosion_Bomb</explosionSound>
<chanceToStartFire>0.4</chanceToStartFire>
<postExplosionSpawnThingDef>Filth_Fuel</postExplosionSpawnThingDef>
<postExplosionSpawnChance>0.25</postExplosionSpawnChance>
<postExplosionSpawnThingCount>2</postExplosionSpawnThingCount>
</li>
</verbs>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_2_Stun_Technology</researchPrerequisite>
<skillRequirements>
<Crafting>6</Crafting>
</skillRequirements>
</recipeMaker>
</ThingDef>
</Defs>