DEATH on player demise.
Ok, this is a reworked and updated version of the old DEATH character that appears when a player dies. He says something slightly witty, quite often a quote from one of Terry Pratchetts books.
I wrote this for a bit of fun back in the days of pre-1.0 but with suitable changes, it's now available for 2.0.
It DOES require a small edit to Scripts\Mobiles\PlayerMobile.cs but the change is not large.
Ok, this is a reworked and updated version of the old DEATH character that appears when a player dies. He says something slightly witty, quite often a quote from one of Terry Pratchetts books.
I wrote this for a bit of fun back in the days of pre-1.0 but with suitable changes, it's now available for 2.0.
It DOES require a small edit to Scripts\Mobiles\PlayerMobile.cs but the change is not large.
Code:
public override void OnDeath( Container c )
{
base.OnDeath( c );
//**********Added for DEATH to appear on Death
{
Mobile m = new VisitingDEATH();
m.Location = c.Location;
m.Map = c.Map;
}
//**********End Added for DEATH
HueMod = -1;
NameMod = null;
SavagePaintExpiration = TimeSpan.Zero;
SetHairMods( -1, -1 );