Removed Angling Kits
This commit is contained in:
1 parent
c33ad9951a
commit
e8d7ab3556
10 files changed
-154
No files matched your search
@@ -543,9 +543,6 @@ namespace CalamityMod.ILEditing
|
||||
item = new Item();
|
||||
item.SetDefaults(ItemID.FishCostumeFinskirt);
|
||||
rewardItems.Add(item);
|
||||
item = new Item();
|
||||
item.SetDefaults(ModContent.ItemType<SandyAnglingKit>());
|
||||
rewardItems.Add(item);
|
||||
break;
|
||||
|
||||
case 8:
|
||||
@@ -594,9 +591,6 @@ namespace CalamityMod.ILEditing
|
||||
item = new Item();
|
||||
item.SetDefaults(ItemID.MermaidTail);
|
||||
rewardItems.Add(item);
|
||||
item = new Item();
|
||||
item.SetDefaults(ModContent.ItemType<SandyAnglingKit>());
|
||||
rewardItems.Add(item);
|
||||
break;
|
||||
|
||||
case 14:
|
||||
@@ -704,14 +698,6 @@ namespace CalamityMod.ILEditing
|
||||
|
||||
// RANDOM DROPS
|
||||
|
||||
// Angling Kits
|
||||
if (Main.rand.NextBool((int)(12f * rarityReduction)) && questsDone > 30)
|
||||
{
|
||||
item = new Item();
|
||||
item.SetDefaults(Main.hardMode ? ModContent.ItemType<BleachedAnglingKit>() : ModContent.ItemType<SandyAnglingKit>());
|
||||
rewardItems.Add(item);
|
||||
}
|
||||
|
||||
// Golden Fishing Rod
|
||||
if (Main.rand.NextBool((int)(500f * rarityReduction)) && questsDone > 30)
|
||||
{
|
||||
|
||||
@@ -80,9 +80,6 @@ namespace CalamityMod.Items.TreasureBags
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<AquaticScourgeMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Fishing
|
||||
itemLoot.Add(ModContent.ItemType<BleachedAnglingKit>());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -83,9 +83,6 @@ namespace CalamityMod.Items.TreasureBags
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<DesertScourgeMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Fishing
|
||||
itemLoot.Add(ModContent.ItemType<SandyAnglingKit>());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
using Terraria;
|
||||
using Terraria.GameContent.ItemDropRules;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.TreasureBags.MiscGrabBags
|
||||
{
|
||||
public class BleachedAnglingKit : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.TreasureBags";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 10;
|
||||
ItemID.Sets.ShimmerTransformToItem[Type] = ModContent.ItemType<SandyAnglingKit>();
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 24;
|
||||
Item.height = 24;
|
||||
Item.maxStack = Item.CommonMaxStack;
|
||||
Item.consumable = true;
|
||||
Item.rare = ItemRarityID.Pink;
|
||||
}
|
||||
|
||||
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
|
||||
{
|
||||
itemGroup = ContentSamples.CreativeHelper.ItemGroup.GoodieBags;
|
||||
}
|
||||
|
||||
public override bool CanRightClick() => true;
|
||||
|
||||
public override void ModifyItemLoot(ItemLoot itemLoot)
|
||||
{
|
||||
// Different drop rates on Normal and Expert, so define normal first, then expert
|
||||
var normalOnly = itemLoot.DefineNormalOnlyDropSet();
|
||||
normalOnly.Add(ItemID.FishermansGuide, 18);
|
||||
normalOnly.Add(ItemID.WeatherRadio, 18);
|
||||
normalOnly.Add(ItemID.Sextant, 18);
|
||||
normalOnly.Add(ItemID.FishingPotion, 3, 2, 3);
|
||||
normalOnly.Add(ItemID.SonarPotion, 3, 2, 3);
|
||||
normalOnly.Add(ItemID.CratePotion, 3, 2, 3);
|
||||
normalOnly.Add(ItemID.GoldCoin, 1, 3, 4);
|
||||
|
||||
var expertPlus = itemLoot.DefineConditionalDropSet(new Conditions.IsExpert());
|
||||
expertPlus.Add(ItemID.FishermansGuide, 14);
|
||||
expertPlus.Add(ItemID.WeatherRadio, 14);
|
||||
expertPlus.Add(ItemID.Sextant, 14);
|
||||
expertPlus.Add(ItemID.FishingPotion, 2, 2, 3);
|
||||
expertPlus.Add(ItemID.SonarPotion, 2, 2, 3);
|
||||
expertPlus.Add(ItemID.CratePotion, 2, 2, 3);
|
||||
expertPlus.Add(ItemID.GoldCoin, 1, 4, 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 628 B |
@@ -1,55 +0,0 @@
|
||||
using Terraria;
|
||||
using Terraria.GameContent.ItemDropRules;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.TreasureBags.MiscGrabBags
|
||||
{
|
||||
public class SandyAnglingKit : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.TreasureBags";
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 10;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 24;
|
||||
Item.height = 24;
|
||||
Item.maxStack = Item.CommonMaxStack;
|
||||
Item.consumable = true;
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
}
|
||||
|
||||
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
|
||||
{
|
||||
itemGroup = ContentSamples.CreativeHelper.ItemGroup.GoodieBags;
|
||||
}
|
||||
|
||||
public override bool CanRightClick() => true;
|
||||
|
||||
public override void ModifyItemLoot(ItemLoot itemLoot)
|
||||
{
|
||||
// Different drop rates on Normal and Expert, so define normal first, then expert
|
||||
var normalOnly = itemLoot.DefineNormalOnlyDropSet();
|
||||
normalOnly.Add(ItemID.FishermansGuide, 20);
|
||||
normalOnly.Add(ItemID.WeatherRadio, 20);
|
||||
normalOnly.Add(ItemID.Sextant, 20);
|
||||
normalOnly.Add(ItemID.FishingPotion, 3, 2, 3);
|
||||
normalOnly.Add(ItemID.SonarPotion, 3, 2, 3);
|
||||
normalOnly.Add(ItemID.CratePotion, 3, 2, 3);
|
||||
normalOnly.Add(ItemID.GoldCoin, 1, 1, 2);
|
||||
|
||||
var expertPlus = itemLoot.DefineConditionalDropSet(new Conditions.IsExpert());
|
||||
expertPlus.Add(ItemID.FishermansGuide, 16);
|
||||
expertPlus.Add(ItemID.WeatherRadio, 16);
|
||||
expertPlus.Add(ItemID.Sextant, 16);
|
||||
expertPlus.Add(ItemID.FishingPotion, 2, 2, 3);
|
||||
expertPlus.Add(ItemID.SonarPotion, 2, 2, 3);
|
||||
expertPlus.Add(ItemID.CratePotion, 2, 2, 3);
|
||||
expertPlus.Add(ItemID.GoldCoin, 1, 2, 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 599 B |
@@ -130,15 +130,6 @@ AbyssalTreasure: {
|
||||
Tooltip: "{$CommonItemTooltip.RightClickToOpen}"
|
||||
}
|
||||
|
||||
BleachedAnglingKit: {
|
||||
DisplayName: Bleached Angling Kit
|
||||
Tooltip:
|
||||
'''
|
||||
Has a chance to contain various fishing gear
|
||||
{$CommonItemTooltip.RightClickToOpen}
|
||||
'''
|
||||
}
|
||||
|
||||
FleshyGeode: {
|
||||
DisplayName: Fleshy Geode
|
||||
Tooltip: "{$CommonItemTooltip.RightClickToOpen}"
|
||||
@@ -149,15 +140,6 @@ NecromanticGeode: {
|
||||
Tooltip: "{$CommonItemTooltip.RightClickToOpen}"
|
||||
}
|
||||
|
||||
SandyAnglingKit: {
|
||||
DisplayName: Sandy Angling Kit
|
||||
Tooltip:
|
||||
'''
|
||||
Has a chance to contain various fishing gear
|
||||
{$CommonItemTooltip.RightClickToOpen}
|
||||
'''
|
||||
}
|
||||
|
||||
StarterBag: {
|
||||
DisplayName: Starter Bag
|
||||
Tooltip: "{$CommonItemTooltip.RightClickToOpen}"
|
||||
|
||||
@@ -692,9 +692,6 @@ namespace CalamityMod.NPCs.AquaticScourge
|
||||
normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<AquaticEmblem>()));
|
||||
normalOnly.Add(ModContent.ItemType<CorrosiveSpine>(), DropHelper.NormalWeaponDropRateFraction);
|
||||
normalOnly.Add(ModContent.ItemType<SeasSearing>(), 10);
|
||||
|
||||
// Fishing
|
||||
normalOnly.Add(ModContent.ItemType<BleachedAnglingKit>());
|
||||
}
|
||||
|
||||
npcLoot.DefineConditionalDropSet(() => true).Add(DropHelper.PerPlayer(ItemID.GreaterHealingPotion, 1, 5, 15), hideLootReport: true); // Healing Potions don't show up in the Bestiary
|
||||
|
||||
@@ -997,9 +997,6 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
// Equipment
|
||||
normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<OceanCrest>()));
|
||||
normalOnly.Add(ModContent.ItemType<SandCloak>(), DropHelper.NormalWeaponDropRateFraction);
|
||||
|
||||
// Fishing
|
||||
normalOnly.Add(ModContent.ItemType<SandyAnglingKit>());
|
||||
}
|
||||
|
||||
// Trophy (always directly from boss, never in bag)
|
||||
|
||||
Reference in new issue
Block a user