//public ClothingLayer Layer = ClothingLayer.Outer; //public ClothingBodyPart BodyPart = ClothingBodyPart.Torso; //public Clothing() : base() { } //public Clothing(String Short, String Long) : base(Short, Long) { } public static RMUD.MudObject Create(String Short, ClothingLayer Layer, ClothingBodyPart BodyPart) { var r = new RMUD.MudObject(Short, "This is a generic " + Short + ". Layer: " + Layer + " BodyPart: " + BodyPart); r.SetProperty("clothing layer", Layer); r.SetProperty("clothing part", BodyPart); r.SetProperty("wearable?", true); return r; }
public static RMUD.MudObject Create(String Short, ClothingLayer Layer, ClothingBodyPart BodyPart) { var r = new RMUD.MudObject(Short, "This is a generic " + Short + ". Layer: " + Layer + " BodyPart: " + BodyPart); r.SetProperty("clothing layer", Layer); r.SetProperty("clothing part", BodyPart); r.SetProperty("wearable?", true); return(r); }
private RMUD.LightingLevel EmittedLight(RMUD.MudObject Item) { var outside = GetObject(Outside) as RMUD.Room; if (outside != null) { return(outside.AmbientLighting - 1); } return(RMUD.LightingLevel.Dark); }
override public void ForgetInstance(RMUD.MudObject Object) { }
override public void PersistInstance(RMUD.MudObject Object) { }
public static void Clothing(this RMUD.MudObject MudObject, ClothingLayer Layer, ClothingBodyPart BodyPart) { MudObject.SetProperty("clothing layer", Layer); MudObject.SetProperty("clothing part", BodyPart); MudObject.SetProperty("wearable?", true); }
public static void SwitchPlayerCharacter(RMUD.MudObject NewCharacter) { Driver.SwitchPlayerCharacter(NewCharacter); }