### Summary - Fixes bad color in virtual check gump - Consolidates the Color/Center html strings for all gumps
41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
using System;
|
|
using Server.Items;
|
|
|
|
namespace Server.Events.Halloween
|
|
{
|
|
internal class HolidaySettings
|
|
{
|
|
private static readonly 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 readonly Type[] m_Treats =
|
|
{
|
|
typeof(Lollipops),
|
|
typeof(WrappedCandy),
|
|
typeof(JellyBeans),
|
|
typeof(Taffy),
|
|
typeof(NougatSwirl)
|
|
};
|
|
|
|
// YY MM DD
|
|
public static DateTime StartHalloween => new(2021, 10, 24);
|
|
|
|
public static DateTime FinishHalloween => new(2021, 11, 15);
|
|
|
|
public static Item RandomGMBeggerItem => m_GMBeggarTreats.RandomElement().CreateInstance<Item>();
|
|
|
|
public static Item RandomTreat => m_Treats.RandomElement().CreateInstance<Item>();
|
|
}
|
|
}
|