Beispiel #1
0
		public static bool GetTaken( Item target )
		{
			if( target != null )
				return target.GetSavedFlag( TakenFlag );
			else
				return false;
		}
Beispiel #2
0
		public static bool GetStealable( Item target )
		{
			if( target != null )
				return target.GetSavedFlag( StealableFlag );
			else
				return false;
		}
        public override bool CheckLift( Mobile from, Item item, ref LRReason reject )
        {
            if ( item.GetSavedFlag( 0x01 ) ) //Not lootable
            {
                reject = LRReason.CannotLift;
                return false;
            }

            if ( !base.CheckLift( from, item, ref reject ) )
                return false;

            return CanLoot( from,item );
        }