-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added blood need exception list, so that players and modders can add races that do not need the blood meter in the needs menu.
- Loading branch information
Showing
9 changed files
with
69 additions
and
7 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Defs> | ||
|
||
<!-- New as of 5-7-18 --> | ||
|
||
<Vampire.BloodNeedExceptions> | ||
<defName>ExceptionsList</defName> | ||
<label>Exceptions List for Blood Meter in Needs Menu</label> | ||
<description>Put Thing Classes and Race Defs (ThingDefs) for things that you do not want to have blood meters in this exception list definition.</description> | ||
<thingClasses> | ||
<li>ProjectJedi.PawnGhost</li> <!-- Ghosts should not bleed. --> | ||
</thingClasses> | ||
<raceThingDefs> | ||
<li>Mech_Centipede</li> | ||
<li>Mech_Lancer</li> | ||
<li>Mech_Scyther</li> | ||
<li>Mech_Pikeman</li> | ||
<li>Mech_Termite</li> | ||
<li>Megascarab</li> | ||
<li>Spelopede</li> | ||
<li>Megaspider</li> | ||
</raceThingDefs> | ||
</Vampire.BloodNeedExceptions> | ||
|
||
</Defs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.23.0.2 | ||
1.23.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Verse; | ||
using UnityEngine; | ||
|
||
namespace Vampire | ||
{ | ||
public class BloodNeedExceptions : Def | ||
{ | ||
public List<string> thingClasses = null; | ||
public List<ThingDef> raceThingDefs = null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters