Add boss bags

This commit is contained in:
2025-11-21 14:14:57 +00:00
parent 02177bb173
commit bd2427e102
17 changed files with 269 additions and 9 deletions
+7
View File
@@ -4,6 +4,8 @@ using Terraria.ModLoader;
using Microsoft.Xna.Framework;
using Terraria.Chat;
using Terraria.Localization;
using Terraria.GameContent.ItemDropRules;
using ForgottenWawiTech.Content.Items.TreasureBags;
namespace ForgottenWawiTech.Content.NPCs.OriginalLyyka
{
@@ -178,5 +180,10 @@ namespace ForgottenWawiTech.Content.NPCs.OriginalLyyka
// Immediate sync of world flags
WorldDefeatedBosses.Sync(ModContent.GetInstance<ForgottenWawiTech>());
}
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<LyykaBossBag>()));
}
}
}