110 lines
4.4 KiB
XML
110 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Defs>
|
|
<AbilityDef Name="ARA_EggSpew_Base" Abstract="True">
|
|
<cooldownTicksRange>5000</cooldownTicksRange>
|
|
<aiCanUse>false</aiCanUse>
|
|
<displayOrder>300</displayOrder>
|
|
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
|
|
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
|
|
<warmupStartSound>AcidSpray_Warmup</warmupStartSound>
|
|
<verbProperties>
|
|
<verbClass>Verb_CastAbility</verbClass>
|
|
<range>1</range>
|
|
<warmupTime>7</warmupTime>
|
|
<soundCast>AcidSpray_Resolve</soundCast>
|
|
<violent>false</violent>
|
|
<targetable>false</targetable>
|
|
<targetParams>
|
|
<canTargetSelf>True</canTargetSelf>
|
|
</targetParams>
|
|
</verbProperties>
|
|
<comps>
|
|
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
|
|
<needDef>Food</needDef>
|
|
<needCost>4</needCost>
|
|
<failMessage>营养值不足,需要进食</failMessage>
|
|
</li>
|
|
<li Class="ArachnaeSwarm.CompProperties_AbilityBodyPartCheck">
|
|
<requiredPart>ARA_Ovary</requiredPart>
|
|
<failMessage>卵巢受损或缺失,无法生育</failMessage>
|
|
</li>
|
|
</comps>
|
|
</AbilityDef>
|
|
<ThingDef Name="ARA_EggSpew_Base_Proj" ParentName="BaseGrenadeProjectile" Abstract="True">
|
|
<thingClass>Projectile_SpawnsThing</thingClass>
|
|
<graphicData>
|
|
<texPath>ArachnaeSwarm/Building/ARA_EggSac</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
</graphicData>
|
|
<projectile>
|
|
<damageDef>Bullet</damageDef>
|
|
<speed>21</speed>
|
|
<damageAmountBase>0</damageAmountBase>
|
|
<tryAdjacentFreeSpaces>true</tryAdjacentFreeSpaces>
|
|
</projectile>
|
|
</ThingDef>
|
|
<AbilityDef Name="ARA_CocoonSpew_Base" Abstract="True">
|
|
<cooldownTicksRange>5000</cooldownTicksRange>
|
|
<aiCanUse>true</aiCanUse>
|
|
<displayOrder>300</displayOrder>
|
|
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
|
|
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
|
|
<warmupStartSound>AcidSpray_Warmup</warmupStartSound>
|
|
<verbProperties>
|
|
<verbClass>Verb_CastAbility</verbClass>
|
|
<range>1</range>
|
|
<warmupTime>12</warmupTime>
|
|
<soundCast>AcidSpray_Resolve</soundCast>
|
|
<violent>false</violent>
|
|
<targetable>false</targetable>
|
|
<targetParams>
|
|
<canTargetSelf>True</canTargetSelf>
|
|
</targetParams>
|
|
</verbProperties>
|
|
<comps>
|
|
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
|
|
<needDef>Food</needDef>
|
|
<needCost>1</needCost>
|
|
<failMessage>营养值不足,需要进食</failMessage>
|
|
</li>
|
|
</comps>
|
|
</AbilityDef>
|
|
<ThingDef Name="ARA_CocoonSpew_Base_Proj" ParentName="BaseGrenadeProjectile" Abstract="True">
|
|
<label>阿拉克涅孵化茧</label>
|
|
<thingClass>Projectile_SpawnsThing</thingClass>
|
|
<graphicData>
|
|
<texPath>ArachnaeSwarm/Building/ARA_Cocoon</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
</graphicData>
|
|
<projectile>
|
|
<damageDef>Bullet</damageDef>
|
|
<speed>21</speed>
|
|
<damageAmountBase>0</damageAmountBase>
|
|
<tryAdjacentFreeSpaces>true</tryAdjacentFreeSpaces>
|
|
</projectile>
|
|
</ThingDef>
|
|
|
|
<!-- T1 -->
|
|
<AbilityDef ParentName="ARA_EggSpew_Base">
|
|
<defName>ARA_EggSpew</defName>
|
|
<label>生育虫卵</label>
|
|
<description>从卵巢中排出一颗休眠的虫卵,阿拉克涅女皇种可以通过与其交互将其激活,并选择孵化的督虫虫族类型——参阅虫卵的具体信息,了解各个督虫的特点。\n\n该虫卵只能孵化小型虫族。</description>
|
|
<iconPath>UI/Commands/EggSpew</iconPath>
|
|
<comps>
|
|
<li Class="CompProperties_AbilityLaunchProjectile">
|
|
<projectileDef>ARA_Proj_EggSac</projectileDef>
|
|
</li>
|
|
</comps>
|
|
</AbilityDef>
|
|
<AbilityDef ParentName="ARA_EggSpew_Base">
|
|
<defName>ARA_EggSpew_Huge</defName>
|
|
<label>生育大型虫卵</label>
|
|
<description>从卵巢中排出一颗休眠的大型虫卵,阿拉克涅女皇种可以通过与其交互将其激活,并选择孵化的督虫虫族类型——参阅虫卵的具体信息,了解各个督虫的特点。\n\n该虫卵只能孵化大型虫族。</description>
|
|
<iconPath>UI/Commands/EggSpew</iconPath>
|
|
<comps>
|
|
<li Class="CompProperties_AbilityLaunchProjectile">
|
|
<projectileDef>ARA_Proj_EggSac_Huge</projectileDef>
|
|
</li>
|
|
</comps>
|
|
</AbilityDef>
|
|
</Defs> |