changes
This commit is contained in:
commit
0df65f4e40
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Manifest>
|
||||
<identifier>Rimworld-Animations</identifier>
|
||||
<version>1.1.4</version>
|
||||
</Manifest>
|
||||
<version>1.1.5</version>
|
||||
</Manifest>
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -20,6 +20,7 @@ namespace Rimworld_Animations {
|
|||
public List<BodyDef> bodyDefTypes = new List<BodyDef>();
|
||||
public BodyTypeOffset bodyTypeOffset = new BodyTypeOffset();
|
||||
public Vector3 offset = new Vector2(0, 0);
|
||||
public List<string> requiredGender;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,7 +39,22 @@ namespace Rimworld_Animations {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (x.actors[i].requiredGender != null && !x.actors[i].requiredGender.Contains(localParticipants[i].gender.ToStringSafe<Gender>()))
|
||||
{
|
||||
if (AnimationSettings.debugMode)
|
||||
{
|
||||
Log.Message(string.Concat(new string[]
|
||||
{
|
||||
x.defName.ToStringSafe<string>(),
|
||||
" not selected -- ",
|
||||
localParticipants[i].def.defName.ToStringSafe<string>(),
|
||||
" ",
|
||||
localParticipants[i].Name.ToStringSafe<Name>(),
|
||||
" does not match required gender"
|
||||
}), false);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if ((x.actors[i].blacklistedRaces != null) && x.actors[i].blacklistedRaces.Contains(localParticipants[i].def.defName)) {
|
||||
if(AnimationSettings.debugMode)
|
||||
Log.Message(x.defName.ToStringSafe() + " not selected -- " + localParticipants[i].def.defName.ToStringSafe() + " " + localParticipants[i].Name.ToStringSafe() + " is blacklisted");
|
||||
|
|
Loading…
Reference in New Issue