Rogue weapons renamed

This commit is contained in:
Ozzatron committed 2022-06-11 20:31:19 -04:00
1 parent 72f4230630
commit eb0af66e17
50 files changed
+61 -133

No files matched your search

+1 -1
View File
@@ -620,7 +620,7 @@ namespace CalamityMod.CalPlayer
ModContent.ItemType<HalleysInferno>(),
ModContent.ItemType<CleansingBlaze>(),
ModContent.ItemType<ElementalEruption>(),
ModContent.ItemType<TheEmpyrean>(),
ModContent.ItemType<GodsBellows>(),
ModContent.ItemType<Meowthrower>(),
ModContent.ItemType<OverloadedBlaster>(),
ModContent.ItemType<TerraFlameburster>(),
+1 -1
View File
@@ -2657,7 +2657,7 @@ namespace CalamityMod.CalPlayer
if (planarSpeedBoost != 0)
{
if (Player.ActiveItem().type != ModContent.ItemType<PrideHuntersPlanarRipper>())
if (Player.ActiveItem().type != ModContent.ItemType<PridefulHuntersPlanarRipper>())
planarSpeedBoost = 0;
}
if (brimlashBusterBoost)
+6 -6
View File
@@ -1326,7 +1326,7 @@ namespace CalamityMod
scopedWeaponList = new List<int>()
{
ItemType<AMR>(),
ItemType<AntiMaterielRifle>(),
ItemType<Auralis>(),
ItemType<HalleysInferno>(),
ItemType<Shroomer>(),
@@ -1340,12 +1340,12 @@ namespace CalamityMod
ItemType<Brimblade>(),
ItemType<BlazingStar>(),
ItemType<Celestus>(),
ItemType<AccretionDisk>(),
ItemType<ElementalDisk>(),
ItemType<EnchantedAxe>(),
ItemType<EpidemicShredder>(),
ItemType<Equanimity>(),
ItemType<Eradicator>(),
ItemType<FlameScythe>(),
ItemType<SubductionSlicer>(),
ItemType<Glaive>(),
ItemType<GhoulishGouger>(),
ItemType<Icebreaker>(),
@@ -1353,7 +1353,7 @@ namespace CalamityMod
ItemType<Kylie>(),
ItemType<MangroveChakram>(),
ItemType<MoltenAmputator>(),
ItemType<NanoblackReaperRogue>(),
ItemType<NanoblackReaper>(),
ItemType<SandDollar>(),
ItemType<FishboneBoomerang>(),
ItemType<Shroomerang>(),
@@ -1411,7 +1411,7 @@ namespace CalamityMod
{
ItemType<CrystalPiercer>(),
ItemType<PalladiumJavelin>(),
ItemType<DuneHopper>(),
ItemType<WaveSkipper>(),
ItemType<EclipsesFall>(),
ItemType<IchorSpear>(),
ItemType<ProfanedTrident>(),
@@ -1421,7 +1421,7 @@ namespace CalamityMod
ItemType<ScourgeoftheSeas>(),
ItemType<SpearofDestiny>(),
ItemType<SpearofPaleolith>(),
ItemType<XerocPitchfork>(),
ItemType<ShardofAntumbra>(),
ItemType<PhantasmalRuin>(),
ItemType<PhantomLance>(),
ItemType<ProfanedPartisan>(),
+1 -1
View File
@@ -99,7 +99,7 @@ namespace CalamityMod.Items
nameLine.OverrideColor = new Color(0, 0, 255);
if (item.type == ModContent.ItemType<TheDanceofLight>())
nameLine.OverrideColor = TheDanceofLight.GetSyncedLightColor();
if (item.type == ModContent.ItemType<NanoblackReaperRogue>())
if (item.type == ModContent.ItemType<NanoblackReaper>())
nameLine.OverrideColor = new Color(0.34f, 0.34f + 0.66f * Main.DiscoG / 255f, 0.34f + 0.5f * Main.DiscoG / 255f);
if (item.type == ModContent.ItemType<ShatteredCommunity>())
nameLine.OverrideColor = ShatteredCommunity.GetRarityColor();
+1 -1
View File
@@ -89,7 +89,7 @@ namespace CalamityMod.Items.Weapons.Melee
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ElementalShortsword>().
AddIngredient<ElementalShiv>().
AddIngredient<CosmiliteBar>(8).
AddTile(ModContent.TileType<CosmicAnvil>()).
Register();
@@ -9,7 +9,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Melee
{
public class ElementalShortsword : ModItem
[LegacyName("ElementalShortsword")]
public class ElementalShiv : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 948 B

After

Width:  |  Height:  |  Size: 948 B

@@ -10,7 +10,8 @@ using CalamityMod.Sounds;
namespace CalamityMod.Items.Weapons.Ranged
{
public class AMR : ModItem
[LegacyName("AMR")]
public class AntiMaterielRifle : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

+1 -1
View File
@@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Ranged
CreateRecipe().
AddIngredient(ItemID.SpiritFlame).
AddIngredient(ItemID.ShadowFlameBow).
AddIngredient<GreatbowofTurmoil>().
AddIngredient<ContinentalGreatbow>().
AddIngredient<BladedgeGreatbow>().
AddIngredient<DarkechoGreatbow>().
AddIngredient<GalacticaSingularity>(5).
-94
View File
@@ -1,94 +0,0 @@
using Terraria.DataStructures;
using CalamityMod.Items.Materials;
using CalamityMod.Projectiles.Ranged;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using CalamityMod.Sounds;
namespace CalamityMod.Items.Weapons.Ranged
{
public class ChargedDartRifle : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Charged Dart Blaster");
Tooltip.SetDefault("Fires a shotgun spread of darts and a splitting energy blast\n" +
"Right click to fire a more powerful exploding energy blast that bounces");
SacrificeTotal = 1;
ItemID.Sets.ItemsThatAllowRepeatedRightClick[Item.type] = true;
}
public override void SetDefaults()
{
Item.damage = 100;
Item.DamageType = DamageClass.Ranged;
Item.width = 74;
Item.height = 40;
Item.useTime = 25;
Item.useAnimation = 25;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.knockBack = 7f;
Item.value = CalamityGlobalItem.Rarity10BuyPrice;
Item.rare = ItemRarityID.Red;
Item.UseSound = CommonCalamitySounds.LaserCannonSound;
Item.autoReuse = true;
Item.shootSpeed = 22f;
Item.shoot = ModContent.ProjectileType<ChargedBlast>();
Item.useAmmo = AmmoID.Dart;
Item.Calamity().canFirePointBlankShots = true;
}
public override Vector2? HoldoutOffset()
{
return new Vector2(-5, 0);
}
public override bool AltFunctionUse(Player player)
{
return true;
}
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
if (player.altFunctionUse == 2)
{
Projectile.NewProjectile(source, position.X, position.Y, velocity.X, velocity.Y, ModContent.ProjectileType<ChargedBlast3>(), (int)((double)damage * 2), knockback, player.whoAmI, 0f, 0f);
return false;
}
else
{
int num6 = Main.rand.Next(2, 5);
for (int index = 0; index < num6; ++index)
{
float SpeedX = velocity.X + (float)Main.rand.Next(-40, 41) * 0.05f;
float SpeedY = velocity.Y + (float)Main.rand.Next(-40, 41) * 0.05f;
int projectile = Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, type, damage / 2, knockback, player.whoAmI, 0f, 0f);
}
Projectile.NewProjectile(source, position.X, position.Y, velocity.X, velocity.Y, ModContent.ProjectileType<ChargedBlast>(), damage, knockback, player.whoAmI, 0f, 0f);
return false;
}
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.DartRifle).
AddIngredient(ItemID.MartianConduitPlating, 25).
AddIngredient<CoreofEleum>(3).
AddIngredient(ItemID.FragmentVortex, 5).
AddTile(TileID.MythrilAnvil).
Register();
CreateRecipe().
AddIngredient(ItemID.DartPistol).
AddIngredient(ItemID.MartianConduitPlating, 25).
AddIngredient<CoreofEleum>(3).
AddIngredient(ItemID.FragmentVortex, 5).
AddTile(TileID.MythrilAnvil).
Register();
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 730 B

@@ -6,7 +6,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class TrueConferenceCall : ModItem
[LegacyName("TrueConferenceCall", "ConclaveCrossfire")]
public class ConferenceCall : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 974 B

After

Width:  |  Height:  |  Size: 974 B

@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class GreatbowofTurmoil : ModItem
[LegacyName("GreatbowofTurmoil")]
public class ContinentalGreatbow : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

@@ -6,7 +6,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class Interfacer : ModItem
[LegacyName("Interfacer")]
public class Disseminator : ModItem
{
public override void SetStaticDefaults()
{
@@ -150,7 +151,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<TrueConferenceCall>().
AddIngredient<ConferenceCall>().
AddIngredient(ItemID.LunarBar, 5).
AddTile(TileID.LunarCraftingStation).
Register();
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+1 -1
View File
@@ -46,7 +46,7 @@ namespace CalamityMod.Items.Weapons.Ranged
CreateRecipe().
AddIngredient<SpectralstormCannon>().
AddIngredient<ClockGatlignum>().
AddIngredient<PaintballBlaster>().
AddIngredient<SpeedBlaster>().
AddIngredient<GalacticaSingularity>(5).
AddIngredient(ItemID.LunarBar, 5).
AddTile(TileID.LunarCraftingStation).
@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class TheEmpyrean : ModItem
[LegacyName("TheEmpyrean")]
public class GodsBellows : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

+1
View File
@@ -10,6 +10,7 @@ using Terraria.Audio;
namespace CalamityMod.Items.Weapons.Ranged
{
// TODO -- This weapon is a disgrace to its Armored Core heritage. It needs a full rework.
public class Karasawa : ModItem
{
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/MechGaussRifle");
@@ -3,11 +3,13 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class MarniteRifleSpear : ModItem
[LegacyName("MarniteRifleSpear")]
public class MarniteBayonet : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Marnite Bayonet");
// TODO -- Marnite Bayonet hitboxes are screwed because it's not a holdout
Tooltip.SetDefault("The gun damages enemies that touch it");
SacrificeTotal = 1;
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 707 B

After

Width:  |  Height:  |  Size: 707 B

@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class NettlelineGreatbow : ModItem
[LegacyName("NettlelineGreatbow")]
public class NettlevineGreatbow : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class PrideHuntersPlanarRipper : ModItem
[LegacyName("PrideHuntersPlanarRipper")]
public class PridefulHuntersPlanarRipper : ModItem
{
private int counter = 0;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 769 B

After

Width:  |  Height:  |  Size: 769 B

+2 -1
View File
@@ -74,10 +74,11 @@ namespace CalamityMod.Items.Weapons.Ranged
}
}
// TODO -- Shredder used to use Charged Dart Blaster. The item has been deleted.
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ChargedDartRifle>().
// AddIngredient<ChargedDartRifle>().
AddIngredient<FrostbiteBlaster>().
AddIngredient(ItemID.Shotgun).
AddIngredient<GalacticaSingularity>(5).
@@ -7,7 +7,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class PaintballBlaster : ModItem
[LegacyName("PaintballBlaster")]
public class SpeedBlaster : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 657 B

After

Width:  |  Height:  |  Size: 657 B

@@ -10,7 +10,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class StarfleetMK2 : ModItem
[LegacyName("StarfleetMK2")]
public class Starmada : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

+1 -1
View File
@@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Ranged
{
CreateRecipe().
AddIngredient<GoldenEagle>().
AddIngredient<AMR>().
AddIngredient<AntiMaterielRifle>().
AddIngredient<AuricBar>(5).
AddTile<CosmicAnvil>().
Register();
+2 -2
View File
@@ -101,7 +101,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<Interfacer>().
AddIngredient<Disseminator>().
AddIngredient(ItemID.StarCloak, 3).
AddIngredient<ArmoredShell>(2).
AddIngredient<CosmiliteBar>(8).
@@ -110,7 +110,7 @@ namespace CalamityMod.Items.Weapons.Ranged
Register();
CreateRecipe().
AddIngredient<Interfacer>().
AddIngredient<Disseminator>().
AddIngredient(ItemID.StarCloak, 3).
AddIngredient<ArmoredShell>(2).
AddIngredient<NebulousCore>().
@@ -9,12 +9,14 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Ranged
{
public class Megafleet : ModItem
[LegacyName("Megafleet")]
public class Voidragon : ModItem
{
private int shotType = 1;
public override void SetStaticDefaults()
{
// Long live Megafleet. You will be missed. Maybe one day we can revive you.
DisplayName.SetDefault("Voidragon");
Tooltip.SetDefault("75% chance to not consume ammo\n" +
"Fires void blasts that explode every other shot\n" +
@@ -61,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Ranged
if (shotType == 1)
Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, type, damage, knockback, player.whoAmI, 0.0f, 0.0f);
else
Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, ModContent.ProjectileType<Voidragon>(), damage, knockback, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, ModContent.ProjectileType<Projectiles.Ranged.Voidragon>(), damage, knockback, player.whoAmI, 0f, 0f);
shotType++;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

+1 -1
View File
@@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AccretionDisk>().
AddIngredient<ElementalDisk>().
AddIngredient<AlphaVirus>().
AddIngredient<MoltenAmputator>().
AddIngredient<FrostcrushValari>().
@@ -8,7 +8,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class AccretionDisk : ModItem
[LegacyName("AccretionDisk")]
public class ElementalDisk : ModItem
{
public override void SetStaticDefaults()
{
@@ -60,7 +61,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
CreateRecipe().
AddIngredient<MangroveChakram>().
AddIngredient<FlameScythe>().
AddIngredient<SubductionSlicer>().
AddIngredient<TerraDisk>().
AddIngredient<GalacticaSingularity>(5).
AddIngredient<LifeAlloy>(5).
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

@@ -9,7 +9,9 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class NanoblackReaperRogue : ModItem
// Deny me no longer!
[LegacyName("NanoblackReaperMelee", "NanoblackReaperRogue")]
public class NanoblackReaper : ModItem
{
public static int BaseDamage = 130;
public static float Knockback = 9f;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -8,7 +8,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class XerocPitchfork : ModItem
[LegacyName("XerocPitchfork")]
public class ShardofAntumbra : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

@@ -8,7 +8,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class FlameScythe : ModItem
[LegacyName("FlameScythe")]
public class SubductionSlicer : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

@@ -10,7 +10,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class DuneHopper : ModItem
[LegacyName("DuneHopper")]
public class WaveSkipper : ModItem
{
public override void SetStaticDefaults()
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

+1 -1
View File
@@ -65,7 +65,7 @@ namespace CalamityMod.Projectiles.Rogue
{
if (Main.rand.NextBool(2))
{
Item.NewItem(Projectile.GetSource_DropAsItem(), (int)Projectile.position.X, (int)Projectile.position.Y, Projectile.width, Projectile.height, ModContent.ItemType<XerocPitchfork>());
Item.NewItem(Projectile.GetSource_DropAsItem(), (int)Projectile.position.X, (int)Projectile.position.Y, Projectile.width, Projectile.height, ModContent.ItemType<ShardofAntumbra>());
}
}
+1 -1
View File
@@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles.Rogue
// The scythe runs its returning AI if the frame counter is greater than ReboundTime.
if (Projectile.ai[0] >= ReboundTime)
{
float returnSpeed = NanoblackReaperRogue.Speed;
float returnSpeed = NanoblackReaper.Speed;
float acceleration = 2.4f;
Player owner = Main.player[Projectile.owner];