Adds compatability for PrismaticTools (#16)
* Add PrismaticTool's sprinkler compatability * Update ShowItemEffectRanges.cs
This commit is contained in:
parent
973d77dd1c
commit
198a99d7da
|
@ -55,6 +55,21 @@ namespace UIInfoSuite
|
|||
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[][] 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[][]
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue