Compare commits

..

5 Commits
stable ... main

Author SHA1 Message Date
ProjectKoi-Kalo\Kalo 1c6e771baa Milian_Mechanoid_FarmI 2024-08-15 20:17:08 +08:00
ProjectKoi-Kalo\Kalo 50ac006bee tagfix 2024-08-15 20:07:54 +08:00
ProjectKoi-Kalo\Kalo 19c2cc4ae1 砍造价 2024-08-15 20:07:14 +08:00
ProjectKoi-Kalo\Kalo c92b1de33a desc fix. 2024-08-14 21:56:02 +08:00
ProjectKoi-Kalo\Kalo 8ff693c78c Milira_Resonator_Farm 2024-08-14 21:54:58 +08:00
9 changed files with 186 additions and 3 deletions

View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="Milira_ResonatorBase">
<defName>Milira_Resonator_Farm</defName>
<building>
<buildingTags>
<li>Milira_Resonator_Farm</li>
</buildingTags>
</building>
<costList>
<Plasteel>50</Plasteel>
<ComponentIndustrial>3</ComponentIndustrial>
<Milira_ResonatorCore>1</Milira_ResonatorCore>
</costList>
<statBases>
<WorkToBuild>9000</WorkToBuild>
<MaxHitPoints>420</MaxHitPoints>
<Flammability>0</Flammability>
<Cleanliness>-5</Cleanliness>
<WorkTableWorkSpeedFactor>1.2</WorkTableWorkSpeedFactor>
</statBases>
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
<designationCategory>Biotech</designationCategory>
<comps>
<li Class="Milira.CompProperties_Resonator">
<onlyTargetMechs>true</onlyTargetMechs>
<resonatorTag>Milira_Resonator_Farm</resonatorTag>
<hediff>Milian_ClassHediff_Farm</hediff>
<appendString>Tune to: Farm</appendString>
</li>
<li Class="AncotLibrary.CompProperties_AdditionalGraphic">
<floatAmplitude>0.01</floatAmplitude>
<floatSpeed>0.02</floatSpeed>
<graphicData>
<texPath>Milira/Building/Buildings_Misc/Resonator_Pawn</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
<drawSize>(1.7,1.7)</drawSize>
<drawOffset>(0,0,0.3)</drawOffset>
</graphicData>
<altitudeLayer>PawnUnused</altitudeLayer>
</li>
</comps>
<researchPrerequisites>
<li>Milira_MilianTech_ResonatorPack</li>
</researchPrerequisites>
</ThingDef>
</Defs>

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_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>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<LanguageData>
<!-- EN: 谐振仪 -->
<Milira_Resonator_Farm.label>谐振仪(农夫)</Milira_Resonator_Farm.label>
<!-- EN: 能够提供特定职阶调谐的自供能建筑,有一个小范围的低角护盾提供保护,但本身极其脆弱。 -->
<Milira_Resonator_Farm.description>能够提供特定职阶调谐的自供能建筑,有一个小范围的低角护盾提供保护,但本身极其脆弱。</Milira_Resonator_Farm.description>
<Milira_Resonator_Farm.comps.CompResonator.appendString>调谐:农夫</Milira_Resonator_Farm.comps.CompResonator.appendString>
</LanguageData>

View File

@ -13,10 +13,25 @@
<!-- EN: 士兵I型 -->
<Milian_Mechanoid_FarmII.label>农民II型</Milian_Mechanoid_FarmII.label>
<!-- EN: 型号为士兵I型的米莉安。\n\n可以装备远程武器。 -->
<Milian_Mechanoid_FarmII.description>型号为农民II型的米莉安。\n\n无法装备武器。</Milian_Mechanoid_FarmII.description>
<Milian_Mechanoid_FarmII.description>型号为农民II型的米莉安。\n\n可以装备远程武器。</Milian_Mechanoid_FarmII.description>
<!-- EN: left fist -->
<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>

View File

@ -3,6 +3,5 @@
<v1.5>
<li>1.5</li>
<li>Content</li>
<li IfModActive="Ludeon.RimWorld.Biotech">1.5/Mods/Biotech</li>
</v1.5>
</loadFolders>