updated for 2012

This commit is contained in:
xavier 2012-10-24 18:43:37 +00:00
parent 83f377cc83
commit e3be8401bf
3 changed files with 16 additions and 5 deletions

View file

@ -8,7 +8,7 @@ namespace Server.Items
{ {
private readonly string[] staff = private readonly string[] staff =
{ {
"Ryan", "Mark", "Eos", "Athena", "Xavier", "Krrios" "Ryan", "Mark", "Eos", "Athena", "Xavier", "Krrios", "Zippy"
}; };
[Constructable] [Constructable]
@ -65,7 +65,7 @@ namespace Server.Items
} }
else else
{ {
Name = String.Format( "{0}'s Jack-O-antern", staff[ Utility.Random( staff.Length ) ] ); Name = String.Format( "{0}'s Jack-O-antern", staff[ Utility.Random( staff.Length ) ] );
} }
} }
} }

View file

@ -29,9 +29,9 @@ namespace Server.Items.Holiday
"Ryan", "Ryan",
"Mark", "Mark",
"Krrios", "Krrios",
"EOS", "Zippy",
"Athena", "Athena",
"EoS", "Eos",
"Xavier" "Xavier"
}; };

View file

@ -1,6 +1,7 @@
using System; using System;
using Server; using Server;
using Server.Items; using Server.Items;
using Server.Items.Holiday;
using Server.Mobiles; using Server.Mobiles;
namespace Server.Mobiles namespace Server.Mobiles
@ -59,7 +60,17 @@ namespace Server.Mobiles
{ {
if( Utility.RandomDouble() < .05 ) if( Utility.RandomDouble() < .05 )
{ {
PackItem( new TwilightLantern() ); //PackItem( new TwilightLantern() ); OLD Halloween
switch( Utility.Random( 50 ) )
{
case 0: PackItem( new PaintedEvilClownMask() ); break;
case 1: PackItem( new PaintedDaemonMask() ); break;
case 2: PackItem( new PaintedPlagueMask() ); break;
case 3: PackItem( new PaintedEvilJesterMask() ); break;
case 4: PackItem( new PaintedPorcelainMask() ); break;
default: break;
}
} }
PackItem( new WrappedCandy() ); PackItem( new WrappedCandy() );