diff --git a/NewHorizons/Builder/Props/QuantumBuilder.cs b/NewHorizons/Builder/Props/QuantumBuilder.cs
index cb2d2d2f..9c38986a 100644
--- a/NewHorizons/Builder/Props/QuantumBuilder.cs
+++ b/NewHorizons/Builder/Props/QuantumBuilder.cs
@@ -28,7 +28,7 @@ namespace NewHorizons.Builder.Props
{
if (quantumGroup.details == null || !quantumGroup.details.Any())
{
- NHLogger.LogError($"Found quantum group with no details - [{planetGO.name}] [{quantumGroup.name}]");
+ NHLogger.LogError($"Found quantum group with no details - [{planetGO.name}] [{quantumGroup.rename}]");
return;
}
@@ -72,7 +72,7 @@ namespace NewHorizons.Builder.Props
lightningController._models = propsInGroup.Select(x => x.go).ToArray();
lightningController.enabled = true;
- lightning.name = "Quantum Lightning - " + quantumGroup.name;
+ lightning.name = quantumGroup.rename;
lightning.SetActive(true);
// Not sure why but it isn't enabling itself
@@ -96,7 +96,7 @@ namespace NewHorizons.Builder.Props
propsInGroup = propsInGroupList.ToArray();
}
- var groupRoot = new GameObject("Quantum Sockets - " + quantumGroup.name);
+ var groupRoot = new GameObject(quantumGroup.rename);
groupRoot.transform.parent = sector?.transform ?? planetGO.transform;
groupRoot.transform.localPosition = Vector3.zero;
groupRoot.transform.localEulerAngles = Vector3.zero;
@@ -179,7 +179,7 @@ namespace NewHorizons.Builder.Props
var propsInGroup = quantumGroup.details.Select(x => DetailBuilder.Make(go, sector, mod, x)).ToArray();
- var groupRoot = new GameObject("Quantum States - " + quantumGroup.name);
+ var groupRoot = new GameObject(quantumGroup.rename);
groupRoot.transform.parent = sector?.transform ?? go.transform;
groupRoot.transform.localPosition = Vector3.zero;
@@ -228,7 +228,7 @@ namespace NewHorizons.Builder.Props
public static void MakeShuffleGroup(GameObject go, Sector sector, BaseQuantumGroupInfo quantumGroup, GameObject[] propsInGroup)
{
//var averagePosition = propsInGroup.Aggregate(Vector3.zero, (avg, prop) => avg + prop.transform.position) / propsInGroup.Count();
- GameObject shuffleParent = new GameObject("Quantum Shuffle - " + quantumGroup.name);
+ GameObject shuffleParent = new GameObject(quantumGroup.rename);
shuffleParent.SetActive(false);
shuffleParent.transform.parent = sector?.transform ?? go.transform;
shuffleParent.transform.localPosition = Vector3.zero;
diff --git a/NewHorizons/External/Configs/PlanetConfig.cs b/NewHorizons/External/Configs/PlanetConfig.cs
index 2ff2ee73..526b489d 100644
--- a/NewHorizons/External/Configs/PlanetConfig.cs
+++ b/NewHorizons/External/Configs/PlanetConfig.cs
@@ -711,7 +711,7 @@ namespace NewHorizons.External.Configs
{
var socketQuantumGroups = Props.quantumGroups.Where(x => x.type == QuantumGroupType.Sockets).Select(x => new SocketQuantumGroupInfo()
{
- name = x.id,
+ rename = "Quantum Shuffle - " + x.id,
sockets = x.sockets,
details = Props.details.Where(y => y.quantumGroupID == x.id).Select(x => new QuantumDetailInfo(x)).ToArray()
});
@@ -721,7 +721,7 @@ namespace NewHorizons.External.Configs
}
var stateQuantumGroups = Props.quantumGroups.Where(x => x.type == QuantumGroupType.States).Select(x => new StateQuantumGroupInfo()
{
- name = x.id,
+ rename = "Quantum State - " + x.id,
hasEmptyState = x.hasEmptyState,
loop = x.loop,
sequential = x.sequential,
diff --git a/NewHorizons/External/Modules/Props/Quantum/BaseQuantumGroupInfo.cs b/NewHorizons/External/Modules/Props/Quantum/BaseQuantumGroupInfo.cs
index 7eac0948..1872b11e 100644
--- a/NewHorizons/External/Modules/Props/Quantum/BaseQuantumGroupInfo.cs
+++ b/NewHorizons/External/Modules/Props/Quantum/BaseQuantumGroupInfo.cs
@@ -5,7 +5,7 @@ public class BaseQuantumGroupInfo
///
/// Optional name to help identify this group
///
- public string name;
+ public string rename;
///
/// List of props which will be used in this quantum group