Revert "Removed Mortar Rounds and Rubber Mortar Rounds."
This reverts commit a47702d4e9.
This commit is contained in:
1 parent
49b6367f69
commit
675f02ca81
4 files changed
+83
No files matched your search
@@ -0,0 +1,42 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using CalamityMod.Rarities;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Ammo
|
||||
{
|
||||
public class MortarRound : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Ammo";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 99;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.damage = 20;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.width = 20;
|
||||
Item.height = 14;
|
||||
Item.maxStack = 9999;
|
||||
Item.consumable = true;
|
||||
Item.knockBack = 7.5f;
|
||||
Item.value = Item.sellPrice(copper: 20);
|
||||
Item.rare = ModContent.RarityType<Turquoise>();
|
||||
Item.ammo = AmmoID.Bullet;
|
||||
Item.shoot = ModContent.ProjectileType<MortarRoundProj>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(100).
|
||||
AddIngredient(ItemID.RocketIV, 100).
|
||||
AddIngredient<UelibloomBar>().
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 443 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using CalamityMod.Rarities;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Ammo
|
||||
{
|
||||
public class RubberMortarRound : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Ammo";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 99;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.damage = 25;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.width = 20;
|
||||
Item.height = 14;
|
||||
Item.maxStack = 9999;
|
||||
Item.consumable = true;
|
||||
Item.knockBack = 7.5f;
|
||||
Item.value = Item.sellPrice(copper: 20);
|
||||
Item.rare = ModContent.RarityType<Turquoise>();
|
||||
Item.ammo = AmmoID.Bullet;
|
||||
Item.shoot = ModContent.ProjectileType<RubberMortarRoundProj>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(100).
|
||||
AddIngredient<MortarRound>(100).
|
||||
AddIngredient(ItemID.PinkGel, 5).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 420 B |
Reference in new issue
Block a user