Mounts research support
This commit is contained in:
1 parent
925b7bcbad
commit
b5ba1d8dc7
8 files changed
+21
-5
No files matched your search
@@ -1,6 +1,7 @@
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.GameContent.Creative;
|
||||
|
||||
namespace CalamityMod.Items.Mounts
|
||||
{
|
||||
@@ -27,6 +28,7 @@ namespace CalamityMod.Items.Mounts
|
||||
Item.UseSound = SoundID.NPCHit51;
|
||||
Item.noMelee = true;
|
||||
Item.mountType = ModContent.MountType<BUMBLEDOGE>();
|
||||
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
using Terraria;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.GameContent.Creative;
|
||||
|
||||
namespace CalamityMod.Items.Mounts
|
||||
{
|
||||
@@ -26,6 +27,7 @@ namespace CalamityMod.Items.Mounts
|
||||
Item.value = Item.buyPrice(platinum: 1, gold: 50);
|
||||
Item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
Item.Calamity().devItem = true;
|
||||
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
using System.Linq;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.GameContent.Creative;
|
||||
|
||||
namespace CalamityMod.Items.Mounts
|
||||
{
|
||||
@@ -28,6 +29,7 @@ namespace CalamityMod.Items.Mounts
|
||||
|
||||
Item.value = CalamityGlobalItem.RarityVioletBuyPrice;
|
||||
Item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
||||
}
|
||||
|
||||
public override void ModifyTooltips(List<TooltipLine> list)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using Terraria;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.GameContent.Creative;
|
||||
|
||||
namespace CalamityMod.Items.Mounts
|
||||
{
|
||||
@@ -27,6 +28,7 @@ namespace CalamityMod.Items.Mounts
|
||||
Item.value = Item.buyPrice(platinum: 3);
|
||||
Item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
Item.Calamity().devItem = true;
|
||||
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@ using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.GameContent.Creative;
|
||||
|
||||
namespace CalamityMod.Items.Mounts.Minecarts
|
||||
{
|
||||
@@ -26,6 +27,7 @@ namespace CalamityMod.Items.Mounts.Minecarts
|
||||
Item.UseSound = SoundID.Item68;
|
||||
Item.noMelee = true;
|
||||
Item.mountType = ModContent.MountType<DoGCartMount>();
|
||||
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using Terraria;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.GameContent.Creative;
|
||||
|
||||
namespace CalamityMod.Items.Mounts
|
||||
{
|
||||
@@ -27,6 +28,7 @@ namespace CalamityMod.Items.Mounts
|
||||
Item.UseSound = SoundID.Item23;
|
||||
Item.noMelee = true;
|
||||
Item.mountType = ModContent.MountType<OnyxExcavator>();
|
||||
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
using Terraria;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.GameContent.Creative;
|
||||
|
||||
namespace CalamityMod.Items.Mounts
|
||||
{
|
||||
@@ -26,6 +27,7 @@ namespace CalamityMod.Items.Mounts
|
||||
Item.value = Item.buyPrice(platinum: 1);
|
||||
Item.rare = ItemRarityID.Cyan;
|
||||
Item.Calamity().devItem = true;
|
||||
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
using Terraria;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.GameContent.Creative;
|
||||
|
||||
namespace CalamityMod.Items.Mounts
|
||||
{
|
||||
@@ -24,6 +25,7 @@ namespace CalamityMod.Items.Mounts
|
||||
Item.UseSound = SoundID.NPCHit56;
|
||||
Item.noMelee = true;
|
||||
Item.mountType = ModContent.MountType<AngryDogMount>();
|
||||
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user