From 9882f58c0b35010efb45e99c652610f49a85d00a Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Wed, 21 May 2025 23:33:46 -0700 Subject: [PATCH] guppies now always emit light, dust has no light --- NPCs/SunkenSea/PrismaticGuppy.cs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/NPCs/SunkenSea/PrismaticGuppy.cs b/NPCs/SunkenSea/PrismaticGuppy.cs index 3e7708b226..4310a62e1c 100644 --- a/NPCs/SunkenSea/PrismaticGuppy.cs +++ b/NPCs/SunkenSea/PrismaticGuppy.cs @@ -551,9 +551,29 @@ namespace CalamityMod.NPCs.SunkenSea dust.velocity = Vector2.Zero; dust.noGravity = true; dust.color *= 0.5f; + dust.noLight = true; } - if (CurrentColor == (int)FishColor.Gold) + Color c = Color.White; + + switch (CurrentColor) + { + case 0: + c = Color.SkyBlue; + break; + case 1: + c = Color.SeaGreen; + break; + case 2: + c = Color.Pink; + break; + case 4: + c = Color.Cyan; + break; + } + Lighting.AddLight(NPC.Center, c.R / 255f, c.G / 255f, c.B / 255f); + + if (CurrentColor == (int)FishColor.Gold) { NPC.rarity = 3; NPC.value = 100000;