sahisahi
Member
New chars appear with shoes in backpack, how can i make new characters to automatically appear with equipped shoes?
This is the piece of code i suppose, i added shoes to the AddBackpack method since they appeared without them:
Thanks
Code:
private static void AddShoes( Mobile m )
{
if( m.Race == Race.Elf )
EquipItem( new ElvenBoots(), true );
else
EquipItem( new Shoes( Utility.RandomYellowHue() ), true );
}
This is the piece of code i suppose, i added shoes to the AddBackpack method since they appeared without them:
Code:
private static void AddBackpack( Mobile m )
{
Container pack = m.Backpack;
if ( pack == null )
{
pack = new Backpack();
pack.Movable = false;
m.AddItem( pack );
}
PackItem( new Gold( 200 ) ); // Starting gold can be customized here
PackItem( new MiniRewardCan() );
PackItem( new Dagger() );
PackItem( new Shoes() );
PackItem( new Spellbook( UInt64.MaxValue ) );
PackItem( new KeyRing());
PackItem(new Bandage(30));
PackItem( new PlayerGuide());
PackItem( new Scissors());
}
Thanks