Add rounded & glass cube support
This commit is contained in:
parent
e6f0816c5f
commit
b7cbf4486f
1 changed files with 50 additions and 5 deletions
|
@ -345,16 +345,61 @@ namespace Pixi.Robots
|
||||||
}
|
}
|
||||||
else if (cubeName.Contains("prism") || cubeName.Contains("edge"))
|
else if (cubeName.Contains("prism") || cubeName.Contains("edge"))
|
||||||
{
|
{
|
||||||
|
if (cubeName.Contains("round"))
|
||||||
|
{
|
||||||
|
if (cubeName.Contains("glass") || cubeName.Contains("windshield"))
|
||||||
|
{
|
||||||
|
result.block = BlockIDs.GlassRoundedSlope;
|
||||||
|
} else
|
||||||
|
result.block = BlockIDs.AluminiumRoundedSlope;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (cubeName.Contains("glass") || cubeName.Contains("windshield"))
|
||||||
|
{
|
||||||
|
result.block = BlockIDs.GlassSlope;
|
||||||
|
} else
|
||||||
result.block = BlockIDs.AluminiumSlope;
|
result.block = BlockIDs.AluminiumSlope;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (cubeName.Contains("inner"))
|
else if (cubeName.Contains("inner"))
|
||||||
{
|
{
|
||||||
|
if (cubeName.Contains("round"))
|
||||||
|
{
|
||||||
|
if (cubeName.Contains("glass") || cubeName.Contains("windshield"))
|
||||||
|
{
|
||||||
|
result.block = BlockIDs.GlassRoundedSlicedCube;
|
||||||
|
} else
|
||||||
|
result.block = BlockIDs.AluminiumRoundedSlicedCube;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (cubeName.Contains("glass") || cubeName.Contains("windshield"))
|
||||||
|
{
|
||||||
|
result.block = BlockIDs.GlassSlicedCube;
|
||||||
|
} else
|
||||||
result.block = BlockIDs.AluminiumSlicedCube;
|
result.block = BlockIDs.AluminiumSlicedCube;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (cubeName.Contains("tetra") || cubeName.Contains("corner"))
|
else if (cubeName.Contains("tetra") || cubeName.Contains("corner"))
|
||||||
{
|
{
|
||||||
|
if (cubeName.Contains("round"))
|
||||||
|
{
|
||||||
|
if (cubeName.Contains("glass") || cubeName.Contains("windshield"))
|
||||||
|
{
|
||||||
|
result.block = BlockIDs.GlassRoundedCorner;
|
||||||
|
} else
|
||||||
|
result.block = BlockIDs.AluminiumRoundedCorner;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (cubeName.Contains("glass") || cubeName.Contains("windshield"))
|
||||||
|
{
|
||||||
|
result.block = BlockIDs.GlassCorner;
|
||||||
|
} else
|
||||||
result.block = BlockIDs.AluminiumCorner;
|
result.block = BlockIDs.AluminiumCorner;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (cubeName.Contains("pyramid"))
|
else if (cubeName.Contains("pyramid"))
|
||||||
{
|
{
|
||||||
result.block = BlockIDs.AluminiumPyramidSegment;
|
result.block = BlockIDs.AluminiumPyramidSegment;
|
||||||
|
|
Loading…
Reference in a new issue