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); }
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"); }