public Moonstone(MoonPhaseReferences.MoonPhases phase, string longName, string shortName, string findDescription, Moongates moongates, InventoryReference invRef) : base(0, longName, shortName, findDescription, MOONSTONE_SPRITE) { Phase = phase; _moongates = moongates; InvRef = invRef; }
public PublicMoongate() : base(0xF6C) { Movable = false; Light = LightType.Circle300; Moongates.Add(this); }
public Moonstones(DataOvlReference dataOvlRef, MoonPhaseReferences moonPhaseReferences, Moongates moongates) : base(dataOvlRef, null) { _moongates = moongates; _moonPhaseReferences = moonPhaseReferences; // go through each of the moon phases one by one and create a moonstone foreach (MoonPhaseReferences.MoonPhases phase in Enum.GetValues(typeof(MoonPhaseReferences.MoonPhases))) { // there is no "no moon" moonstone if (phase == MoonPhaseReferences.MoonPhases.NoMoon) { continue; } Items[phase] = new Moonstone(phase, dataOvlRef.StringReferences.GetString(DataOvlReference.ZstatsStrings.MOONSTONE_SPACE).TrimEnd(), dataOvlRef.StringReferences.GetString(DataOvlReference.ZstatsStrings.MOONSTONE_SPACE).TrimEnd(), dataOvlRef.StringReferences.GetString(DataOvlReference.ThingsIFindStrings.A_STRANGE_ROCK_BANG_N) .TrimEnd(), moongates, null); //invRefs.GetInventoryReference(InventoryReferences.InventoryReferenceType.Item, phase.ToString())); } }
public override void OnAfterDelete() { base.OnAfterDelete(); Moongates.Remove(this); }
public PublicMoongate(Serial serial) : base(serial) { Moongates.Add(this); }