diff options
-rw-r--r-- | shop2.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -54,7 +54,10 @@ local function take_stock() end local function item_desc_matches(idesc,itemdetail) - return itemdesc.itname == itemdetail.name + -- idesc is an entry from ITEMS + -- itemdetail is something returned from getItemDetail on the chest + -- if you were wondering + return idesc.itname == itemdetail.name end local function stock_amt(stockinfo,idesc) |