Okay, so this only replaces lines 598-765, in the current 1.5.8 version. C# right? I'm a little stupid on the navigation on entering the code sample, lol. I used c#, as it is what I think I remember it switched to a while back from lua?
{
new CuiButton
{
Button = {Command = $"shop.show components {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.81 0.78", AnchorMax = "0.86 0.82"},
Text =
{
Text = $"Components", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Components"
},
{
new CuiButton
{
Button = {Command = $"shop.show misc {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.75 0.78", AnchorMax = "0.80 0.82"},
Text =
{
Text = $"Misc", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Misc"
},
{
new CuiButton
{
Button = {Command = $"shop.show traps {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.69 0.78", AnchorMax = "0.74 0.82"},
Text =
{
Text = $"Traps", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Traps"
},
{
new CuiButton
{
Button = {Command = $"shop.show ammunition {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.63 0.78", AnchorMax = "0.68 0.82"},
Text =
{
Text = $"Ammunition", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Ammunition"
},
{
new CuiButton
{
Button = {Command = $"shop.show food {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.57 0.78", AnchorMax = "0.62 0.82"},
Text =
{
Text = $"Food", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Food"
},
{
new CuiButton
{
Button = {Command = $"shop.show medical {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.51 0.78", AnchorMax = "0.56 0.82"},
Text =
{
Text = $"Medical", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Medical"
},
{
new CuiButton
{
Button = {Command = $"shop.show tools {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.45 0.78", AnchorMax = "0.50 0.82"},
Text =
{
Text = $"Tools", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Tools"
},
{
new CuiButton
{
Button = {Command = $"shop.show attire {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.39 0.78", AnchorMax = "0.44 0.82"},
Text =
{
Text = $"Attire", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Attire"
},
{
new CuiButton
{
Button = {Command = $"shop.show resources {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.33 0.78", AnchorMax = "0.38 0.82"},
Text =
{
Text = $"Resources", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Resources"
},
{
new CuiButton
{
Button = {Command = $"shop.show items {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.27 0.78", AnchorMax = "0.32 0.82"},
Text =
{
Text = $"Items", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Items"
},
{
new CuiButton
{
Button = {Command = $"shop.show construction {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.21 0.78", AnchorMax = "0.26 0.82"},
Text =
{
Text = $"Construction", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Construction"
},
{
new CuiButton
{
Button = {Command = $"shop.show weapons {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.15 0.78", AnchorMax = "0.20 0.82"},
Text =
{
Text = $"Weapons", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Weapons"
},
{
new CuiButton
{
Button = {Command = $"shop.show commands {shoppageminus}", Color = "0.5 0.5 0.5 0.5"},
RectTransform = {AnchorMin = "0.09 0.78", AnchorMax = "0.14 0.82"},
Text =
{
Text = $"Commands", Align = TextAnchor.MiddleCenter, Font = "robotocondensed-regular.ttf",
FontSize = 12
}
},
ShopOverlayName,
"Commands"
}