Skip to content

Commit

Permalink
update main
Browse files Browse the repository at this point in the history
  • Loading branch information
Samalmeida1028 committed Dec 12, 2022
1 parent 4cac1fb commit 4275e81
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified Objects/__pycache__/Item.cpython-310.pyc
Binary file not shown.
Binary file modified Objects/__pycache__/Shop.cpython-310.pyc
Binary file not shown.
Binary file modified Objects/__pycache__/TypeAndRegionManager.cpython-310.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions shop-generator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,14 +321,14 @@ def generateShops(): # prompts the user for shop generation
thread.start()
threadList.append(thread)
for thread in threadList:
thread.join()
thread.join()g
shops.saveShops() # saves the shops to the text file
types.saveTypes()
regions.saveRegions()
et = time.time()
print("Total time was: %s." % (et - st))


# TODO: Fix this pls :D
def makeShopRandom(type_shop: str, city: str, owner: str, region: str, wealth: str):
region_list = list(regions.region_list) # gets a list of the regions from the text file
type_list = list(types.type_list.keys()) # gets a list of the types of shops from the text file
Expand Down

0 comments on commit 4275e81

Please sign in to comment.