Adds compatability for PrismaticTools (#16)

* Add PrismaticTool's sprinkler compatability

* Update ShowItemEffectRanges.cs
This commit is contained in:
Midnight-Steam 2019-01-06 21:59:58 -06:00 committed by cdaragorn
parent 973d77dd1c
commit 198a99d7da
2 changed files with 23 additions and 0 deletions

View File

@ -56,6 +56,21 @@ namespace UIInfoSuite
new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
};
public int[][] PrismaticSprinkler { get; set; } = new int[][]
{
new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
new int[] { 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0 },
new int[] { 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0 },
new int[] { 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0 },
new int[] { 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0 },
new int[] { 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0 },
new int[] { 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0 },
new int[] { 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0 },
new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
};
public int[][] Beehouse { get; set; } = new int[][]
{
new int[] { 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 },

View File

@ -126,6 +126,10 @@ namespace UIInfoSuite.UIElements
{
arrayToUse = _modConfig.QualitySprinkler;
}
else if (name.Contains("prismatic"))
{
arrayToUse = _modConfig.PrismaticSprinkler;
}
else
{
arrayToUse = _modConfig.Sprinkler;
@ -149,6 +153,10 @@ namespace UIInfoSuite.UIElements
{
arrayToUse = _modConfig.QualitySprinkler;
}
else if (name.Contains("prismatic"))
{
arrayToUse = _modConfig.PrismaticSprinkler;
}
else
{
arrayToUse = _modConfig.Sprinkler;