砍造价

This commit is contained in:
ProjectKoi-Kalo\Kalo 2024-08-15 20:07:14 +08:00
parent c92b1de33a
commit 19c2cc4ae1
4 changed files with 128 additions and 4 deletions

View File

@ -84,7 +84,7 @@
<li>Milira_SunPlateSteel</li>
</thingDefs>
</filter>
<count>55</count>
<count>40</count>
</li>
<li>
<filter>
@ -100,7 +100,7 @@
<li>Milira_SplendidSteel</li>
</thingDefs>
</filter>
<count>165</count>
<count>135</count>
</li>
<li>
<filter>
@ -108,7 +108,7 @@
<li>Milira_SolarCrystal</li>
</thingDefs>
</filter>
<count>4</count>
<count>3</count>
</li>
<li>
<filter>

View File

@ -138,7 +138,7 @@
</apparelRequired>
<weaponMoney>9999~9999</weaponMoney>
<weaponTags>
<li>Milira_PlasmaPistol</li>
<li>Milira_PlasmaPistolE</li>
</weaponTags>
<techHediffsChance>1</techHediffsChance>
<techHediffsMoney>9999~9999</techHediffsMoney>

View File

@ -0,0 +1,109 @@
<?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_PlasmaPistol</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>

View File

@ -18,5 +18,20 @@
<Milian_Mechanoid_FarmII.tools.left_fist.label>左拳</Milian_Mechanoid_FarmII.tools.left_fist.label>
<!-- EN: right fist -->
<Milian_Mechanoid_FarmII.tools.right_fist.label>右拳</Milian_Mechanoid_FarmII.tools.right_fist.label>
<!-- EN: 离子手枪 -->
<Milira_PlasmaPistolE.label>离子手枪(经济型)</Milira_PlasmaPistolE.label>
<!-- EN: 能够快速发射离子束的小型发射器,发射的离子束能够融毁命中单位的护甲。\n\n可以充能。\n\n可以在速射模式和散射模式之间切换。 -->
<Milira_PlasmaPistolE.description>能够快速发射离子束的小型发射器,发射的离子束能够融毁命中单位的护甲。这把武器在制造时质量似乎未能达到出厂标准。\n\n可以充能。</Milira_PlasmaPistolE.description>
<!-- EN: stock -->
<Milira_PlasmaPistolE.tools.stock.label>枪身</Milira_PlasmaPistolE.tools.stock.label>
<!-- EN: barrel -->
<Milira_PlasmaPistolE.tools.barrel.label>枪管</Milira_PlasmaPistolE.tools.barrel.label>
<!-- EN: 离子手枪 -->
<Milira_PlasmaPistolE.verbs.Verb_ChargeShoot.label>离子手枪(经济型)</Milira_PlasmaPistolE.verbs.Verb_ChargeShoot.label>
<Milira_PlasmaPistolE.comps.CompRangeWeaponVerbSwitch.gizmoLabel1>速射模式</Milira_PlasmaPistolE.comps.CompRangeWeaponVerbSwitch.gizmoLabel1>
<Milira_PlasmaPistolE.comps.CompRangeWeaponVerbSwitch.gizmoDesc1>当前为速射模式,点击切换至散射模式。</Milira_PlasmaPistolE.comps.CompRangeWeaponVerbSwitch.gizmoDesc1>
<Milira_PlasmaPistolE.comps.CompRangeWeaponVerbSwitch.gizmoLabel2>散射模式</Milira_PlasmaPistolE.comps.CompRangeWeaponVerbSwitch.gizmoLabel2>
<Milira_PlasmaPistolE.comps.CompRangeWeaponVerbSwitch.gizmoDesc2>当前为散射模式,点击切换至速射模式。</Milira_PlasmaPistolE.comps.CompRangeWeaponVerbSwitch.gizmoDesc2>
</LanguageData>