[REDACTED 8811]

I wonder how to change a cliloc into a name, not using the cliloc at all :)
See below, Example 1 using the cliloc, as Example 2 does not.

Example 1:
     public static BaseDyeInfo[] Table => m_Table;
        private static readonly BaseDyeInfo[] m_Table =
        {
   new BaseDyeInfo( BaseDyeType.Emerald, 1173, 1023856 ),


Into

Example 2:
     public static BaseDyeInfo[] Table => m_Table;
        private static readonly BaseDyeInfo[] m_Table =
        {
   new BaseDyeInfo( BaseDyeType.Emerald, 1173, "Emerald" ),
 
Add “Name = “emerald”; directly into cs file. You can also change the base scripts int to string. But lots of works will follow you.
 
what is BaseDyeInfo? it looks like it's not a part of official repository code
Ive made a new BaseScript using parts from BaseTukunoPigment

@danielsheep

So, this is a cutout,there is 12 similar lines in the script. So, sure I could make one .cs per new pigment. Im just trying not to do that, and keep it all in one .cs
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back