Skip to content

Commit

Permalink
Fix Asari Rendering Problem
Browse files Browse the repository at this point in the history
  • Loading branch information
masakitenchi committed Jul 6, 2024
1 parent a10396e commit 825fca5
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 14 deletions.
61 changes: 48 additions & 13 deletions Mods/AsariRace/Defs/LifeStageDefs/LifeStages_Asari.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<Defs>

<LifeStageDef Name="AsariLifeStageBase" Abstract="True">
Expand Down Expand Up @@ -38,12 +38,17 @@
<canSleepWhenStarving>false</canSleepWhenStarving>
<canInitiateSocialInteraction>false</canInitiateSocialInteraction>
<customMoodTipString>Mood represents how happy or stressed someone is. Babies with low mood are more likely to cry, while babies with a high mood are more likely to giggle.</customMoodTipString>
<silhouetteGraphicData>
<texPath>Things/Pawn/Humanlike/Silhouettes/Silhouette_HumanBaby</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1</drawSize>
</silhouetteGraphicData>
<statFactors>
<MoveSpeed>0.2</MoveSpeed>
</statFactors>
<statOffsets>
<ComfyTemperatureMin>-46</ComfyTemperatureMin><!--should map to -30C-->
<ComfyTemperatureMax>4</ComfyTemperatureMax><!--should map to 30C-->
<ComfyTemperatureMin>-46</ComfyTemperatureMin> <!--should map to -30C-->
<ComfyTemperatureMax>4</ComfyTemperatureMax> <!--should map to 30C-->
</statOffsets>
<involuntarySleepMTBDaysFromRest>
<points>
Expand Down Expand Up @@ -75,11 +80,16 @@
<developmentalStage>Child</developmentalStage>
<equipmentDrawDistanceFactor>0.55</equipmentDrawDistanceFactor>
<sittingOffset>0.3</sittingOffset>
<silhouetteGraphicData>
<texPath>Things/Pawn/Humanlike/Silhouettes/Silhouette_HumanChild</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1</drawSize>
</silhouetteGraphicData>
<statFactors>
<MoveSpeed>0.75</MoveSpeed>
</statFactors>
</LifeStageDef>

<LifeStageDef ParentName="AsariLifeStageBase">
<defName>AsariTeenager</defName>
<label>teenager</label>
Expand All @@ -92,6 +102,11 @@
<meleeDamageFactor>0.75</meleeDamageFactor>
<equipmentDrawDistanceFactor>0.65</equipmentDrawDistanceFactor>
<sittingOffset>0.23</sittingOffset>
<silhouetteGraphicData>
<texPath>Things/Pawn/Humanlike/Silhouettes/Silhouette_HumanChild</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1</drawSize>
</silhouetteGraphicData>
<statFactors>
<MoveSpeed>0.95</MoveSpeed>
</statFactors>
Expand All @@ -100,44 +115,64 @@
<LifeStageDef ParentName="AsariLifeStageBase">
<defName>AsariAdult</defName>
<label>adult stage</label>
<adjective>maiden</adjective>
<adjective>maiden</adjective>
<workerClass MayRequire="Ludeon.RimWorld.Biotech">LifeStageWorker_HumanlikeAdult</workerClass>
<visible>false</visible>
<reproductive>true</reproductive>
<sittingOffset>0.18</sittingOffset>
<silhouetteGraphicData>
<texPath>Things/Pawn/Humanlike/Silhouettes/Silhouette_HumanAdult</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1</drawSize>
</silhouetteGraphicData>
</LifeStageDef>

<LifeStageDef ParentName="AsariLifeStageBase">
<defName>AsariAdultMaiden</defName>
<label>maiden stage</label>
<adjective>maiden</adjective>
<adjective>maiden</adjective>
<workerClass MayRequire="Ludeon.RimWorld.Biotech">LifeStageWorker_HumanlikeAdult</workerClass>
<visible>false</visible>
<reproductive>true</reproductive>
<sittingOffset>0.18</sittingOffset>
<silhouetteGraphicData>
<texPath>Things/Pawn/Humanlike/Silhouettes/Silhouette_HumanAdult</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1</drawSize>
</silhouetteGraphicData>
</LifeStageDef>

<LifeStageDef ParentName="AsariLifeStageBase">
<defName>AsariMatron</defName>
<label>matron stage</label>
<adjective>matron</adjective>
<adjective>matron</adjective>
<workerClass MayRequire="Ludeon.RimWorld.Biotech">LifeStageWorker_HumanlikeAdult</workerClass>
<visible>false</visible>
<reproductive>true</reproductive>
<sittingOffset>0.18</sittingOffset>
<silhouetteGraphicData>
<texPath>Things/Pawn/Humanlike/Silhouettes/Silhouette_HumanAdult</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1</drawSize>
</silhouetteGraphicData>
</LifeStageDef>

<LifeStageDef ParentName="AsariLifeStageBase">
<defName>AsariMatriarch</defName>
<label>matriarch stage</label>
<adjective>matriarch</adjective>
<adjective>matriarch</adjective>
<workerClass MayRequire="Ludeon.RimWorld.Biotech">LifeStageWorker_HumanlikeAdult</workerClass>
<visible>false</visible>
<reproductive>true</reproductive>
<sittingOffset>0.18</sittingOffset>
<statFactors>
<ImmunityGainSpeed>0.92</ImmunityGainSpeed>
</statFactors>
<silhouetteGraphicData>
<texPath>Things/Pawn/Humanlike/Silhouettes/Silhouette_HumanAdult</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1</drawSize>
</silhouetteGraphicData>
<statFactors>
<ImmunityGainSpeed>0.92</ImmunityGainSpeed>
</statFactors>
</LifeStageDef>

</Defs>
1 change: 0 additions & 1 deletion Mods/Core_SK/Defs/ThingDefs_Races/Races_Humanlike.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<bloodSmearDef>Filth_BloodSmear</bloodSmearDef>
<nameCategory>HumanStandard</nameCategory>
<meatMarketValue>0.8</meatMarketValue>

<body>Human</body>
<renderTree>Humanlike</renderTree>
<baseBodySize>1.0</baseBodySize>
Expand Down

0 comments on commit 825fca5

Please sign in to comment.