This commit is contained in:
2025-11-25 14:54:10 +08:00
parent 4bcb45d683
commit d608f1a07c
26 changed files with 34 additions and 2806 deletions

View File

@@ -1,36 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!-- <ThingDef ParentName="BodyPartProstheticMakeableBase">
<defName>WULA_DamageShieldGenerator</defName>
<label>乌拉反应护盾发生器</label>
<description>一个便携式设备,可以激活并生成一个临时的能量护盾,抵挡即将到来的伤害。</description>
<graphicData>
<texPath>Wula/Item/WULA_Syhth_Trainer</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<stackLimit>1</stackLimit>
<useHitPoints>true</useHitPoints>
<healthAffectsPrice>false</healthAffectsPrice>
<statBases>
<MaxHitPoints>50</MaxHitPoints>
<MarketValue>500</MarketValue>
<Mass>0.5</Mass>
<WorkToMake>1000</WorkToMake>
</statBases>
<thingCategories>
<li>Items</li>
</thingCategories>
<tradeability>Sellable</tradeability>
<comps>
<li Class="CompProperties_Usable">
<useJob>UseItem</useJob>
<useLabel>使用护盾发生器充能反应护盾</useLabel>
</li>
<li Class="WulaFallenEmpire.CompProperties_AddDamageShieldCharges">
<hediffDef>WULA_DamageShield</hediffDef>
<chargesToAdd>100</chargesToAdd>
</li>
<li Class="CompProperties_UseEffectDestroySelf" />
</comps>
</ThingDef> -->
</Defs>

View File

@@ -467,7 +467,7 @@
</li>
</comps>
</ThingDef>
<ThingDef ParentName="WULA_ExperienceCore_Weapon_Ranged">
<ThingDef Name="WULA_RW_Base_AR" ParentName="WULA_ExperienceCore_Weapon_Ranged">
<defName>WULA_RW_Base_AR</defName>
<label>DLa-1"页岩"</label>
<description>乌拉帝国的基础突击步枪,仍然使用可靠的导气式结构驱动自动射击构件,是一种便宜但好用的武器,通常派发给殖民地作自卫武器之用。它下挂了一个眩光弹发射器,可以发射一枚眩光弹击晕区域内的敌人。</description>
@@ -497,7 +497,7 @@
</statBases>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<verbClass>WulaFallenEmpire.Verb_ShootWithOffset</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Base_AR</defaultProjectile>
<warmupTime>1</warmupTime>
@@ -522,12 +522,19 @@
<chargeNoun>眩光弹</chargeNoun>
</li>
</comps>
<modExtensions>
<li Class="WulaFallenEmpire.ModExtension_ShootWithOffset">
<offsets>
<li>(0, -0.5)</li>
</offsets>
</li>
</modExtensions>
</ThingDef>
<!-- 给猫猫的特殊武器,扔在地上会消失、没有人格核心、没有闪光弹 -->
<ThingDef ParentName="BaseHumanMakeableGun">
<ThingDef ParentName="WULA_RW_Base_AR">
<destroyOnDrop>true</destroyOnDrop>
<defName>WULA_RW_Base_AR_For_Cat</defName>
<label>DLa-1"页岩"</label>
<label>DLa-2"页岩"</label>
<description>乌拉帝国的基础突击步枪,仍然使用可靠的导气式结构驱动自动射击构件,是一种便宜但好用的武器,通常派发给殖民地作自卫武器之用。</description>
<tickerType>Normal</tickerType>
<techLevel>Spacer</techLevel>
@@ -575,6 +582,8 @@
<weaponTags Inherit="False">
<li>Wula_Assault_Cat_Weapon</li>
</weaponTags>
<comps Inherit="False">
</comps>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_RW_Base_AR</defName>
@@ -682,7 +691,7 @@
</costList>
<verbs>
<li>
<verbClass>WulaFallenEmpire.Verb_ShootShotgun</verbClass>
<verbClass>WulaFallenEmpire.Verb_ShootShotgunWithOffset</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>WULA_Bullet_StarDrift_Shotgun_Spear</defaultProjectile>
<warmupTime>0.2</warmupTime>
@@ -701,6 +710,13 @@
<ticksPerFrame>8</ticksPerFrame>
</li>
</comps>
<modExtensions>
<li Class="WulaFallenEmpire.ModExtension_ShootWithOffset">
<offsets>
<li>(0.1, -1.0)</li>
</offsets>
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>WULA_Bullet_StarDrift_Shotgun_Spear</defName>
@@ -763,7 +779,7 @@
</costList>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<verbClass>WulaFallenEmpire.Verb_ShootWithOffset</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Fractal_RF</defaultProjectile>
<warmupTime>4</warmupTime>
@@ -784,6 +800,13 @@
<ticksPerFrame>8</ticksPerFrame>
</li>
</comps>
<modExtensions>
<li Class="WulaFallenEmpire.ModExtension_ShootWithOffset">
<offsets>
<li>(0, -1.0)</li>
</offsets>
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_RW_Fractal_RF</defName>
@@ -1024,9 +1047,9 @@
<modExtensions>
<li Class="WulaFallenEmpire.ModExtension_ShootWithOffset">
<offsets>
<li>(0.1, -2.6)</li>
<li>(-0.05, -2.5)</li>
</offsets>
</li>
</li>
</modExtensions>
<comps>
<li Class="WulaFallenEmpire.CompProperties_WeaponRenderDynamic">
@@ -1059,7 +1082,7 @@
<graphicClass>Graphic_Single</graphicClass>
<shaderType>MoteGlow</shaderType>
<color>(165, 44, 2, 255)</color>
<drawSize>(1.4,7)</drawSize>
<drawSize>(1.4,4)</drawSize>
</graphicData>
<projectile>
<damageDef>BeamBypassShields</damageDef>
@@ -1145,10 +1168,6 @@
<pelletCount>3</pelletCount>
</li>
</modExtensions>
<graphicData>
<texPath>Things/Projectile/ChargeLanceShot</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile>
<damageDef>BeamBypassShields</damageDef>
<damageAmountBase>2</damageAmountBase>
@@ -1239,10 +1258,6 @@
<beamStartOffset>0.5</beamStartOffset>
</li>
</modExtensions>
<graphicData>
<texPath>Things/Projectile/ChargeLanceShot</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile>
<damageDef>BeamBypassShields</damageDef>
<damageAmountBase>3</damageAmountBase>