mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
Added check by bodydef in actors
This commit is contained in:
parent
993f730191
commit
feb7e8a557
5 changed files with 8 additions and 2 deletions
Binary file not shown.
|
@ -36,6 +36,10 @@
|
||||||
<li>AEXP_CatMaineCoon</li>
|
<li>AEXP_CatMaineCoon</li>
|
||||||
<li>AEXP_CatSphynx</li>
|
<li>AEXP_CatSphynx</li>
|
||||||
</defNames>
|
</defNames>
|
||||||
|
<bodyDefTypes>
|
||||||
|
<li>QuadrupedAnimalWithHooves</li>
|
||||||
|
<li>QuadrupedAnimalWithPawsAndTail</li>
|
||||||
|
</bodyDefTypes>
|
||||||
<isFucking>true</isFucking>
|
<isFucking>true</isFucking>
|
||||||
<initiator>true</initiator>
|
<initiator>true</initiator>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="RJW">
|
<Reference Include="RJW">
|
||||||
<HintPath>..\rjw-master\1.1\Assemblies\RJW.dll</HintPath>
|
<HintPath>..\RJW\1.1\Assemblies\RJW.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
|
|
@ -17,6 +17,7 @@ namespace Rimworld_Animations {
|
||||||
public bool isFucking = false;
|
public bool isFucking = false;
|
||||||
public bool isFucked = false;
|
public bool isFucked = false;
|
||||||
public bool controlGenitalAngle = false;
|
public bool controlGenitalAngle = false;
|
||||||
|
public List<BodyDef> bodyDefTypes = new List<BodyDef>();
|
||||||
public BodyTypeOffset bodyTypeOffset = new BodyTypeOffset();
|
public BodyTypeOffset bodyTypeOffset = new BodyTypeOffset();
|
||||||
public Vector3 offset = new Vector2(0, 0);
|
public Vector3 offset = new Vector2(0, 0);
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,8 @@ namespace Rimworld_Animations {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
}
|
||||||
|
else if (!x.actors[i].bodyDefTypes.Contains(localParticipants[i].RaceProps.body)) {
|
||||||
|
|
||||||
if (!x.actors[i].defNames.Contains(localParticipants[i].def.defName)) {
|
if (!x.actors[i].defNames.Contains(localParticipants[i].def.defName)) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue