Example #1
0
        public void SetChest(uint k, int xoff, int yoff, int zoff)
        {
            m_Chest = new TentChest(this);
            m_Chest.Locked = true;
            m_Chest.KeyValue = k;

            m_Chest.MoveToWorld(new Point3D(xoff + this.X, yoff + this.Y, zoff + this.Z), this.Map);
        }
Example #2
0
		public Tent( Mobile owner, int id ) : base( id, owner, 0, 0 )
		{
			SetSign( -1, 5, 13 );
            if (this.Sign != null)
            {
                this.Sign.ItemID -= 1;
                this.Sign.Name = "a tent sign";
            }

			uint keyValue = CreateKeys( owner );

            TentChest tc = new TentChest( this, keyValue );
            tc.MoveToWorld( new Point3D( X, Y - 2, Z ), Map.Trammel ); // must be on a non-internal map to be moved with the house
            Addons.Add( tc );
		}