Auric Toilet now rejects you, torches to GFB DoG

This commit is contained in:
sunny-raindrops committed 2026-05-13 12:08:39 -07:00
1 parent f29e0b23ec
commit f94ba641e0
3 files changed
+16 -2

No files matched your search

+10
View File
@@ -975,6 +975,16 @@ namespace CalamityMod.CalPlayer
SoundEngine.PlaySound(new SoundStyle("CalamityMod/Sounds/Custom/ExoMechs/TeslaShoot1"), Player.Center);
}
}
if (Player.sitting.TryGetSittingBlock(Player, out Tile AuricToiletTile))
{
Player.Hurt(PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.AuricRejection").ToNetworkText(Player.name)), auricRejectionDamage, 0);
Player.AddBuff(ModContent.BuffType<AuricRebuke>(), 120);
SoundEngine.PlaySound(new SoundStyle("CalamityMod/Sounds/Custom/ExoMechs/TeslaShoot1"), Player.Center);
Player.sitting.SitUp(Player, false);
Vector2 yeetVec = new Vector2(Player.direction, -1.5f);
Player.velocity += yeetVec * auricRejectionKB;
}
}
private void HandleBlazingMouseEffects()
{
@@ -2678,6 +2678,9 @@ namespace CalamityMod.NPCs.DevourerofGods
GFBOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<NavyPrismTorch>(), dropRate, dropMin, dropMax), true);
GFBOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<RefractivePrismTorch>(), dropRate, dropMin, dropMax), true);
GFBOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<SulphurousTorch>(), dropRate, dropMin, dropMax), true);
GFBOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<ThermalTorch>(), dropRate, dropMin, dropMax), true);
GFBOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<CausticTorch>(), dropRate, dropMin, dropMax), true);
GFBOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<KelpTorch>(), dropRate, dropMin, dropMax), true);
}
// Trophy (always directly from boss, never in bag)
+3 -2
View File
@@ -1,4 +1,5 @@
using CalamityMod.Items.Placeables.FurnitureExo;
using CalamityMod.Items.Placeables.FurnitureAuric;
using CalamityMod.Items.Placeables.FurnitureExo;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
@@ -50,7 +51,7 @@ namespace CalamityMod.Tiles.FurnitureAuric
public override bool RightClick(int i, int j) => FurnitureCommon.ChairRightClick(i, j);
public override void MouseOver(int i, int j) => FurnitureCommon.ChairMouseOver(i, j, ModContent.ItemType<ExoToilet>(), true);
public override void MouseOver(int i, int j) => FurnitureCommon.ChairMouseOver(i, j, ModContent.ItemType<AuricToilet>(), true);
public override bool HasSmartInteract(int i, int j, SmartInteractScanSettings settings)
{