Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Initialize()

static void Terraria.ID.TorchID.Initialize ( )
inlinestatic

Definition at line 134 of file TorchID.cs.

135 {
136 ITorchLightProvider[] array = new ITorchLightProvider[Count];
137 array[0] = new ConstantTorchLight(1f, 0.95f, 0.8f);
138 array[1] = new ConstantTorchLight(0f, 0.1f, 1.3f);
139 array[2] = new ConstantTorchLight(1f, 0.1f, 0.1f);
140 array[3] = new ConstantTorchLight(0f, 1f, 0.1f);
141 array[4] = new ConstantTorchLight(0.9f, 0f, 0.9f);
142 array[5] = new ConstantTorchLight(1.4f, 1.4f, 1.4f);
143 array[6] = new ConstantTorchLight(0.9f, 0.9f, 0f);
144 array[7] = default(DemonTorchLight);
145 array[8] = new ConstantTorchLight(1f, 1.6f, 0.5f);
146 array[9] = new ConstantTorchLight(0.75f, 0.85f, 1.4f);
147 array[10] = new ConstantTorchLight(1f, 0.5f, 0f);
148 array[11] = new ConstantTorchLight(1.4f, 1.4f, 0.7f);
149 array[12] = new ConstantTorchLight(0.75f, 1.3499999f, 1.5f);
150 array[13] = new ConstantTorchLight(0.95f, 0.75f, 1.3f);
151 array[14] = default(DiscoTorchLight);
152 array[15] = new ConstantTorchLight(1f, 0f, 1f);
153 array[16] = new ConstantTorchLight(1.4f, 0.85f, 0.55f);
154 array[17] = new ConstantTorchLight(0.25f, 1.3f, 0.8f);
155 array[18] = new ConstantTorchLight(0.95f, 0.4f, 1.4f);
156 array[19] = new ConstantTorchLight(1.4f, 0.7f, 0.5f);
157 array[20] = new ConstantTorchLight(1.25f, 0.6f, 1.2f);
158 array[21] = new ConstantTorchLight(0.75f, 1.45f, 0.9f);
159 array[22] = new ConstantTorchLight(0.3f, 0.78f, 1.2f);
160 array[23] = default(ShimmerTorchLight);
161 _lights = array;
162 }
static readonly short Count
Definition TorchID.cs:132
static ITorchLightProvider[] _lights
Definition TorchID.cs:82

References Terraria.ID.TorchID._lights, and Terraria.ID.TorchID.Count.

Referenced by Terraria.Main.Initialize_AlmostEverything().