#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.

This commit is contained in:
WarrentyExpired 2026-08-06 11:06:05 -04:00
parent b51c58f514
commit 3045c83799
3512 changed files with 627673 additions and 0 deletions

View file

@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Text;
using Server.Items;
namespace Server.Events.Halloween
{
class HolidaySettings
{
public static DateTime StartHalloween { get { return new DateTime( 2012, 10, 24 ); } } // YY MM DD
public static DateTime FinishHalloween { get { return new DateTime( 2012, 11, 15 ); } }
public static Item RandomGMBeggerItem { get { return ( Item )Activator.CreateInstance( m_GMBeggarTreats[ Utility.Random( m_GMBeggarTreats.Length ) ] ); } }
public static Item RandomTreat { get { return (Item)Activator.CreateInstance ( m_Treats[ Utility.Random( m_Treats.Length ) ]) ; } }
private static Type[] m_GMBeggarTreats =
{
typeof( CreepyCake ),
typeof( PumpkinPizza ),
typeof( GrimWarning ),
typeof( HarvestWine ),
typeof( MurkyMilk ),
typeof( MrPlainsCookies ),
typeof( SkullsOnPike ),
typeof( ChairInAGhostCostume ),
typeof( ExcellentIronMaiden ),
typeof( HalloweenGuillotine ),
typeof( ColoredSmallWebs )
};
private static Type[] m_Treats =
{
typeof( Lollipops ),
typeof( WrappedCandy ),
typeof( JellyBeans ),
typeof( Taffy ),
typeof( NougatSwirl )
};
}
}