Merge: Alcohol item resprites + plated sprites
No files matched your search
|
Before Width: | Height: | Size: 646 B After Width: | Height: | Size: 871 B |
|
Before Width: | Height: | Size: 674 B After Width: | Height: | Size: 866 B |
|
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 832 B |
|
Before Width: | Height: | Size: 736 B After Width: | Height: | Size: 819 B |
|
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 907 B |
|
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 818 B |
|
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 885 B |
|
Before Width: | Height: | Size: 626 B After Width: | Height: | Size: 815 B |
|
Before Width: | Height: | Size: 729 B After Width: | Height: | Size: 842 B |
|
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 813 B |
|
Before Width: | Height: | Size: 743 B After Width: | Height: | Size: 898 B |
|
Before Width: | Height: | Size: 649 B After Width: | Height: | Size: 788 B |
|
Before Width: | Height: | Size: 500 B After Width: | Height: | Size: 807 B |
|
Before Width: | Height: | Size: 688 B After Width: | Height: | Size: 816 B |
|
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 789 B |
|
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 828 B |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 836 B |
|
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 822 B |
|
Before Width: | Height: | Size: 700 B After Width: | Height: | Size: 964 B |
|
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 820 B |
|
Before Width: | Height: | Size: 752 B After Width: | Height: | Size: 790 B |
|
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 848 B |
@@ -3,6 +3,7 @@ using CalamityMod.Buffs.Alcohol;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -24,11 +25,13 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(204, 90, 73),
|
||||
new Color(168, 37, 37),
|
||||
new Color(120, 28, 28)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -37,5 +40,11 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
}
|
||||
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 1 * player.direction;
|
||||
player.itemLocation.Y -= 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.4 KiB |
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using CalamityMod.Buffs.Alcohol;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -33,21 +33,23 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(204, 90, 73),
|
||||
new Color(168, 37, 37),
|
||||
new Color(120, 28, 28)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(20, 32, ModContent.BuffType<BloodyMaryBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(34, 56, ModContent.BuffType<BloodyMaryBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(10).
|
||||
AddIngredient(ItemID.Bottle, 10).
|
||||
@@ -55,5 +57,11 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 9 * player.direction;
|
||||
player.itemLocation.Y -= 11;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 1.4 KiB |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -30,17 +31,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
// Based on the drink itself
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(105, 29, 14),
|
||||
new Color(128, 39, 22),
|
||||
new Color(138, 28, 7)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(14, 32, ModContent.BuffType<CaribbeanRumBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(28, 52, ModContent.BuffType<CaribbeanRumBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Pink;
|
||||
@@ -54,5 +56,11 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 5 * player.direction;
|
||||
player.itemLocation.Y -= 9;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 1.3 KiB |
@@ -2,9 +2,9 @@
|
||||
using CalamityMod.Buffs.Alcohol;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Ores;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -27,16 +27,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(245, 223, 181),
|
||||
new Color(222, 186, 147),
|
||||
new Color(176, 129, 106)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(18, 32, ModContent.BuffType<CinnamonRollBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(28, 48, ModContent.BuffType<CinnamonRollBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Lime;
|
||||
@@ -49,5 +51,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 5 * player.direction;
|
||||
player.itemLocation.Y -= 9;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 1.2 KiB |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -30,16 +31,17 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
// Everclear is clear so uhm... yeah?
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[2] {
|
||||
new Color(153, 168, 162, 180),
|
||||
new Color(198, 205, 207, 180)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(14, 42, ModContent.BuffType<EverclearBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(16, 52, ModContent.BuffType<EverclearBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
@@ -54,5 +56,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 3 * player.direction;
|
||||
player.itemLocation.Y -= 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 997 B |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -33,17 +34,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
// Pale green-blue
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(201, 248, 248),
|
||||
new Color(201, 248, 221),
|
||||
new Color(177, 240, 184)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(18, 32, ModContent.BuffType<EvergreenGinBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(34, 56, ModContent.BuffType<EvergreenGinBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
@@ -58,5 +60,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 5 * player.direction;
|
||||
player.itemLocation.Y -= 9;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 567 B After Width: | Height: | Size: 1.4 KiB |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -32,16 +33,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(245, 171, 22),
|
||||
new Color(227, 128, 41),
|
||||
new Color(237, 82, 31)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(16, 38, ModContent.BuffType<FireballBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(20, 52, ModContent.BuffType<FireballBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
@@ -49,7 +52,6 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
|
||||
CreateRecipe(10).
|
||||
AddIngredient(ItemID.Bottle, 10).
|
||||
AddIngredient(ItemID.LivingFireBlock, 50).
|
||||
@@ -57,5 +59,9 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.Y -= 8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 533 B After Width: | Height: | Size: 990 B |
@@ -3,6 +3,7 @@ using CalamityMod.Buffs.Alcohol;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -30,17 +31,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(36, 2, 41),
|
||||
new Color(56, 0, 64),
|
||||
new Color(82, 10, 92)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(12, 28, ModContent.BuffType<GrapeBeerBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.DefaultToFood(20, 48, ModContent.BuffType<GrapeBeerBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
}
|
||||
@@ -53,5 +55,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 4 * player.direction;
|
||||
player.itemLocation.Y -= 8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 447 B After Width: | Height: | Size: 988 B |
@@ -2,9 +2,9 @@
|
||||
using CalamityMod.Buffs.Alcohol;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Ores;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -32,16 +32,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(225, 84, 33),
|
||||
new Color(244, 176, 77),
|
||||
new Color(255, 218, 102)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(14, 28, ModContent.BuffType<ManhattanBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(19, 58, ModContent.BuffType<ManhattanBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Pink;
|
||||
@@ -55,5 +57,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 8 * player.direction;
|
||||
player.itemLocation.Y -= 14;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 647 B After Width: | Height: | Size: 1.2 KiB |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -37,17 +38,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(219, 227, 191),
|
||||
new Color(186, 189, 147),
|
||||
new Color(142, 161, 125)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(28, 40, ModContent.BuffType<MargaritaBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.DefaultToFood(42, 52, ModContent.BuffType<MargaritaBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
}
|
||||
@@ -60,5 +62,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 9 * player.direction;
|
||||
player.itemLocation.Y -= 14;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 772 B After Width: | Height: | Size: 1.4 KiB |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -28,17 +29,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
// Another clear drink
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(237, 237, 218, 128),
|
||||
new Color(227, 219, 191, 128),
|
||||
new Color(209, 204, 194, 128)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(24, 28, ModContent.BuffType<MoonshineBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(30, 48, ModContent.BuffType<MoonshineBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Lime;
|
||||
@@ -53,5 +55,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 4 * player.direction;
|
||||
player.itemLocation.Y -= 8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 552 B After Width: | Height: | Size: 1.4 KiB |
@@ -2,9 +2,9 @@
|
||||
using CalamityMod.Buffs.Alcohol;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Ores;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -29,17 +29,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
// Pale green with a hint of red
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(194, 252, 192),
|
||||
new Color(226, 252, 192),
|
||||
new Color(250, 225, 222)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(32, 32, ModContent.BuffType<MoscowMuleBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(46, 46, ModContent.BuffType<MoscowMuleBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
@@ -52,5 +53,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 8 * player.direction;
|
||||
player.itemLocation.Y -= 12;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 818 B After Width: | Height: | Size: 1.8 KiB |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -29,16 +30,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(255, 118, 3),
|
||||
new Color(255, 200, 82),
|
||||
new Color(255, 228, 122)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(30, 38, ModContent.BuffType<OldFashionedBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(38, 44, ModContent.BuffType<OldFashionedBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
@@ -51,5 +54,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 3 * player.direction;
|
||||
player.itemLocation.Y -= 12;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 590 B After Width: | Height: | Size: 1.4 KiB |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -31,16 +32,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(239, 123, 202),
|
||||
new Color(187, 56, 158),
|
||||
new Color(165, 47, 255)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(30, 42, ModContent.BuffType<PurpleHazeBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(24, 48, ModContent.BuffType<PurpleHazeBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
@@ -54,5 +57,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 4 * player.direction;
|
||||
player.itemLocation.Y -= 8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 790 B After Width: | Height: | Size: 1.2 KiB |
@@ -5,6 +5,7 @@ using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Potions.Food;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -31,17 +32,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(54, 5, 21),
|
||||
new Color(82, 9, 36),
|
||||
new Color(105, 4, 29)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(14, 48, ModContent.BuffType<RedWineBuff>(), CalamityUtils.MinutesToFrames(6));
|
||||
|
||||
Item.DefaultToFood(20, 61, ModContent.BuffType<RedWineBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Pink;
|
||||
}
|
||||
@@ -53,5 +55,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 1 * player.direction;
|
||||
player.itemLocation.Y -= 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 413 B After Width: | Height: | Size: 1.1 KiB |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -29,16 +30,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(237, 165, 9),
|
||||
new Color(247, 219, 54),
|
||||
new Color(255, 195, 31)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(24, 26, ModContent.BuffType<RumBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(30, 44, ModContent.BuffType<RumBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
@@ -51,5 +54,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 3 * player.direction;
|
||||
player.itemLocation.Y -= 9;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 1.1 KiB |
@@ -5,6 +5,7 @@ using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Ores;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -33,17 +34,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(225, 84, 33),
|
||||
new Color(244, 176, 77),
|
||||
new Color(255, 218, 102)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(14, 28, ModContent.BuffType<ScrewdriverBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.DefaultToFood(32, 46, ModContent.BuffType<ScrewdriverBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
}
|
||||
@@ -55,5 +57,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 5 * player.direction;
|
||||
player.itemLocation.Y -= 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 1.3 KiB |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -29,17 +30,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
// Dark red-orange
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(89, 18, 10),
|
||||
new Color(102, 39, 14),
|
||||
new Color(128, 31, 9)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(20, 34, ModContent.BuffType<StarBeamRyeBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.DefaultToFood(20, 54, ModContent.BuffType<StarBeamRyeBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
@@ -52,5 +54,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 4 * player.direction;
|
||||
player.itemLocation.Y -= 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 532 B After Width: | Height: | Size: 1.1 KiB |
@@ -7,6 +7,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.DataStructures;
|
||||
|
||||
namespace CalamityMod.Items.Potions.Alcohol
|
||||
{
|
||||
@@ -32,17 +33,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(163, 110, 10),
|
||||
new Color(176, 135, 0),
|
||||
new Color(194, 132, 25)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(16, 34, ModContent.BuffType<TequilaBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.DefaultToFood(32, 44, ModContent.BuffType<TequilaBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
}
|
||||
@@ -56,5 +58,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 4 * player.direction;
|
||||
player.itemLocation.Y -= 9;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 485 B After Width: | Height: | Size: 1.2 KiB |
@@ -5,6 +5,7 @@ using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Ores;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -29,17 +30,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(220, 75, 59),
|
||||
new Color(229, 147, 47),
|
||||
new Color(255, 190, 76)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(22, 28, ModContent.BuffType<TequilaSunriseBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
}
|
||||
@@ -53,5 +55,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 9 * player.direction;
|
||||
player.itemLocation.Y -= 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 504 B After Width: | Height: | Size: 1.9 KiB |
@@ -2,9 +2,9 @@
|
||||
using CalamityMod.Buffs.Alcohol;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Ores;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -36,11 +36,12 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
// Another clear drink
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[2] {
|
||||
new Color(219, 219, 208, 180),
|
||||
new Color(181, 181, 176, 180)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -59,5 +60,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 2 * player.direction;
|
||||
player.itemLocation.Y -= 8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 1.0 KiB |
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -34,17 +35,18 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(227, 148, 11),
|
||||
new Color(235, 177, 5),
|
||||
new Color(250, 190, 12)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(18, 32, ModContent.BuffType<WhiskeyBuff>(), CalamityUtils.MinutesToFrames(6), true);
|
||||
|
||||
Item.value = Item.sellPrice(silver: 2);
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
}
|
||||
@@ -56,5 +58,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 2 * player.direction;
|
||||
player.itemLocation.Y -= 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 568 B After Width: | Height: | Size: 1.1 KiB |
@@ -5,7 +5,7 @@ using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Ores;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.GameInput;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
@@ -31,12 +31,13 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 20;
|
||||
// Clear, yellow-green
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.DrinkParticleColors[Type] = new Color[3] {
|
||||
new Color(242, 252, 177, 180),
|
||||
new Color(250, 252, 215, 180),
|
||||
new Color(228, 245, 181, 180)
|
||||
};
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -58,5 +59,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
AddTile(TileID.Kegs).
|
||||
Register();
|
||||
}
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
{
|
||||
player.itemLocation.X += 4 * player.direction;
|
||||
player.itemLocation.Y -= 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 600 B After Width: | Height: | Size: 1.3 KiB |