This commit is contained in:
Tourswen
2025-09-07 14:09:24 +08:00
3 changed files with 120 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Defs> <Defs>
<HairDef> <!--<HairDef>
<defName>ARA_Scattered_Hair_Long</defName> <defName>ARA_Scattered_Hair_Long</defName>
<label>散发(长)</label> <label>散发(长)</label>
<hairGender>Female</hairGender> <hairGender>Female</hairGender>
@@ -9,5 +9,5 @@
<styleTags> <styleTags>
<li>ARA_HiveNode_Style</li> <li>ARA_HiveNode_Style</li>
</styleTags> </styleTags>
</HairDef> </HairDef>-->
</Defs> </Defs>

View File

@@ -74,28 +74,114 @@
</colorChannels> </colorChannels>
<!-- 额外身体部件 --> <!-- 额外身体部件 -->
<bodyAddons> <bodyAddons>
<li>
<name>ArachnaeNode Hair</name>
<userCustomizable>true</userCustomizable>
<path>ArachnaeSwarm/Hair/ARA_Scattered_Hair_Long</path>
<inFrontOfBody>true</inFrontOfBody>
<layerInvert>false</layerInvert>
<colorChannel>hair</colorChannel>
<defaultOffset>Center</defaultOffset>
<drawSize>1</drawSize>
<alignWithHead>true</alignWithHead>
<scaleWithPawnDrawsize>true</scaleWithPawnDrawsize>
<useSkipFlags>
<li></li>
</useSkipFlags>
<conditions>
<BodyPart>
<bodyPart>Head</bodyPart>
</BodyPart>
<Posture>
<drawnStanding>true</drawnStanding>
<drawnInBed>true</drawnInBed>
<drawnLaying>true</drawnLaying>
</Posture>
<RotStage>Fresh,Rotting</RotStage>
</conditions>
<offsets>
<west>
<layerOffset>-0.274</layerOffset>
</west>
<south>
<layerOffset>-0.274</layerOffset>
</south>
<north>
<layerOffset>-0.274</layerOffset>
</north>
<east>
<layerOffset>-0.274</layerOffset>
</east>
</offsets>
</li>
<!--<li>
<name>ArachnaeNode Hair BG</name>
<userCustomizable>true</userCustomizable>
<path></path>
<inFrontOfBody>false</inFrontOfBody>
<layerInvert>false</layerInvert>
<colorChannel>hair</colorChannel>
<defaultOffset>Center</defaultOffset>
<drawSize>1</drawSize>
<alignWithHead>true</alignWithHead>
<scaleWithPawnDrawsize>true</scaleWithPawnDrawsize>
<linkVariantIndexWithPrevious>true</linkVariantIndexWithPrevious>
<useSkipFlags>
<li></li>
</useSkipFlags>
<conditions>
<BodyPart>
<bodyPart>Head</bodyPart>
</BodyPart>
<Posture>
<drawnStanding>true</drawnStanding>
<drawnInBed>false</drawnInBed>
<drawnLaying>true</drawnLaying>
</Posture>
<RotStage>Fresh,Rotting</RotStage>
</conditions>
<offsets>
<west>
<layerOffset>-0.275</layerOffset>
</west>
<south>
<layerOffset>-0.299</layerOffset>
</south>
<north>
<layerOffset>-0.275</layerOffset>
</north>
<east>
<layerOffset>-0.275</layerOffset>
</east>
</offsets>
</li>-->
<li> <li>
<path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_Base</path> <path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_Base</path>
<inFrontOfBody>true</inFrontOfBody>
<offsets> <offsets>
<south> <south>
<offset>(0,0.32)</offset> <offset>(0,0.32)</offset>
<layerOffset>-0.273</layerOffset>
</south> </south>
<north> <north>
<offset>(0,0.32)</offset> <offset>(0,0.32)</offset>
<layerOffset>-0.275</layerOffset>
</north> </north>
<east> <east>
<offset>(-0.1,0.39)</offset> <offset>(-0.1,0.39)</offset>
<layerOffset>-0.273</layerOffset>
</east> </east>
<west> <west>
<offset>(-0.1,0.39)</offset> <offset>(-0.1,0.39)</offset>
<layerOffset>-0.273</layerOffset>
</west> </west>
</offsets> </offsets>
<inFrontOfBody>true</inFrontOfBody> <conditions>
<!-- <conditions>
<BodyPart> <BodyPart>
<bodyPart>WULA_Addons_Antenna_Bodypart</bodyPart> <bodyPart>Head</bodyPart>
<drawWithoutPart>false</drawWithoutPart>
</BodyPart> </BodyPart>
</conditions> --> </conditions>
</li> </li>
</bodyAddons> </bodyAddons>
<!-- 图像放大 --> <!-- 图像放大 -->
@@ -486,8 +572,8 @@
<!-- 基础血量,很高 --> <!-- 基础血量,很高 -->
<baseHealthScale>1.5</baseHealthScale> <baseHealthScale>1.5</baseHealthScale>
<!-- 解剖产物 --> <!-- 解剖产物 -->
<leatherDef>ARA_Carapace</leatherDef> <leatherDef>ARA_Carapace</leatherDef>
<specificMeatDef>Meat_Megaspider</specificMeatDef> <specificMeatDef>Meat_Megaspider</specificMeatDef>
<!-- 身体类型 --> <!-- 身体类型 -->
<body>Human</body> <body>Human</body>
<!-- 年龄阶段,较短 --> <!-- 年龄阶段,较短 -->
@@ -602,11 +688,8 @@
<li> <li>
<path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Myrmecocystus_Addons_Stomach</path> <path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Myrmecocystus_Addons_Stomach</path>
<inFrontOfBody>false</inFrontOfBody> <inFrontOfBody>false</inFrontOfBody>
<!-- <conditions> <conditions>
<BodyPart> </conditions>
<bodyPart>WULA_Addons_Antenna_Bodypart</bodyPart>
</BodyPart>
</conditions> -->
</li> </li>
</bodyAddons> </bodyAddons>
</alienPartGenerator> </alienPartGenerator>
@@ -625,9 +708,9 @@
</alienRace> </alienRace>
<comps> <comps>
<li Class="ArachnaeSwarm.CompProperties_MilkableArachnae"> <li Class="ArachnaeSwarm.CompProperties_MilkableArachnae">
<milkDef>ARA_InsectJelly</milkDef> <milkDef>ARA_InsectJelly</milkDef>
<milkIntervalDays>3</milkIntervalDays> <milkIntervalDays>3</milkIntervalDays>
<milkAmount>4</milkAmount> <milkAmount>4</milkAmount>
</li> </li>
<li Class="ArachnaeSwarm.CompProperties_AutoMechCarrier"> <li Class="ArachnaeSwarm.CompProperties_AutoMechCarrier">
<freeProduction>true</freeProduction> <freeProduction>true</freeProduction>
@@ -724,21 +807,22 @@
</li> </li>
<li> <li>
<path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_ShieldBody</path> <path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_ShieldBody</path>
<inFrontOfBody>true</inFrontOfBody>
<offsets> <offsets>
<south> <south>
<!-- <layerOffset>0.25</layerOffset> --> <layerOffset>-0.275</layerOffset>
</south> </south>
<north> <north>
<layerOffset>-0.6</layerOffset> <layerOffset>-0.275</layerOffset>
</north> </north>
<east> <east>
<!-- same structure repeated --> <layerOffset>-0.275</layerOffset>
</east> </east>
<west> <west>
<!-- optional, mirrors east if omitted --> <layerOffset>-0.275</layerOffset>
</west> </west>
</offsets> </offsets>
<inFrontOfBody>true</inFrontOfBody>
<layerInvert>false</layerInvert>
</li> </li>
</bodyAddons> </bodyAddons>
</alienPartGenerator> </alienPartGenerator>
@@ -749,9 +833,9 @@
</alienRace> </alienRace>
<comps> <comps>
<li Class="ArachnaeSwarm.CompProperties_MilkableArachnae"> <li Class="ArachnaeSwarm.CompProperties_MilkableArachnae">
<milkDef>ARA_Carapace</milkDef> <milkDef>ARA_Carapace</milkDef>
<milkIntervalDays>3</milkIntervalDays> <milkIntervalDays>3</milkIntervalDays>
<milkAmount>25</milkAmount> <milkAmount>25</milkAmount>
</li> </li>
<li Class="ArachnaeSwarm.CompProperties_AutoMechCarrier"> <li Class="ArachnaeSwarm.CompProperties_AutoMechCarrier">
<freeProduction>true</freeProduction> <freeProduction>true</freeProduction>
@@ -830,6 +914,11 @@
<li> <li>
<path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_WeaponSmith</path> <path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_WeaponSmith</path>
<inFrontOfBody>false</inFrontOfBody> <inFrontOfBody>false</inFrontOfBody>
<offsets>
<north>
<layerOffset>-0.275</layerOffset>
</north>
</offsets>
</li> </li>
</bodyAddons> </bodyAddons>
</alienPartGenerator> </alienPartGenerator>
@@ -983,6 +1072,11 @@
<li> <li>
<path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_Fighter_Tail</path> <path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_Fighter_Tail</path>
<inFrontOfBody>false</inFrontOfBody> <inFrontOfBody>false</inFrontOfBody>
<offsets>
<north>
<layerOffset>-0.275</layerOffset>
</north>
</offsets>
</li> </li>
</bodyAddons> </bodyAddons>
</alienPartGenerator> </alienPartGenerator>

View File

@@ -136,7 +136,7 @@
void RecursiveAttributeCheck(Type type, Traverse instance, string debug) void RecursiveAttributeCheck(Type type, Traverse instance, string debug)
{ {
if (type == typeof(ThingDef_AlienRace)) if (type == typeof(ThingDef_AlienRace))
return; return;
try try
{ {
debug += "."; debug += ".";