This commit is contained in:
2025-08-01 17:30:23 +08:00
parent 21c1ea4535
commit 78ab937b2b
7 changed files with 281 additions and 230 deletions

View File

@@ -43,14 +43,46 @@
</DamageDef>
<DamageDef ParentName="Wula_Darm_Matter_Beam_DMG">
<defName>Wula_Darm_Matter_Beam_Explode</defName>
<defName>Wula_Psi_Damage</defName>
<ignoreShields>true</ignoreShields>
<igniteChanceByTargetFlammability>
<points>
<li>(0, 0)</li>
<li>(1, 0.5)</li>
</points>
</igniteChanceByTargetFlammability>
<label>灵能灼烧</label>
<workerClass>DamageWorker_AddInjury</workerClass>
<externalViolence>true</externalViolence>
<deathMessage>{0} 被灵能灼烧而死。</deathMessage>
<harmAllLayersUntilOutside>true</harmAllLayersUntilOutside>
<impactSoundType>Bullet</impactSoundType>
<hediff>Burn</hediff>
<armorCategory>Heat</armorCategory>
<overkillPctToDestroyPart>0~0.7</overkillPctToDestroyPart>
<isRanged>true</isRanged>
<makesAnimalsFlee>false</makesAnimalsFlee>
<defaultDamage>20</defaultDamage>
<defaultArmorPenetration>3000</defaultArmorPenetration>
<buildingDamageFactorImpassable>0.01</buildingDamageFactorImpassable>
<buildingDamageFactorPassable>0.01</buildingDamageFactorPassable>
<!-- <soundExplosion>Explosion_Vaporize</soundExplosion> -->
<additionalHediffs>
<li>
<hediff>ToxicBuildup</hediff>
<severityPerDamageDealt>0.015</severityPerDamageDealt>
<victimSeverityScaling>ToxicResistance</victimSeverityScaling>
<inverseStatScaling>true</inverseStatScaling>
<victimSeverityScalingByInvBodySize>true</victimSeverityScalingByInvBodySize>
</li>
</additionalHediffs>
<!-- <additionalHediffs>
<li>
<hediff>WULA_Darkmatter_Explosion</hediff>
<severityPerDamageDealt>0.01</severityPerDamageDealt>
<inverseStatScaling>true</inverseStatScaling>
<victimSeverityScalingByInvBodySize>true</victimSeverityScalingByInvBodySize>
</li>
</additionalHediffs>
</additionalHediffs> -->
</DamageDef>
</Defs>

View File

@@ -1,32 +1,159 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<HediffDef>
<defName>WULA_Darkmatter_Explosion</defName>
<label>暗流爆发</label>
<description>你身上沾染了不明暗物质!马上就要爆炸了!只能祝你好运咯~</description>
<defaultLabelColor>(1, 1, 0.8)</defaultLabelColor>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_SeverityPerDay">
<severityPerDay>-4</severityPerDay>
</li>
<li Class="WulaFallenEmpire.HediffCompProperties_TimedExplosion">
<damageDef>Wula_Darm_Matter_Flame</damageDef>
<soundDef>Explosion_Bomb</soundDef>
<explosionRadius>1.5</explosionRadius>
<showRemainingTime>true</showRemainingTime>
<damageAmount>15</damageAmount>
<armorPenetration>0.10</armorPenetration>
<disappearsAfterTicks>0</disappearsAfterTicks>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
</comps>
<stages>
<li>
<label>minor</label>
<becomeVisible>true</becomeVisible>
</li>
</stages>
</HediffDef>
<HediffDef>
<defName>ToxicBuildup</defName>
<label>toxic buildup</label>
<description></description>
<hediffClass>HediffWithComps</hediffClass>
<defaultLabelColor>(0.7, 1.0, 0.7)</defaultLabelColor>
<lethalSeverity>1</lethalSeverity>
<canApplyDodChanceForCapacityChanges>true</canApplyDodChanceForCapacityChanges>
<makesSickThought>true</makesSickThought>
<scenarioCanAdd>true</scenarioCanAdd>
<taleOnVisible>ToxicityRevealed</taleOnVisible>
<comps>
<li Class="HediffCompProperties_Immunizable">
<compClass>HediffComp_ImmunizableToxic</compClass>
<severityPerDayNotImmune>-0.08</severityPerDayNotImmune>
</li>
<li Class="HediffCompProperties_SurgeryInspectable">
<surgicalDetectionDesc>{PAWN_nameDef} is showing early signs of toxic buildup. Keep {PAWN_objective} away from sources of toxins.</surgicalDetectionDesc>
</li>
</comps>
<stages>
<li>
<label>initial</label>
<becomeVisible>false</becomeVisible>
</li>
<li>
<label>initial</label>
<minSeverity>0.04</minSeverity>
<capMods>
<li>
<capacity>Consciousness</capacity>
<offset>-0.05</offset>
</li>
</capMods>
</li>
<li>
<label>minor</label>
<minSeverity>0.2</minSeverity>
<capMods>
<li>
<capacity>Consciousness</capacity>
<offset>-0.10</offset>
</li>
</capMods>
</li>
<li>
<label>moderate</label>
<minSeverity>0.40</minSeverity>
<vomitMtbDays>5</vomitMtbDays>
<capMods>
<li>
<capacity>Consciousness</capacity>
<offset>-0.15</offset>
</li>
</capMods>
<hediffGivers>
<li Class="HediffGiver_Random">
<hediff>Dementia</hediff>
<mtbDays>146</mtbDays>
<partsToAffect>
<li>Brain</li>
</partsToAffect>
</li>
<li Class="HediffGiver_Random">
<hediff>Carcinoma</hediff>
<mtbDays>438</mtbDays>
<canAffectAnyLivePart>true</canAffectAnyLivePart>
</li>
</hediffGivers>
</li>
<li>
<label>serious</label>
<minSeverity>0.60</minSeverity>
<vomitMtbDays>1</vomitMtbDays>
<capMods>
<li>
<capacity>Consciousness</capacity>
<offset>-0.25</offset>
</li>
</capMods>
<hediffGivers>
<li Class="HediffGiver_Random">
<hediff>Dementia</hediff>
<mtbDays>37</mtbDays>
<partsToAffect>
<li>Brain</li>
</partsToAffect>
</li>
<li Class="HediffGiver_Random">
<hediff>Carcinoma</hediff>
<mtbDays>111</mtbDays>
<canAffectAnyLivePart>true</canAffectAnyLivePart>
</li>
</hediffGivers>
</li>
<li>
<label>extreme</label>
<minSeverity>0.80</minSeverity>
<vomitMtbDays>0.5</vomitMtbDays>
<capMods>
<li>
<capacity>Consciousness</capacity>
<setMax>0.10</setMax>
</li>
<li>
<capacity>Consciousness</capacity>
<offset>-0.25</offset>
</li>
</capMods>
<hediffGivers>
<li Class="HediffGiver_Random">
<hediff>Dementia</hediff>
<mtbDays>13</mtbDays>
<partsToAffect>
<li>Brain</li>
</partsToAffect>
</li>
<li Class="HediffGiver_Random">
<hediff>Carcinoma</hediff>
<mtbDays>39</mtbDays>
<canAffectAnyLivePart>true</canAffectAnyLivePart>
</li>
</hediffGivers>
</li>
</stages>
</HediffDef>
<HediffDef>
<defName>WULA_Darkmatter_Explosion</defName>
<label>暗流爆发</label>
<description>你身上沾染了不明暗物质!马上就要爆炸了!只能祝你好运咯~</description>
<defaultLabelColor>(1, 1, 0.8)</defaultLabelColor>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_SeverityPerDay">
<severityPerDay>-4</severityPerDay>
</li>
<li Class="WulaFallenEmpire.HediffCompProperties_TimedExplosion">
<damageDef>Wula_Darm_Matter_Flame</damageDef>
<soundDef>Explosion_Bomb</soundDef>
<explosionRadius>1.5</explosionRadius>
<showRemainingTime>true</showRemainingTime>
<damageAmount>15</damageAmount>
<armorPenetration>0.10</armorPenetration>
<disappearsAfterTicks>0</disappearsAfterTicks>
</li>
<!-- <li Class="HediffCompProperties_DisappearsOnDeath"/> -->
</comps>
<stages>
<li>
<label>minor</label>
<becomeVisible>true</becomeVisible>
</li>
</stages>
</HediffDef>
</Defs>

View File

@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_SP_Spear_Impale</defName>
<label>圣痕:圣枪穿刺术式</label>
<description>这是乌拉星人所创造的最强大的进攻术式,在帝国内战后乌拉星人改进了这个术式,以使其不需要整个唱诗班即可发动。这种术式发射的纯净灵能能量能绕过几乎所有防御,在敌人的集群中连续弹跳,瞬间烧穿无信之徒的可悲躯体。</description>
<techLevel>Ultra</techLevel>
<!-- <techLevel>Spacer</techLevel> -->
<graphicData>
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.2</drawSize>
</graphicData>
<weaponTags>
<li>Wula_Spell_Weapon_T1</li>
</weaponTags>
<useHitPoints>False</useHitPoints>
<!-- <uiIconScale>0.9</uiIconScale> -->
<soundInteract>Gorehulk_Spine_Launch</soundInteract>
<recipeMaker>
<recipeUsers Inherit="False"/>
</recipeMaker>
<costList Inherit="False">
<WULA_Soul_Wedge>3000</WULA_Soul_Wedge>
<WULA_Dark_Matter_Item>5</WULA_Dark_Matter_Item>
</costList>
<statBases>
<WorkToMake>40000</WorkToMake>
<Mass>0</Mass>
<AccuracyTouch>1</AccuracyTouch>
<AccuracyShort>1</AccuracyShort>
<AccuracyMedium>1</AccuracyMedium>
<AccuracyLong>1</AccuracyLong>
<RangedWeapon_Cooldown>0</RangedWeapon_Cooldown>
</statBases>
<verbs>
<li Class="WulaFallenEmpire.VerbProperties_Arc">
<verbClass>WulaFallenEmpire.Verb_ShootArc</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<damageDef>Wula_Psi_Damage</damageDef>
<damageAmount>80</damageAmount>
<EMPDamageAmount>0</EMPDamageAmount>
<warmupTime>4</warmupTime>
<range>48</range>
<affectedAngle>25</affectedAngle>
<armorPenetration>1.0</armorPenetration>
<soundCast>AgonyPulse_Cast</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
<isConductible>True</isConductible>
<conductFriendly>False</conductFriendly>
<conductNum>12</conductNum>
<beamMoteDef>WULA_SP_Spear_Impale_ArcBeam</beamMoteDef>
<aimingChargeMote>Mote_HellsphereCannon_Charge</aimingChargeMote>
</li>
</verbs>
<tradeability>None</tradeability>
</ThingDef>
<ThingDef ParentName="MoteBase">
<defName>WULA_SP_Spear_Impale_ArcBeam</defName>
<thingClass>MoteDualAttached</thingClass>
<altitudeLayer>MoteOverhead</altitudeLayer>
<mote>
<fadeInTime>0</fadeInTime>
<fadeOutTime>1</fadeOutTime>
<solidTime>0.4</solidTime>
<needsMaintenance>False</needsMaintenance>
<rotateTowardsTarget>True</rotateTowardsTarget>
<scaleToConnectTargets>True</scaleToConnectTargets>
<fadeOutUnmaintained>False</fadeOutUnmaintained>
</mote>
<drawOffscreen>true</drawOffscreen>
<graphicData>
<texPath>Wula/Mote/WULA_Bullet_Dark_Matter_Beam</texPath>
<color>(200, 40, 40, 255)</color>
<graphicClass>Graphic_MoteWithAgeSecs</graphicClass>
<shaderType>MoteBeam</shaderType>
<drawSize>(3,1)</drawSize>
<shaderParameters>
<_ExtraTexA>/Things/Mote/BeamSecondaryNoise_A</_ExtraTexA>
<_ExtraTexB>/Things/Mote/BeamSecondaryNoise_B</_ExtraTexB>
<_ScrollSpeedA>-4 </_ScrollSpeedA>
<_ScrollSpeedB>3</_ScrollSpeedB>
<_Intensity>2</_Intensity>
</shaderParameters>
</graphicData>
</ThingDef>
</Defs>

View File

@@ -1,95 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!-- 暗物质步枪 -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_RW_DM_AR_Arc</defName>
<label>DMa-8b"未命名"</label>
<description>乌拉帝国一线部队所使用的由暗物质驱动的常规步枪,暗物质经由螺旋结构形成自旋极化光束,可以在远距离上连锁传导伤害性光束,仍在试验阶段。</description>
<techLevel>Ultra</techLevel>
<!-- <techLevel>Spacer</techLevel> -->
<graphicData>
<texPath>Wula/Weapon/WULA_RW_DM_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.2</drawSize>
</graphicData>
<weaponTags>
<li>Wula_Ranged_Weapon_T4</li>
</weaponTags>
<uiIconScale>0.9</uiIconScale>
<soundInteract>Interact_ChargeRifle</soundInteract>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_4_DM_Base_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<costList Inherit="False">
<Steel>400</Steel>
<Plasteel>200</Plasteel>
<WULA_Dark_Matter_Item>4</WULA_Dark_Matter_Item>
</costList>
<statBases>
<WorkToMake>40000</WorkToMake>
<Mass>4.5</Mass>
<AccuracyTouch>1</AccuracyTouch>
<AccuracyShort>1</AccuracyShort>
<AccuracyMedium>1</AccuracyMedium>
<AccuracyLong>1</AccuracyLong>
<RangedWeapon_Cooldown>1</RangedWeapon_Cooldown>
</statBases>
<verbs>
<li Class="WulaFallenEmpire.VerbProperties_Arc">
<verbClass>WulaFallenEmpire.Verb_ShootArc</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<damageDef>Wula_Darm_Matter_Beam_Explode</damageDef>
<damageAmount>20</damageAmount>
<EMPDamageAmount>20</EMPDamageAmount>
<warmupTime>1</warmupTime>
<range>34.9</range>
<affectedAngle>25</affectedAngle>
<armorPenetration>1.0</armorPenetration>
<soundCast>Shot_BeamRepeater</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<isConductible>True</isConductible>
<conductFriendly>False</conductFriendly>
<conductNum>4</conductNum>
<beamMoteDef>WULA_ArcBeam</beamMoteDef>
</li>
</verbs>
<tradeability>None</tradeability>
</ThingDef>
<ThingDef ParentName="MoteBase">
<defName>WULA_ArcBeam</defName>
<thingClass>MoteDualAttached</thingClass>
<altitudeLayer>MoteOverhead</altitudeLayer>
<mote>
<fadeInTime>0</fadeInTime>
<fadeOutTime>0.4</fadeOutTime>
<solidTime>0.4</solidTime>
<needsMaintenance>False</needsMaintenance>
<rotateTowardsTarget>True</rotateTowardsTarget>
<scaleToConnectTargets>True</scaleToConnectTargets>
<fadeOutUnmaintained>False</fadeOutUnmaintained>
</mote>
<drawOffscreen>true</drawOffscreen>
<graphicData>
<texPath>Things/Mote/GraserBeam</texPath>
<color>(188, 112, 255, 255)</color>
<graphicClass>Graphic_MoteWithAgeSecs</graphicClass>
<shaderType>MoteBeam</shaderType>
<shaderParameters>
<_ExtraTexA>/Things/Mote/BeamSecondaryNoise_A</_ExtraTexA>
<_ExtraTexB>/Things/Mote/BeamSecondaryNoise_B</_ExtraTexB>
<_ScrollSpeedA>-4 </_ScrollSpeedA>
<_ScrollSpeedB>3</_ScrollSpeedB>
<_Intensity>2</_Intensity>
</shaderParameters>
</graphicData>
</ThingDef>
</Defs>

View File

@@ -1495,7 +1495,7 @@
<ThingDef ParentName="BaseGun">
<defName>WULA_RW_Handle_Cannon</defName>
<label>KRc-7"熔岩"</label>
<description>一般由乌拉帝国跳帮组或骑士军团携带的手持火炮,能够在锁定后连续发射三炮弹,夷平敌人的复合型工事或舰船内壁,并给敌人送来最炽热的消亡。</description>
<description>一般由乌拉帝国跳帮组或骑士军团携带的手持火炮,能够在锁定后连续发射三炮弹,夷平敌人的复合型工事或舰船内壁,并给敌人送来最炽热的消亡。</description>
<techLevel>Ultra</techLevel>
<weaponTags>
<li>Wula_Ranged_Weapon_Wall_Destoryer</li>
@@ -1587,7 +1587,7 @@
<projectile Class="WulaFallenEmpire.ProjectileProperties_ConfigurableHellsphereCannon">
<damageDef>Vaporize</damageDef>
<speed>75</speed>
<damageAmountBase>75</damageAmountBase>
<damageAmountBase>45</damageAmountBase>
<explosionRadius>1.5</explosionRadius>
<screenShakeFactor>0.75</screenShakeFactor>
</projectile>
@@ -1762,7 +1762,7 @@
<soundAmbient>MortarRound_Ambient</soundAmbient>
</projectile>
</ThingDef>
<!-- 导弹发射器 -->
<!-- 测试导弹发射器 -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_RW_Test_Missile</defName>
<label>测试导弹武器</label>
@@ -1860,107 +1860,6 @@
<soundAmbient>MortarRound_Ambient</soundAmbient>
</projectile>
</ThingDef>
<!-- 测试高级火炮 -->
<ThingDef ParentName="BaseGun">
<defName>WULA_RW_Test_Cannon</defName>
<label>测试高级火炮</label>
<description>测试高级火炮</description>
<techLevel>Ultra</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Handle_Cannon</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.35</drawSize>
</graphicData>
<tradeability>None</tradeability>
<recipeMaker>
<recipeUsers Inherit="False"/>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>50000</WorkToMake>
<Mass>20</Mass>
<AccuracyTouch>0.03</AccuracyTouch>
<AccuracyShort>0.03</AccuracyShort>
<AccuracyMedium>0.03</AccuracyMedium>
<AccuracyLong>0.02</AccuracyLong>
<RangedWeapon_Cooldown>4.0</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>500</Steel>
<Plasteel>300</Plasteel>
<ComponentSpacer>12</ComponentSpacer>
</costList>
<verbs>
<li>
<verbClass>WulaFallenEmpire.Verb_ShootShotgun</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Test_Cannon</defaultProjectile>
<warmupTime>1.5</warmupTime>
<range>22</range>
<soundCast>Shot_HellsphereCannonGun</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
<ai_AvoidFriendlyFireRadius>6</ai_AvoidFriendlyFireRadius>
<ai_RangedAlawaysShootGroundBelowTarget>true</ai_RangedAlawaysShootGroundBelowTarget>
<ai_ProjectileLaunchingIgnoresMeleeThreats>true</ai_ProjectileLaunchingIgnoresMeleeThreats>
<ai_IsBuildingDestroyer>true</ai_IsBuildingDestroyer>
<ai_TargetHasRangedAttackScoreOffset>50</ai_TargetHasRangedAttackScoreOffset>
<minRange>6</minRange>
<forcedMissRadius>4</forcedMissRadius>
<targetParams>
<canTargetLocations>true</canTargetLocations>
<canTargetPawns>false</canTargetPawns>
</targetParams>
<aimingLineMote>Mote_HellsphereCannon_Aim</aimingLineMote>
<aimingChargeMote>Mote_HellsphereCannon_Charge</aimingChargeMote>
<aimingChargeMoteOffset>1.07</aimingChargeMoteOffset>
<aimingLineMoteFixedLength>3.9</aimingLineMoteFixedLength>
<aimingTargetMote>Mote_HellsphereCannon_Target</aimingTargetMote>
<burstShotCount>3</burstShotCount>
<beamTargetsGround>true</beamTargetsGround>
<soundAiming>HellsphereCannon_Aiming</soundAiming>
<canGoWild>false</canGoWild>
</li>
</verbs>
<tools>
<li>
<label>barrel</label>
<capacities>
<li>Blunt</li>
<li>Poke</li>
</capacities>
<power>9</power>
<cooldownTime>2.6</cooldownTime>
</li>
</tools>
<comps>
<li Class="CompProperties_Biocodable"/>
</comps>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_RW_Test_Cannon</defName>
<label>熔岩炮弹</label>
<!-- <thingClass>Projectile_HellsphereCannon</thingClass> -->
<thingClass>Projectile_Explosive</thingClass>
<graphicData>
<texPath>Things/Projectile/HellsphereCannon</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>MoteGlow</shaderType>
<drawSize>(1.5, 3)</drawSize>
</graphicData>
<projectile>
<damageDef>Vaporize</damageDef>
<speed>75</speed>
<damageAmountBase>300</damageAmountBase>
<explosionRadius>1.1</explosionRadius>
<screenShakeFactor>0.75</screenShakeFactor>
</projectile>
<modExtensions>
<li Class="WulaFallenEmpire.ShotgunExtension">
<pelletCount>6</pelletCount>
</li>
</modExtensions>
</ThingDef>
<!-- 暗物质步枪 -->
<ThingDef ParentName="BaseHumanMakeableGun">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB