writelines

This commit is contained in:
aqys
2026-03-25 09:33:26 +01:00
parent a365e05025
commit 28b1c8370d
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ namespace PeopleVille.Equipment
public void Use(Person person) public void Use(Person person)
{ {
person.Health += HealthPoints; person.Health += HealthPoints;
Console.WriteLine($""); Console.WriteLine($"{person} ate food and healed {HealthPoints}");
person.Inventory.Remove(this); person.Inventory.Remove(this);
} }
} }

View File

@@ -20,7 +20,7 @@ namespace PeopleVille.Equipment
public void Use(Person target) public void Use(Person target)
{ {
target.Health -= this.Damage; target.Health -= this.Damage;
Console.WriteLine($""); Console.WriteLine($"{target.Name} has been shot and took {Damage}");
} }
} }
} }