"重构基沃托斯学生种族定义:调整父类引用、修正图形路径偏移、优化身体部件条件配置,并同步更新背景故事槽位与服装资源路径"

This commit is contained in:
ProjectKoi-Kalo\Kalo 2025-06-04 17:13:20 +08:00
parent 7b96ad8c9e
commit 0fde5bfaeb
14 changed files with 43 additions and 30 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<AlienRace.ThingDef_AlienRace ParentName="StudentThingBase">
<AlienRace.ThingDef_AlienRace ParentName="BANW_StudentThingBase">
<defName>BANW_KivotosStudent</defName>
<label>阿拜多斯学生</label>
<description>[PlaceHolder]</description>
@ -9,9 +9,6 @@
<graphicPaths>
<body>
<path>Pawns/General/Invisible/Inv</path>
<extendedGraphics>
<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Body/Hikali_Body</Backstory>
</extendedGraphics>
</body>
<head>Pawns/General/Invisible_Head/</head>
<skinColor>(0,0,0,1)</skinColor>
@ -41,15 +38,15 @@
<offsets>
<north>
<layerOffset>0.3</layerOffset>
<offset>(0,0.6)</offset>
<offset>(0,0.3)</offset>
</north>
<south>
<layerOffset>-0.29</layerOffset>
<offset>(0,0.6)</offset>
<offset>(0,0.3)</offset>
</south>
<east>
<layerOffset>-0.29</layerOffset>
<offset>(0,0.6)</offset>
<offset>(0,0.3)</offset>
</east>
</offsets>
<extendedGraphics>
@ -87,6 +84,27 @@
<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Head/Hikali_Head</Backstory>
</extendedGraphics>
</li>
<!-- 身体 -->
<li>
<name>KivotosStudent_Body</name>
<path>Pawns/General/Invisible/Inv</path>
<inFrontOfBody>true</inFrontOfBody>
<conditions>
<BodyPart>
<bodyPart>Torso</bodyPart>
</BodyPart>
<Apparel>
<hiddenUnderApparelTag>
<li>BANW_Body</li>
</hiddenUnderApparelTag>
</Apparel>
<RotStage>Fresh,Rotting,Dessicated</RotStage>
</conditions>
<scaleWithPawnDrawsize>true</scaleWithPawnDrawsize>
<extendedGraphics>
<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Body/Hikali_Body</Backstory>
</extendedGraphics>
</li>
<!-- 头发前 -->
<li>
<name>KivotosStudent_hairfront</name>
@ -154,7 +172,7 @@
</alienRace>
</AlienRace.ThingDef_AlienRace>
<AlienRace.ThingDef_AlienRace ParentName="BasePawn" Name="StudentThingBase" Abstract="True">
<AlienRace.ThingDef_AlienRace ParentName="BasePawn" Name="BANW_StudentThingBase" Abstract="True">
<alienRace>
<generalSettings>
<maleGenderProbability>0.0</maleGenderProbability>
@ -190,10 +208,10 @@
<reproduction>
<femaleFertilityAgeFactor>
<points>
<li>(0.01, 0)</li>
<li>(80,0)</li>
<li>(0.01, 0)</li>
<li>(80,0)</li>
</points>
</femaleFertilityAgeFactor>
</femaleFertilityAgeFactor>
</reproduction>
</generalSettings>
@ -218,9 +236,14 @@
</li>
</styleSettings>
<raceRestriction>
<onlyUseRaceRestrictedApparel>false</onlyUseRaceRestrictedApparel>
<onlyUseRaceRestrictedWeapons>false</onlyUseRaceRestrictedWeapons>
<onlyBuildRaceRestrictedBuildings>false</onlyBuildRaceRestrictedBuildings>
<onlyEatRaceRestrictedFood>false</onlyEatRaceRestrictedFood>
<onlyHaveRaceRestrictedGenes>true</onlyHaveRaceRestrictedGenes>
<whiteGeneTags>
</whiteGeneTags>
</raceRestriction>
</alienRace>
<tools>

View File

@ -1,18 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<AlienRace.AlienBackstoryDef>
<defName>BANW_StudentChild</defName>
<title>基沃托斯学生</title>
<titleShort>学生</titleShort>
<baseDesc>[PAWN_nameDef]出生于基沃托斯。\n\n现在她准备好战斗了.</baseDesc>
<bodyTypeGlobal>Thin</bodyTypeGlobal>
<slot>Childhood</slot>
<spawnCategories>
<li>BANW_Backstory</li>
</spawnCategories>
</AlienRace.AlienBackstoryDef>
<AlienRace.AlienBackstoryDef>
<defName>BANW_StudentAdult</defName>
<title>基沃托斯学生</title>
@ -31,9 +19,8 @@
<titleShort>学生</titleShort>
<baseDesc>[PAWN_nameDef]15岁事学生.</baseDesc>
<bodyTypeGlobal>Thin</bodyTypeGlobal>
<slot>Adulthood</slot>
<slot>Childhood</slot>
<spawnCategories>
<li>BANW_Backstory</li>
<li>BANW_BackstoryHikali</li>
</spawnCategories>
</AlienRace.AlienBackstoryDef>

View File

@ -50,7 +50,6 @@
<nick>Hikali</nick>
<last>Tachibana</last>
</name>-->
<forcedHeadType>Female_AverageNormal</forcedHeadType>
<skills>
<li>
<skill>Shooting</skill>

View File

@ -6,7 +6,7 @@
<label>橘光的衣服</label>
<description>橘光的衣服</description>
<graphicData><!--需要一个衣服的通用物品贴图-->
<texPath>Things/General/Apparel_Generic</texPath>
<texPath>Pawns/General/Apparel_Generic</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<apparel>
@ -17,6 +17,10 @@
<layers>
<li>Middle</li>
</layers>
<tags>
<li>BANW_Body_Hikali</li>
<li>BANW_Body</li>
</tags>
</apparel>
</ThingDef>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB