diff --git a/Mud Designer ToolKit.mm b/Mud Designer ToolKit.mm new file mode 100644 index 0000000..9afd72c --- /dev/null +++ b/Mud Designer ToolKit.mm @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Mud Designer/MudEngine/GameManagement/ProjectInformation.cs b/Mud Designer/MudEngine/GameManagement/ProjectInformation.cs new file mode 100644 index 0000000..1d963b3 --- /dev/null +++ b/Mud Designer/MudEngine/GameManagement/ProjectInformation.cs @@ -0,0 +1,118 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.ComponentModel; +using System.Xml.Serialization; +using System.Xml; + +//MudEngine +using MudDesigner.MudEngine.Attributes; +using MudDesigner.MudEngine.FileSystem; +using MudDesigner.MudEngine.GameObjects; +using MudDesigner.MudEngine.GameObjects.Environment; + +namespace MudDesigner.MudEngine.GameManagement +{ + [XmlInclude(typeof(StartingLocation))] + [XmlInclude(typeof(Currency))] + public class ProjectInformation + { + public enum TimeOfDayOptions + { + AlwaysDay, + AlwaysNight, + Transition, + } + + [Category("Company Settings")] + /// + /// Gets or Sets the name of the company + /// + public string CompanyName { get; set; } + + [Category("Company Settings")] + /// + /// Gets or Sets the companies website for this project + /// + public string Website { get; set; } + + [Category("Project Settings")] + [Description("The name of the game.")] + public string GameTitle { get; set; } + + [Category("Project Settings")] + /// + /// Gets or Sets if the game autosaves when the player changes locations. + /// + public bool AutoSave { get; set; } + + [Category("Project Settings")] + /// + /// Gets or Sets if room names are hidden during console output. + /// + public bool HideRoomNames { get; set; } + + [Category("Day Management")] + public TimeOfDayOptions TimeOfDay + { + get; + set; + } + + [Category("Day Management")] + [Description("Set how long in minutes it takes to transition from day to night.")] + public int TimeOfDayTransition + { + get; + set; + } + + [Category("Day Management")] + [Description("Sets how long in minutes a day lasts in the game world.")] + public int DayLength + { + get; + set; + } + + [Category("Project Settings")] + public string Version { get; set; } + + [Category("Game Currency")] + [Description("Sets the amount that the base currency is valued at.")] + public uint BaseCurrencyAmount { get; set; } + + + [Category("Game Currency")] + public string BaseCurrencyName { get; set; } + + + + //TODO: Add Party support. + [Browsable(false)] + public List CurrencyList { get; set; } + + [Browsable(false)] + public string ProjectPath { get; set; } + + [Browsable(false)] + public StartingLocation InitialLocation + { + get; + set; + } + + [Browsable(false)] + public string Story + { + get; + set; + } + + public ProjectInformation() + { + CurrencyList = new List(); + } + } +} diff --git a/Mud Designer/MudEngine/GameManagement/QuestSetup.cs b/Mud Designer/MudEngine/GameManagement/QuestSetup.cs new file mode 100644 index 0000000..d88f9a9 --- /dev/null +++ b/Mud Designer/MudEngine/GameManagement/QuestSetup.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace MudDesigner.MudEngine.GameManagement +{ + public class QuestSetup + { + } +}