public override void OnPickup(Unit u) { Snd_Pickup.CreateInstance().Play(); Console.WriteLine(u + " picks up " + this + "."); }
public virtual void OnPickup(Unit u ) { }
public virtual void OnDrop(Unit u = null) { }
public override void OnPickup(Unit u) { Snd_Pickup.CreateInstance().Play(); Dispose(); u.Health += 40; }
public override void OnPickup(Unit u) { Snd_Pickup.CreateInstance().Play(); Dispose(); Console.WriteLine(u + " scarfs " + this + " down like it has a wasting illness. " + u.Health); }
public override void OnPickup(Unit u) { var game = World.Game; Snd_Pickup.CreateInstance().Play(); Dispose(); Console.WriteLine(u + " picks up " + this + " - " + (game.ArtifactsFound + 1) + " of " + game.ArtifactsTotal); game.ArtifactsFound++; }