Compare commits
3 Commits
dc50482caa
...
d8f4441494
Author | SHA1 | Date |
---|---|---|
Salacian | d8f4441494 | |
Tory | 3fb106e8f3 | |
Salacian | 447c4d61b6 |
|
@ -15,6 +15,15 @@
|
|||
</value>
|
||||
</match>
|
||||
</li>
|
||||
<li Class="PatchOperationConditional">
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace[defName = "Alien_Nyaron"]/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPartLabel="tail"]</xpath>
|
||||
<match Class="PatchOperationAdd">
|
||||
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName = "Alien_Nyaron"]/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPartLabel="tail"]</xpath>
|
||||
<value>
|
||||
<drawnInBed>false</drawnInBed>
|
||||
</value>
|
||||
</match>
|
||||
</li>
|
||||
</operations>
|
||||
</match>
|
||||
</Operation>
|
||||
|
|
|
@ -13,6 +13,7 @@ namespace Rimworld_Animations {
|
|||
public List<Actor> actors;
|
||||
public int animationTimeTicks = 0; //do not set manually
|
||||
public bool sounds = false;
|
||||
public bool randomlySelectable = true;
|
||||
public List<rjw.xxx.rjwSextype> sexTypes = null;
|
||||
public List<String> interactionDefTypes = null;
|
||||
public List<string> tags = new List<string>();
|
||||
|
|
|
@ -34,7 +34,12 @@ namespace Rimworld_Animations {
|
|||
List<Pawn> localParticipants = new List<Pawn>(participants);
|
||||
|
||||
IEnumerable<AnimationDef> options = DefDatabase<AnimationDef>.AllDefs.Where((AnimationDef x) => {
|
||||
|
||||
if (!x.randomlySelectable)
|
||||
{
|
||||
if (AnimationSettings.debugMode)
|
||||
Log.Message(x.defName.ToStringSafe() + " not selected -- isn't randomly selectable");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (x.actors.Count != localParticipants.Count) {
|
||||
if (AnimationSettings.debugMode)
|
||||
|
|
Loading…
Reference in New Issue