using System.Collections.Generic; namespace Cthangover.Mods.Rpg { /// /// One page of a map event, as in RPG Maker: the event's look and effect while the /// page's holds. Every field left out (null) is the event's /// own; an empty / clears it. The last page whose /// condition holds is the active one; the event's own fields are page 0 and count only /// while the event's own condition holds (). /// public class RpgEventPage { /// Scenario condition of the page; empty = always. public string Condition { get; set; } /// Charset of the page ("" = none). public string Sprite { get; set; } /// Atlas tile of the page (-1 = none). public int? Tile { get; set; } /// Item icon of the page ("" = none). public string Icon { get; set; } /// Facing the event turns to when the page becomes active. public RpgDirection? Dir { get; set; } /// How the page starts. public RpgEventTrigger? Trigger { get; set; } /// Whether the page blocks walking. public bool? Solid { get; set; } /// Scenario file of the page. public string Scenario { get; set; } /// Inline scenario lines of the page. public List Commands { get; set; } /// Teleport of the page. public RpgTeleport Teleport { get; set; } /// Autonomous movement of the page. public RpgMoveRoute Route { get; set; } } }