109 lines
4.0 KiB
XML
109 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Defs>
|
|
|
|
<!-- 离子步枪============================================================================================= -->
|
|
<ThingDef ParentName="Milira_StandardPlasmaWeaponBase">
|
|
<defName>Milira_PlasmaPistolE</defName>
|
|
<label>plasma pistol eco</label>
|
|
<description>A small launcher capable of quickly firing ion beams. The fired ion beams can melt the armor of target.This weapon are cheap version.\nChargeable.</description>
|
|
<graphicData>
|
|
<texPath>Milira/Weapon/PlasmaPistol</texPath>
|
|
</graphicData>
|
|
<generateCommonality>1.0</generateCommonality>
|
|
<soundInteract>Interact_Rifle</soundInteract>
|
|
<statBases>
|
|
<WorkToMake>60000</WorkToMake>
|
|
<Mass>1.2</Mass>
|
|
<AccuracyTouch>0.9</AccuracyTouch>
|
|
<AccuracyShort>0.9</AccuracyShort>
|
|
<AccuracyMedium>0.75</AccuracyMedium>
|
|
<AccuracyLong>0.15</AccuracyLong>
|
|
<RangedWeapon_Cooldown>0.5</RangedWeapon_Cooldown>
|
|
<Ancot_WeaponMaxCharge>10</Ancot_WeaponMaxCharge>
|
|
<Ancot_WeaponChargeTick>80</Ancot_WeaponChargeTick>
|
|
</statBases>
|
|
<weaponTags>
|
|
<li>Milira_PlasmaPistolE</li>
|
|
</weaponTags>
|
|
<costList>
|
|
<Milira_SunPlateSteel>15</Milira_SunPlateSteel>
|
|
<Plasteel>35</Plasteel>
|
|
<ComponentSpacer>1</ComponentSpacer>
|
|
</costList>
|
|
<recipeMaker>
|
|
<skillRequirements>
|
|
<Crafting>4</Crafting>
|
|
<Intellectual>4</Intellectual>
|
|
</skillRequirements>
|
|
</recipeMaker>
|
|
<verbs>
|
|
<li>
|
|
<verbClass>AncotLibrary.Verb_ChargeShoot</verbClass>
|
|
<isPrimary>true</isPrimary>
|
|
<hasStandardCommand>true</hasStandardCommand>
|
|
<defaultProjectile>MiliraBullet_PlasmaPistol</defaultProjectile>
|
|
<warmupTime>0.8</warmupTime>
|
|
<range>23.9</range>
|
|
<burstShotCount>1</burstShotCount>
|
|
<ticksBetweenBurstShots>6</ticksBetweenBurstShots>
|
|
<soundCast>Milira_Shot_PlasmaRifle</soundCast>
|
|
<soundCastTail>GunTail_Heavy</soundCastTail>
|
|
<muzzleFlashScale>2</muzzleFlashScale>
|
|
</li>
|
|
</verbs>
|
|
<tools>
|
|
<li>
|
|
<label>stock</label>
|
|
<capacities>
|
|
<li>Blunt</li>
|
|
</capacities>
|
|
<power>8</power>
|
|
<cooldownTime>1.7</cooldownTime>
|
|
</li>
|
|
<li>
|
|
<label>barrel</label>
|
|
<capacities>
|
|
<li>Blunt</li>
|
|
<li>Poke</li>
|
|
</capacities>
|
|
<power>6</power>
|
|
<cooldownTime>1.7</cooldownTime>
|
|
</li>
|
|
</tools>
|
|
<equippedStatOffsets>
|
|
<ShootingAccuracyPawn>6.0</ShootingAccuracyPawn>
|
|
</equippedStatOffsets>
|
|
<comps>
|
|
<!--<li Class="AncotLibrary.CompProperties_RangeWeaponVerbSwitch">
|
|
<gizmoOrder>0</gizmoOrder>
|
|
<gizmoLabel1>rapid mode</gizmoLabel1>
|
|
<gizmoLabel2>scatter mode</gizmoLabel2>
|
|
<gizmoDesc1>Switch to scatter mode.</gizmoDesc1>
|
|
<gizmoDesc2>Switch to rapid mode.</gizmoDesc2>
|
|
<aiInitialSwitchChance>0.5</aiInitialSwitchChance>
|
|
<verbProps>
|
|
<verbClass>AncotLibrary.Verb_ChargeShoot</verbClass>
|
|
<isPrimary>true</isPrimary>
|
|
<hasStandardCommand>true</hasStandardCommand>
|
|
<defaultProjectile>MiliraBullet_PlasmaPistol</defaultProjectile>
|
|
<warmupTime>1.8</warmupTime>
|
|
<range>14.9</range>
|
|
<burstShotCount>5</burstShotCount>
|
|
<ticksBetweenBurstShots>0</ticksBetweenBurstShots>
|
|
<soundCast>Milira_Shot_HeavyPlasma</soundCast>
|
|
<soundCastTail>GunTail_Heavy</soundCastTail>
|
|
<muzzleFlashScale>6</muzzleFlashScale>
|
|
</verbProps>
|
|
</li>-->
|
|
<li Class="AncotLibrary.CompProperties_WeaponCharge">
|
|
<projectileCharged>MiliraBullet_PlasmaPistolCharged</projectileCharged>
|
|
<chargeFireEffecter>Milira_PlasmaChargeFire_Forward</chargeFireEffecter>
|
|
<chargeOnResetRatio>1.0</chargeOnResetRatio>
|
|
<resetTicks>1800</resetTicks>
|
|
<!-- <emptyWarmupFactor>1000</emptyWarmupFactor> -->
|
|
<barColor>(0.71,0.88,0.90,0.8)</barColor>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
|
|
</Defs> |