# HG changeset patch # User Asa Ayers # Date 1281507558 25200 # Node ID 2112f71c423793a6f0479075ac4d3f01230be25e # Parent 26f45b6e8d4d905227015c12cf586a85006c6893 Changed the ArkInventory rule to consider items with no competition to be profitable. diff -r 26f45b6e8d4d -r 2112f71c4237 CHANGELOG.txt --- a/CHANGELOG.txt Sun Aug 08 07:57:45 2010 -0700 +++ b/CHANGELOG.txt Tue Aug 10 23:19:18 2010 -0700 @@ -1,3 +1,7 @@ +2010-08-08 Asa Ayers + +- Changed the ArkInventory rule to consider items with no competition to be profitable. + 2010-08-08 Asa Ayers - Removed some debugging code and added some code to prevent ItemAuditor from crashing if debug code gets released. diff -r 26f45b6e8d4d -r 2112f71c4237 Modules/ArkInventoryRules.lua --- a/Modules/ArkInventoryRules.lua Sun Aug 08 07:57:45 2010 -0700 +++ b/Modules/ArkInventoryRules.lua Tue Aug 10 23:19:18 2010 -0700 @@ -47,11 +47,8 @@ local ap = ItemAuditor:GetAuctionPrice(link) local keep = 1 - ItemAuditor:GetAHCut() - if ap ~= nil then - - if ap > ceil(investedPerItem/keep) then - return true - end + if ap == nil or ap > ceil(investedPerItem/keep) then + return true end end return false