diff options
author | ubq323 <ubq323@ubq323.website> | 2023-01-05 04:40:18 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-01-05 04:40:18 +0000 |
commit | 3097be4efbbcf1ea5b23aa41a0d5b77ee8734183 (patch) | |
tree | 795007fe18e490c28da7be5dd094e0706299a0ce | |
parent | 99afb57b6c1aee8c9cd6c17d48e4c41f788fe08f (diff) |
shop2
-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) |