暂存
This commit is contained in:
Binary file not shown.
@@ -70,6 +70,40 @@
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
|
||||
<AbilityDef>
|
||||
<defName>ARA_EggSpew</defName>
|
||||
<label>生育培育卵</label>
|
||||
<description>工艺卵</description>
|
||||
<iconPath>UI/Commands/EggSpew</iconPath>
|
||||
<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="CompProperties_AbilityLaunchProjectile">
|
||||
<projectileDef>ARA_Proj_BioforgeIncubator</projectileDef>
|
||||
</li>
|
||||
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
|
||||
<needDef>Food</needDef>
|
||||
<needCost>0</needCost>
|
||||
<failMessage>营养值不足,需要进食</failMessage>
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
<AbilityDef>
|
||||
<defName>ARA_AcidSprayBurst</defName>
|
||||
<label>女皇种酸液轰炸</label>
|
||||
@@ -159,6 +193,23 @@
|
||||
<tryAdjacentFreeSpaces>true</tryAdjacentFreeSpaces>
|
||||
</projectile>
|
||||
</ThingDef>
|
||||
|
||||
<ThingDef ParentName="BaseGrenadeProjectile">
|
||||
<defName>ARA_Proj_BioforgeIncubator</defName>
|
||||
<label>阿拉克涅孵化茧</label>
|
||||
<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>
|
||||
<spawnsThingDef>ARA_BioforgeIncubator</spawnsThingDef>
|
||||
<tryAdjacentFreeSpaces>true</tryAdjacentFreeSpaces>
|
||||
</projectile>
|
||||
</ThingDef>
|
||||
|
||||
<AbilityDef>
|
||||
<defName>ARA_AcidSprayBurst_Myrmecocystus</defName>
|
||||
|
||||
11
1.6/1.6/Defs/JobDefs/ARA_Jobs_Interactive.xml
Normal file
11
1.6/1.6/Defs/JobDefs/ARA_Jobs_Interactive.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<JobDef>
|
||||
<defName>ARA_IncubateJob</defName>
|
||||
<driverClass>ArachnaeSwarm.JobDriver_StartProduction</driverClass>
|
||||
<reportString>正在启动生产 TargetA.</reportString>
|
||||
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>
|
||||
</JobDef>
|
||||
|
||||
</Defs>
|
||||
@@ -3,68 +3,64 @@
|
||||
|
||||
<ThingDef ParentName="BuildingBase">
|
||||
<defName>ARA_BioforgeIncubator</defName>
|
||||
<label>生物质孵化器</label>
|
||||
<description>一个先进的孵化器,可以使用化学燃料将有机物和矿物重组成有用的物品。生产过程对温度非常敏感,并且需要由特定的操作员进行启动。</description>
|
||||
<label>阿拉克涅孵化茧</label>
|
||||
<description>一个脆弱、易燃、黏滑的囊状物,是阿拉克涅工艺种所诞之卵,内含哺育阿拉克涅武器种虫族所需的营养和遗传物质,可以通过阿拉克涅工艺种的交互完成激活进程。</description>
|
||||
<thingClass>Building</thingClass>
|
||||
<descriptionHyperlinks>
|
||||
</descriptionHyperlinks>
|
||||
<category>Building</category>
|
||||
<size>(1,1)</size>
|
||||
<minifiedDef>MinifiedThing</minifiedDef>
|
||||
<thingCategories>
|
||||
<li>BuildingsMisc</li>
|
||||
</thingCategories>
|
||||
<graphicData>
|
||||
<texPath>Things/Building/Production/BiofuelRefinery</texPath>
|
||||
<graphicClass>Graphic_Multi</graphicClass>
|
||||
<drawSize>(2,2)</drawSize>
|
||||
<damageData>
|
||||
<cornerTL>Damage/Corner</cornerTL>
|
||||
<cornerTR>Damage/Corner</cornerTR>
|
||||
<cornerBL>Damage/Corner</cornerBL>
|
||||
<cornerBR>Damage/Corner</cornerBR>
|
||||
</damageData>
|
||||
<texPath>ArachnaeSwarm/Building/ARA_EggSac</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>(1.5,1.5)</drawSize>
|
||||
</graphicData>
|
||||
<size>(2,2)</size>
|
||||
<costList>
|
||||
<Steel>150</Steel>
|
||||
<ComponentIndustrial>6</ComponentIndustrial>
|
||||
</costList>
|
||||
<altitudeLayer>Building</altitudeLayer>
|
||||
<passability>Impassable</passability>
|
||||
<passability>PassThroughOnly</passability>
|
||||
<fillPercent>0.3</fillPercent>
|
||||
<rotatable>false</rotatable>
|
||||
<designationCategory>Production</designationCategory>
|
||||
<tickerType>Normal</tickerType>
|
||||
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
|
||||
<statBases>
|
||||
<MaxHitPoints>250</MaxHitPoints>
|
||||
<WorkToBuild>3000</WorkToBuild>
|
||||
<Flammability>1.0</Flammability>
|
||||
<Beauty>-10</Beauty>
|
||||
<Mass>10</Mass>
|
||||
<MaxHitPoints>50</MaxHitPoints>
|
||||
<Flammability>1</Flammability>
|
||||
<Beauty>-6</Beauty>
|
||||
</statBases>
|
||||
<building>
|
||||
<isInert>true</isInert>
|
||||
<!-- <claimable>false</claimable> -->
|
||||
<deconstructible>false</deconstructible>
|
||||
<repairable>false</repairable>
|
||||
<quickTargetable>true</quickTargetable>
|
||||
<isTargetable>true</isTargetable>
|
||||
<expandHomeArea>false</expandHomeArea>
|
||||
</building>
|
||||
<tickerType>Normal</tickerType>
|
||||
|
||||
<comps>
|
||||
<li Class="CompProperties_Power">
|
||||
<compClass>CompPowerTrader</compClass>
|
||||
<basePowerConsumption>250</basePowerConsumption>
|
||||
</li>
|
||||
<li Class="CompProperties_Flickable"/>
|
||||
<li Class="ArachnaeSwarm.CompProperties_InteractiveProducer">
|
||||
<!-- 生产流程列表 -->
|
||||
<processes>
|
||||
<li>
|
||||
<thingDef>ComponentIndustrial</thingDef>
|
||||
<productionTicks>90000</productionTicks> <!-- 1.5 天 -->
|
||||
<totalNutritionNeeded>25</totalNutritionNeeded>
|
||||
<thingDef>Gun_ChainShotgun</thingDef>
|
||||
<productionTicks>60000</productionTicks> <!-- 1.5 天 -->
|
||||
<totalNutritionNeeded>20</totalNutritionNeeded>
|
||||
</li>
|
||||
<li>
|
||||
<thingDef>Plasteel</thingDef>
|
||||
<productionTicks>120000</productionTicks> <!-- 2 天 -->
|
||||
<totalNutritionNeeded>50</totalNutritionNeeded>
|
||||
<thingDef>Gun_AssaultRifle</thingDef>
|
||||
<productionTicks>60000</productionTicks> <!-- 2 天 -->
|
||||
<totalNutritionNeeded>15</totalNutritionNeeded>
|
||||
</li>
|
||||
</processes>
|
||||
|
||||
<!-- 燃料接受规则 -->
|
||||
<fuelAcceptance>
|
||||
<whitelist>
|
||||
<li>WoodLog</li>
|
||||
<li>RawFungus</li>
|
||||
<li>Meat_Insect</li>
|
||||
</whitelist>
|
||||
<blacklist>
|
||||
<li>MealSimple</li> <!-- 不接受简单食物,避免浪费 -->
|
||||
</blacklist>
|
||||
</fuelAcceptance>
|
||||
|
||||
<!-- 交互白名单 -->
|
||||
@@ -73,23 +69,52 @@
|
||||
</whitelist>
|
||||
|
||||
<!-- 其他参数 -->
|
||||
<spawnCount>5~10</spawnCount>
|
||||
<destroyOnSpawn>false</destroyOnSpawn>
|
||||
<minSafeTemperature>7</minSafeTemperature>
|
||||
<maxSafeTemperature>32</maxSafeTemperature>
|
||||
<spawnCount>1</spawnCount>
|
||||
<destroyOnSpawn>True</destroyOnSpawn>
|
||||
<minSafeTemperature>18</minSafeTemperature>
|
||||
<maxSafeTemperature>23</maxSafeTemperature>
|
||||
<penaltyPerDegreePerTick>0.00001</penaltyPerDegreePerTick>
|
||||
</li>
|
||||
<!-- Add the vanilla component to handle structural damage from extreme temperatures -->
|
||||
<li Class="CompProperties_TemperatureRuinable">
|
||||
<minSafeTemperature>13</minSafeTemperature> <!-- Damage below -10C -->
|
||||
<maxSafeTemperature>28</maxSafeTemperature> <!-- Damage above 60C -->
|
||||
<progressPerDegreePerTick>0.00005</progressPerDegreePerTick> <!-- Damage rate -->
|
||||
</li>
|
||||
<li Class="CompProperties_HeatPusher">
|
||||
<compClass>CompHeatPusherPowered</compClass>
|
||||
<heatPerSecond>6</heatPerSecond>
|
||||
</li>
|
||||
</comps>
|
||||
|
||||
<building>
|
||||
<defaultStorageSettings>
|
||||
<priority>Important</priority>
|
||||
<haulToContainerDuration>120</haulToContainerDuration>
|
||||
<fixedStorageSettings>
|
||||
<filter>
|
||||
<thingDefs>
|
||||
<li>WoodLog</li>
|
||||
<li>RawFungus</li>
|
||||
<li>Meat_Insect</li>
|
||||
</thingDefs>
|
||||
<categories>
|
||||
<li>Foods</li>
|
||||
</categories>
|
||||
<specialFiltersToDisallow>
|
||||
<li>AllowPlantFood</li>
|
||||
</specialFiltersToDisallow>
|
||||
</filter>
|
||||
</fixedStorageSettings>
|
||||
<defaultStorageSettings>
|
||||
<filter>
|
||||
<categories>
|
||||
<li>Foods</li>
|
||||
</categories>
|
||||
<disallowedCategories>
|
||||
<li>EggsFertilized</li>
|
||||
</disallowedCategories>
|
||||
<disallowedThingDefs>
|
||||
<li>InsectJelly</li>
|
||||
<li>MealLavish</li>
|
||||
<li>MealLavish_Veg</li>
|
||||
<li>MealLavish_Meat</li>
|
||||
<li>HemogenPack</li>
|
||||
<li>Chocolate</li>
|
||||
</disallowedThingDefs>
|
||||
</filter>
|
||||
</defaultStorageSettings>
|
||||
</building>
|
||||
|
||||
Reference in New Issue
Block a user