菌毯的修改,虫族建筑需要在菌毯建造(未测试)

This commit is contained in:
2025-09-04 10:24:30 +08:00
parent 648996be3d
commit 313c99f14b
4 changed files with 49 additions and 14 deletions

View File

@@ -136,7 +136,7 @@
<armorPenetrationBase>0.1</armorPenetrationBase> <armorPenetrationBase>0.1</armorPenetrationBase>
<stoppingPower>1</stoppingPower> <stoppingPower>1</stoppingPower>
<shadowSize>0</shadowSize> <shadowSize>0</shadowSize>
<spawnTerrain>ARA_InsectSludge</spawnTerrain> <spawnTerrain>ARA_InsectCreep</spawnTerrain>
<terrainChance>0.75</terrainChance> <terrainChance>0.75</terrainChance>
<filth>Filth_Slime</filth> <filth>Filth_Slime</filth>
<filthCount>1</filthCount> <filthCount>1</filthCount>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<TerrainAffordanceDef>
<defName>ARA_Creep</defName>
<label>walkable</label>
<order>3800</order>
</TerrainAffordanceDef>
</Defs>

View File

@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Defs> <Defs>
<TerrainDef ParentName="FloorBase"> <TerrainDef ParentName="FloorBase">
<defName>ARA_InsectSludge</defName> <defName>ARA_InsectCreep</defName>
<label>阿拉克涅菌毯</label> <label>阿拉克涅菌毯</label>
<description>由阿拉克涅虫族所铺设的由真菌分泌物混合得到的地面,不需要资源进行铺设,清洁速度很快,但是对其他种族来说不太好看</description> <description>由阿拉克涅虫族所铺设的由真菌、甲壳素分泌物混合得到的地面,会自动在各种拉克涅虫族建筑附近蔓延。这种奇特的结构质地紧密且暗藏大量营养输送组织,可以支撑重型建筑、种植特殊作物,但是除了虫族以外没人想踩在这坨软乎乎的活体结构上</description>
<designationCategory>ARA_Buildings</designationCategory> <designationCategory>ARA_Buildings</designationCategory>
<texturePath>Terrain/Surfaces/InsectSludge</texturePath> <texturePath>Terrain/Surfaces/InsectSludge</texturePath>
<color>(203, 163, 68)</color>
<pollutionShaderType MayRequire="Ludeon.RimWorld.Biotech">TerrainFadeRoughLinearBurn</pollutionShaderType> <pollutionShaderType MayRequire="Ludeon.RimWorld.Biotech">TerrainFadeRoughLinearBurn</pollutionShaderType>
<pollutionOverlayTexturePath>Terrain/Surfaces/PollutionMud</pollutionOverlayTexturePath> <pollutionOverlayTexturePath>Terrain/Surfaces/PollutionMud</pollutionOverlayTexturePath>
<pollutionColor>(1, 1, 1, 1)</pollutionColor> <pollutionColor>(1, 1, 1, 1)</pollutionColor>
@@ -18,7 +19,6 @@
<li>Unnatural</li> <li>Unnatural</li>
</filthAcceptanceMask> </filthAcceptanceMask>
<natural>true</natural> <natural>true</natural>
<fertility>0</fertility>
<takeFootprints>True</takeFootprints> <takeFootprints>True</takeFootprints>
<avoidWander>false</avoidWander> <avoidWander>false</avoidWander>
<statBases> <statBases>
@@ -27,6 +27,20 @@
<Cleanliness>0</Cleanliness> <Cleanliness>0</Cleanliness>
<Flammability>0.2</Flammability> <Flammability>0.2</Flammability>
</statBases> </statBases>
<fertility>1.25</fertility>
<affordances Inherit="False">
<li>ARA_Creep</li>
<li>Light</li>
<li>Medium</li>
<li>Heavy</li>
<li>GrowSoil</li>
</affordances>
<tags>
<li>ARA_Creep</li>
</tags>
<costList>
<ARA_Carapace>1</ARA_Carapace>
</costList>
<!-- <tags> <!-- <tags>
<li>Insect</li> <li>Insect</li>
</tags> --> </tags> -->
@@ -34,7 +48,7 @@
<ThingDef ParentName="Wall"> <ThingDef ParentName="Wall">
<defName>ARA_InsectWall</defName> <defName>ARA_InsectWall</defName>
<label>阿拉克涅甲壳墙</label> <label>阿拉克涅甲壳墙</label>
<description>阿拉克涅工蜂将硬质岩石和甲壳素混合堆起来形成的墙壁,非常坚硬,就是看起来不太美观。</description> <description>阿拉克涅工蜂将硬质岩石和甲壳素混合堆起来形成的墙壁,非常坚硬,就是看起来不太美观,而且需要在阿拉克涅菌毯上建造</description>
<uiOrder>1800</uiOrder> <uiOrder>1800</uiOrder>
<uiIconPath>ArachnaeSwarm/Building/Linked/ARA_InsectWall_MenuIcon</uiIconPath> <uiIconPath>ArachnaeSwarm/Building/Linked/ARA_InsectWall_MenuIcon</uiIconPath>
<graphicData> <graphicData>
@@ -56,12 +70,16 @@
<building> <building>
<isAirtight>true</isAirtight> <isAirtight>true</isAirtight>
<!-- <isNaturalRock>true</isNaturalRock> --> <!-- <isNaturalRock>true</isNaturalRock> -->
<smoothedThing>SmoothedGranite</smoothedThing>
<blueprintGraphicData> <blueprintGraphicData>
<texPath>ArachnaeSwarm/Building/Linked/ARA_InsectWall_Blueprint</texPath> <texPath>ArachnaeSwarm/Building/Linked/ARA_InsectWall_Blueprint</texPath>
</blueprintGraphicData> </blueprintGraphicData>
<canBuildNonEdificesUnder>true</canBuildNonEdificesUnder>
<artificialForMeditationPurposes>false</artificialForMeditationPurposes>
</building> </building>
<useStuffTerrainAffordance>false</useStuffTerrainAffordance> <useStuffTerrainAffordance>false</useStuffTerrainAffordance>
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded> <terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
<repairEffect>EatVegetarian</repairEffect>
<costStuffCount>0</costStuffCount> <costStuffCount>0</costStuffCount>
<stuffCategories Inherit="False"/> <stuffCategories Inherit="False"/>
<costList> <costList>
@@ -84,7 +102,7 @@
<ThingDef ParentName="DoorBase"> <ThingDef ParentName="DoorBase">
<defName>ARA_InsectDoor</defName> <defName>ARA_InsectDoor</defName>
<label>阿拉克涅甲壳门</label> <label>阿拉克涅甲壳门</label>
<description>阿拉克涅虫巢的入口,主体由硬质岩石和甲壳素混合而成,而开合机构是没有完整意识的阿拉克涅虫组织结构,这使得其可以实现自动开关。</description> <description>阿拉克涅虫巢的入口,主体由硬质岩石和甲壳素混合而成,而开合机构是没有完整意识的阿拉克涅虫组织结构,这使得其可以实现自动开关,需要在阿拉克涅菌毯上建造</description>
<thingClass>Building_MultiTileDoor</thingClass> <thingClass>Building_MultiTileDoor</thingClass>
<category>Building</category> <category>Building</category>
<altitudeLayer>DoorMoveable</altitudeLayer> <altitudeLayer>DoorMoveable</altitudeLayer>
@@ -109,6 +127,7 @@
</statBases> </statBases>
<costList> <costList>
<ARA_Carapace>5</ARA_Carapace> <ARA_Carapace>5</ARA_Carapace>
<ARA_InsectJelly>2</ARA_InsectJelly>
</costList> </costList>
<leaveResourcesWhenKilled>false</leaveResourcesWhenKilled> <leaveResourcesWhenKilled>false</leaveResourcesWhenKilled>
<selectable>true</selectable> <selectable>true</selectable>
@@ -117,12 +136,13 @@
<!--<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>--> <!--<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>-->
<useStuffTerrainAffordance>false</useStuffTerrainAffordance> <useStuffTerrainAffordance>false</useStuffTerrainAffordance>
<stuffCategories Inherit="False"></stuffCategories> <stuffCategories Inherit="False"></stuffCategories>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded> <terrainAffordanceNeeded>ARA_Creep</terrainAffordanceNeeded>
<designationCategory>ARA_Buildings</designationCategory> <designationCategory>ARA_Buildings</designationCategory>
<holdsRoof>true</holdsRoof> <holdsRoof>true</holdsRoof>
<staticSunShadowHeight>1.0</staticSunShadowHeight> <staticSunShadowHeight>1.0</staticSunShadowHeight>
<blockLight>true</blockLight> <blockLight>true</blockLight>
<drawerType>RealtimeOnly</drawerType> <drawerType>RealtimeOnly</drawerType>
<repairEffect>EatVegetarian</repairEffect>
<comps> <comps>
<li Class="CompProperties_Breakdownable"/> <li Class="CompProperties_Breakdownable"/>
<li Class="CompProperties_Forbiddable"> <li Class="CompProperties_Forbiddable">
@@ -174,7 +194,7 @@
<ThingDef ParentName="BuildingNaturalBase"> <ThingDef ParentName="BuildingNaturalBase">
<defName>ARA_Tumor</defName> <defName>ARA_Tumor</defName>
<label>阿拉克涅菌瘤</label> <label>阿拉克涅菌瘤</label>
<description>会发出微光以照亮阿拉克涅巢穴的菌瘤,除了照明外还会在地上扩散菌毯,以便工蜂在其上建立更多的阿拉克涅建筑。</description> <description>会发出微光以照亮阿拉克涅巢穴的菌瘤,除了照明外还会在地上大范围地扩散菌毯,以便工蜂建立更多的阿拉克涅建筑。</description>
<thingClass>Building</thingClass> <thingClass>Building</thingClass>
<!-- <minifiedDef>MinifiedThing</minifiedDef> --> <!-- <minifiedDef>MinifiedThing</minifiedDef> -->
<altitudeLayer>Building</altitudeLayer> <altitudeLayer>Building</altitudeLayer>
@@ -185,6 +205,7 @@
<rotatable>false</rotatable> <rotatable>false</rotatable>
<tickerType>Normal</tickerType> <tickerType>Normal</tickerType>
<designationCategory>ARA_Buildings</designationCategory> <designationCategory>ARA_Buildings</designationCategory>
<repairEffect>EatVegetarian</repairEffect>
<!-- <thingCategories> <!-- <thingCategories>
<li>BuildingsSpecial</li> <li>BuildingsSpecial</li>
</thingCategories> --> </thingCategories> -->
@@ -194,17 +215,20 @@
<Flammability>1.0</Flammability> <Flammability>1.0</Flammability>
<MarketValue>50</MarketValue> <MarketValue>50</MarketValue>
</statBases> </statBases>
<costList>
<ARA_InsectJelly>3</ARA_InsectJelly>
</costList>
<comps> <comps>
<li Class="CompProperties_Glower"> <li Class="CompProperties_Glower">
<glowRadius>8</glowRadius> <glowRadius>6</glowRadius>
<glowColor>(220,210,171,0)</glowColor> <glowColor>(220,210,171,0)</glowColor>
</li> </li>
<li Class="CompProperties_Lifespan"> <!-- <li Class="CompProperties_Lifespan">
<lifespanTicks>1200000</lifespanTicks> <lifespanTicks>1200000</lifespanTicks>
</li> </li> -->
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn"> <li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
<delayTicks>60</delayTicks> <!-- 60 ticks = 1 second --> <delayTicks>60</delayTicks> <!-- 60 ticks = 1 second -->
<terrainToSpawn>ARA_InsectSludge</terrainToSpawn> <terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
<spawnRadius>6</spawnRadius> <spawnRadius>6</spawnRadius>
</li> </li>
</comps> </comps>
@@ -219,5 +243,8 @@
<rect>(0.2,0.2,0.6,0.6)</rect> <rect>(0.2,0.2,0.6,0.6)</rect>
</damageData> </damageData>
</graphicData> </graphicData>
<placeWorkers>
<li>PlaceWorker_GlowRadius</li>
</placeWorkers>
</ThingDef> </ThingDef>
</Defs> </Defs>

View File

@@ -83,7 +83,7 @@
</li> </li>
<li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn"> <li Class="ArachnaeSwarm.CompProperties_DelayedTerrainSpawn">
<delayTicks>60</delayTicks> <!-- 60 ticks = 1 second --> <delayTicks>60</delayTicks> <!-- 60 ticks = 1 second -->
<terrainToSpawn>ARA_InsectSludge</terrainToSpawn> <terrainToSpawn>ARA_InsectCreep</terrainToSpawn>
<spawnRadius>4.6</spawnRadius> <spawnRadius>4.6</spawnRadius>
</li> </li>
</comps> </comps>