Project restructure completed. All editors now contained within a single Project.
Note that some things are still broken from the migration, but will be addressed.
This commit is contained in:
parent
ec48ae95c3
commit
b87136bc13
38 changed files with 4623 additions and 0 deletions
72
Mud Designer/MudEngine/GameObjects/Environment/Room.cs
Normal file
72
Mud Designer/MudEngine/GameObjects/Environment/Room.cs
Normal file
|
@ -0,0 +1,72 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace MudDesigner.MudEngine.Objects.Environment
|
||||
{
|
||||
public class Room : BaseObject
|
||||
{
|
||||
[Category("Room Senses")]
|
||||
[DefaultValue("You don't smell anything unsual.")]
|
||||
public string Smell
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[Category("Room Senses")]
|
||||
[DefaultValue("You hear nothing of interest.")]
|
||||
public string Listen
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[Category("Room Senses")]
|
||||
[DefaultValue("You feel nothing.")]
|
||||
public string Feel
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[Category("Room Information")]
|
||||
[DefaultValue(false)]
|
||||
public bool StatDrain
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[Category("Room Information")]
|
||||
[DefaultValue(0)]
|
||||
public int StatDrainAmount
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[Category("Room Information")]
|
||||
[DefaultValue(false)]
|
||||
public bool IsSafeRoom
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
public List<Door> InstalledDoors;
|
||||
|
||||
public Room()
|
||||
{
|
||||
InstalledDoors = new List<Door>();
|
||||
this.Feel = "You feel nothing.";
|
||||
this.Listen = "You hear nothing of interest.";
|
||||
this.Smell = "You don't smell anything unsual.";
|
||||
this.StatDrainAmount = 0;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue