waffles% considerations
This commit is contained in:
1 parent
519bb21655
commit
0d1c8c35c3
2 files changed
+10
-7
No files matched your search
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public int spawnYAdd = 0;
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 10; // Pirate Map
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 10; // Pirate Map
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -40,10 +40,10 @@ namespace CalamityMod.Items.SummonItems
|
||||
Item.consumable = false;
|
||||
}
|
||||
|
||||
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
|
||||
{
|
||||
itemGroup = ContentSamples.CreativeHelper.ItemGroup.BossItem;
|
||||
}
|
||||
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
|
||||
{
|
||||
itemGroup = ContentSamples.CreativeHelper.ItemGroup.BossItem;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
{
|
||||
@@ -105,7 +105,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.HellstoneBar, 10).
|
||||
AddIngredient<EssenceofHavoc>(7).
|
||||
// waffles% stipulation: you can only get 5 essences of havoc from the music box, not 7, and cal clone must be accessible
|
||||
AddIngredient<EssenceofHavoc>(5).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -314,7 +314,9 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
public override float SpawnChance(NPCSpawnInfo spawnInfo)
|
||||
{
|
||||
if (!Main.hardMode || NPC.AnyNPCs(ModContent.NPCType<Eidolist>()))
|
||||
// waffles% stipulation: eidolists are accessible by beating cal clone, even without beating WoF
|
||||
bool hardmodeOrCalClone = Main.hardMode || DownedBossSystem.downedCalamitasClone;
|
||||
if (!hardmodeOrCalClone || NPC.AnyNPCs(ModContent.NPCType<Eidolist>()))
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user