Beispiel #1
0
 //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;
 }
Beispiel #2
0
        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);
        }
Beispiel #3
0
    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);
    }
Beispiel #4
0
 override public void ForgetInstance(RMUD.MudObject Object)
 {
 }
Beispiel #5
0
 override public void PersistInstance(RMUD.MudObject Object)
 {
 }
Beispiel #6
0
 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);
 }
Beispiel #7
0
 public static void SwitchPlayerCharacter(RMUD.MudObject NewCharacter)
 {
     Driver.SwitchPlayerCharacter(NewCharacter);
 }