feat (not finished): fire dust on geltana

This commit is contained in:
Abdulmujeeb Raji 2024-11-13 12:50:59 +00:00
parent 3dc522dbc5
commit b046a5b2f8
Signed by untrusted user: midnadimple
GPG key ID: EB02C582F8C3962B
2 changed files with 9 additions and 5 deletions

View file

@ -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<Geltana>());
recipe.AddIngredient(ItemID.Katana, 1);
recipe.AddIngredient(ModContent.ItemType<ExquisiteGel>(), 8);
recipe.AddIngredient(ItemID.Coal, 10);
recipe.AddIngredient(ModContent.ItemType<Coal>(), 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);
}
}
}

View file

@ -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