From b046a5b2f8c73549494f6f7a35698f17638e461f Mon Sep 17 00:00:00 2001 From: Abdulmujeeb Raji Date: Wed, 13 Nov 2024 12:50:59 +0000 Subject: [PATCH] feat (not finished): fire dust on geltana --- Content/Items/Weapons/Geltana.cs | 10 +++++++--- Localization/en-US_Mods.continuity.hjson | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Content/Items/Weapons/Geltana.cs b/Content/Items/Weapons/Geltana.cs index 8ffa87f..dbb2e4b 100644 --- a/Content/Items/Weapons/Geltana.cs +++ b/Content/Items/Weapons/Geltana.cs @@ -1,4 +1,5 @@ -using Continuity.Content.Items; +using continuity.Content.Items.Materials; +using Continuity.Content.Items; using Continuity.Content.Items.Materials; using Microsoft.Xna.Framework; using System; @@ -37,7 +38,7 @@ namespace continuity.Content.Items.Weapons Recipe recipe = Recipe.Create(ModContent.ItemType()); recipe.AddIngredient(ItemID.Katana, 1); recipe.AddIngredient(ModContent.ItemType(), 8); - recipe.AddIngredient(ItemID.Coal, 10); + recipe.AddIngredient(ModContent.ItemType(), 10); recipe.AddTile(TileID.Solidifier); recipe.AddTile(TileID.Anvils); recipe.Register(); @@ -53,6 +54,9 @@ namespace continuity.Content.Items.Weapons target.AddBuff(BuffID.OnFire, 120); } - + public override void MeleeEffects(Player player, Rectangle hitbox) + { + Dust.NewDust(new Vector2(hitbox.Center.X, hitbox.Center.Y), hitbox.Width, hitbox.Height, DustID.Lava); + } } } diff --git a/Localization/en-US_Mods.continuity.hjson b/Localization/en-US_Mods.continuity.hjson index ecdd739..600a4cf 100644 --- a/Localization/en-US_Mods.continuity.hjson +++ b/Localization/en-US_Mods.continuity.hjson @@ -24,9 +24,9 @@ Items: { Coal: { DisplayName: Coal - Tooltip: "" + Tooltip: Burns easily. } } Tiles.CoalTile.MapEntry: Coal -WorldGen.CoalGenMessage: "Industrializing the World" +WorldGen.CoalGenMessage: Industrializing the World