fixed bug inv would not show due to illegal items
This commit is contained in:
parent
b4f4fefff8
commit
e33708d70b
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -57,7 +57,7 @@ async def invsee(self, c, n, m):
|
||||||
if len(it) < 1:
|
if len(it) < 1:
|
||||||
await self.message(c, 'you look through your kitchen and see nothing')
|
await self.message(c, 'you look through your kitchen and see nothing')
|
||||||
else:
|
else:
|
||||||
await self.message(c, 'you look through your kitchen and see {}, with a combined value of ${}'.format(' '.join(it), sum([self.bakedGoods[i] for i in it])/10))
|
await self.message(c, 'you look through your kitchen and see {}, with a combined value of ${}'.format(' '.join(it), sum([self.bakedGoods[i] for i in it if i in self.bakedGoods])/10))
|
||||||
|
|
||||||
async def generate(self, c, n, m):
|
async def generate(self, c, n, m):
|
||||||
if int(random.uniform(0,20)) == 1:
|
if int(random.uniform(0,20)) == 1:
|
||||||
|
|
Loading…
Reference in a new issue