Exemplo n.º 1
0
        public override GameObject CreateGameObject(ReferenceData referenceData, Transform parent = null)
        {
            var gameObject = base.CreateGameObject(referenceData, parent);
            var ownerData  = new OwnerData(referenceData.Owner, referenceData.Global, referenceData.Faction, referenceData.Rank);

            var charge = referenceData.Charge == -1 ? data.MaxCharge : referenceData.Charge;

            Clothing.Create(gameObject, this, referenceData);

            return(gameObject);
        }
Exemplo n.º 2
0
    public override void Initialize()
    {
        RoomType = RMUD.RoomType.Interior;
        Short    = "Palantine Villa - Plato's Closet";

        AddScenery(new lamp());

        Move(Clothing.Create("pair of jeans", ClothingLayer.Outer, ClothingBodyPart.Legs), this);
        Move(Clothing.Create("polo shirt", ClothingLayer.Outer, ClothingBodyPart.Torso), this);
        Move(Clothing.Create("pair of briefs", ClothingLayer.Under, ClothingBodyPart.Legs), this);

        OpenLink(RMUD.Direction.WEST, "palantine\\solar");
    }