89050 {
89052 {
89056 {
89059 {
89061 }
89063 {
89065 }
89066 num /= 30;
89067 if (Main.rand.Next(300) < num)
89068 {
89069 int num2 = Dust.NewDust(
position,
width,
height, 43, 0f, 0f, 254,
new Color(255, 255, 0), 0.5f);
89070 Main.dust[
num2].velocity *= 0f;
89071 }
89072 }
89074 }
89076 {
89077 float num3 = (float)Main.rand.Next(28, 42) * 0.005f;
89078 num3 += (float)(270 - Main.mouseTextColor) / 500f;
89083 {
89087 }
89088 float num8 = 0.35f;
89092 Lighting.AddLight((
int)base.Center.X / 16, (int)
base.Center.Y / 16,
num4,
num5,
num6);
89093 }
89095 {
89096 float num9 = (float)Main.rand.Next(28, 42) * 0.005f;
89097 num9 += (float)(270 - Main.mouseTextColor) / 500f;
89098 float num10 = 0.1f;
89101 float num13 = 0.35f;
89103 {
89105 }
89109 Lighting.AddLight((
int)base.Center.X / 16, (int)
base.Center.Y / 16,
num10,
num11,
num12);
89110 }
89112 {
89113 float num14 = (float)Main.rand.Next(28, 42) * 0.005f;
89114 num14 += (float)(270 - Main.mouseTextColor) / 500f;
89115 float num15 = 0.1f;
89118 float num18 = 0.35f;
89122 Lighting.AddLight((
int)base.Center.X / 16, (int)
base.Center.Y / 16,
num15,
num16,
num17);
89124 {
89125 Lighting.AddLight(
base.Top, 0.3f, 0.1f, 0.1f);
89126 }
89127 }
89129 {
89130 Lighting.AddLight((
int)(position.X + (float)(
width / 2)) / 16, (
int)(position.Y + 4f) / 16, 0.9f, 0.75f, 0.5f);
89131 }
89132 }
int townNpcVariationIndex