Shop Generation options

(reduced from previous PR)
This commit is contained in:
pepperpow
2020-11-23 19:37:02 -06:00
parent 4370447adc
commit 4f58459742
10 changed files with 70 additions and 14 deletions

View File

@@ -1239,6 +1239,7 @@ class Spoiler(object):
if item is None:
continue
shopdata['item_{}'.format(index)] = "{}{}".format(item['item'], item['price']) if item['price'] else item['item']
if item['max'] == 0:
continue
shopdata['item_{}'.format(index)] += " x {}".format(item['max'])