Beispiel #1
0
        private static bool IsConsignable(IGameObject obj, object customData)
        {
            if (!obj.CanBeSoldBase())
            {
                return(false);
            }

            if (obj.Value <= 0)
            {
                return(false);
            }

            if (obj is IHiddenInInventory)
            {
                return(false);
            }

            return(true);
        }
        private static bool IsConsignable(IGameObject obj, object customData)
        {
            if (!obj.CanBeSoldBase()) return false;

            if (obj.Value <= 0) return false;

            if (obj is IHiddenInInventory) return false;

            return true;
        }