暂存
This commit is contained in:
35
1.6/1.6/Defs/AbilityDefs/ARA_Abilities_HiveMind.xml
Normal file
35
1.6/1.6/Defs/AbilityDefs/ARA_Abilities_HiveMind.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<AbilityDef ParentName="AbilityTouchBase">
|
||||
<defName>ARA_BindDrone</defName>
|
||||
<label>虫群联结</label>
|
||||
<description>Allows the hive mind master to bind with an unlinked drone, bringing it under direct psychic control.</description>
|
||||
<iconPath>UI/Commands/EggSpew</iconPath> <!-- Placeholder: You'll need to create this icon -->
|
||||
|
||||
<jobDef>CastAbilityOnThing</jobDef>
|
||||
<targetRequired>true</targetRequired>
|
||||
<cooldownTicksRange>60</cooldownTicksRange> <!-- 1 second cooldown -->
|
||||
|
||||
<verbProperties>
|
||||
<verbClass>Verb_CastAbility</verbClass>
|
||||
<warmupTime>0.5</warmupTime>
|
||||
<range>99</range> <!-- Short range, like touch -->
|
||||
<targetParams>
|
||||
<canTargetPawns>true</canTargetPawns>
|
||||
<canTargetBuildings>false</canTargetBuildings>
|
||||
<canTargetAnimals>true</canTargetAnimals>
|
||||
<canTargetMechs>false</canTargetMechs>
|
||||
<canTargetCorpses>false</canTargetCorpses>
|
||||
<canTargetSelf>false</canTargetSelf>
|
||||
</targetParams>
|
||||
</verbProperties>
|
||||
|
||||
<comps>
|
||||
<li Class="ArachnaeSwarm.CompProperties_AbilityBindDrone">
|
||||
<!-- No custom properties needed for now -->
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
|
||||
</Defs>
|
||||
@@ -15,6 +15,9 @@
|
||||
<Shooting>2</Shooting>
|
||||
<Melee>2</Melee>
|
||||
</skillGains>
|
||||
<forcedHediffs>
|
||||
<li>ARA_HiveMindMaster</li>
|
||||
</forcedHediffs>
|
||||
|
||||
<spawnCategories>
|
||||
<li>ArachnaeQueen_spawnCategoriesA</li>
|
||||
@@ -53,9 +56,13 @@
|
||||
<li>ArachnaeNode_spawnCategoriesA</li>
|
||||
</spawnCategories>
|
||||
|
||||
<forcedHediffs>
|
||||
<li>ARA_HiveMindDrone</li>
|
||||
</forcedHediffs>
|
||||
|
||||
<requiresSpawnCategory>true</requiresSpawnCategory>
|
||||
</AlienRace.AlienBackstoryDef>
|
||||
|
||||
|
||||
<AlienRace.AlienBackstoryDef ParentName="ARA_BaseBackStory">
|
||||
<defName>Arachnae_Node_BS_Adult_1</defName>
|
||||
<title>阿拉克涅督虫种</title>
|
||||
|
||||
39
1.6/1.6/Defs/HediffDefs/ARA_Hediffs_HiveMind.xml
Normal file
39
1.6/1.6/Defs/HediffDefs/ARA_Hediffs_HiveMind.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<HediffDef>
|
||||
<defName>ARA_HiveMindMaster</defName>
|
||||
<label>阿拉克涅主巢</label>
|
||||
<description>The central node of a hive mind, connected to multiple drone beings.</description>
|
||||
<hediffClass>ArachnaeSwarm.Hediff_HiveMindMaster</hediffClass>
|
||||
<defaultLabelColor>(0.8, 0.3, 0.8)</defaultLabelColor>
|
||||
<isBad>false</isBad>
|
||||
<scenarioCanAdd>true</scenarioCanAdd>
|
||||
<maxSeverity>100</maxSeverity>
|
||||
<stages>
|
||||
<li>
|
||||
<label>connected to {0} drones</label>
|
||||
<minSeverity>0</minSeverity>
|
||||
<!-- Stat offsets will be added here later -->
|
||||
</li>
|
||||
</stages>
|
||||
</HediffDef>
|
||||
|
||||
<HediffDef>
|
||||
<defName>ARA_HiveMindDrone</defName>
|
||||
<label>阿拉克涅工蜂</label>
|
||||
<description>A drone being, psychically linked to a master node. If the master dies, this unit will cease to function.</description>
|
||||
<hediffClass>ArachnaeSwarm.Hediff_HiveMindDrone</hediffClass>
|
||||
<defaultLabelColor>(0.6, 0.4, 0.8)</defaultLabelColor>
|
||||
<isBad>false</isBad>
|
||||
<scenarioCanAdd>true</scenarioCanAdd>
|
||||
<comps>
|
||||
<li Class="ArachnaeSwarm.HediffCompProperties_HiveMindDrone">
|
||||
<unlinkedDieDelayTicks>6400</unlinkedDieDelayTicks> <!-- Default to 30 seconds -->
|
||||
</li>
|
||||
</comps>
|
||||
<stages>
|
||||
</stages>
|
||||
</HediffDef>
|
||||
|
||||
</Defs>
|
||||
@@ -16,6 +16,7 @@
|
||||
<abilities>
|
||||
<li>ARA_EggSpew</li>
|
||||
<li>ARA_AcidSprayBurst</li>
|
||||
<li>ARA_BindDrone</li>
|
||||
</abilities>
|
||||
<xenotypeSet>
|
||||
<xenotypeChances>
|
||||
|
||||
Reference in New Issue
Block a user