Skip to content

Samalmeida1028/dnd-shop-gen

Repository files navigation

dnd-shop-gen

Currently, this is a project to generate simple shops with an inventory saved to a JSON object file

Most of the functionality is in main.py

When running it, the user is presented with a simple terminal. Type "help" to get a list of the currently supported commands

Functions

The terminal right now allows users to create specific shops, generate random shops in a region, add new shop regions, add items to shop regions, and enter shops and buy and sell specific items

Because everything is saved in JSON format, you can go into the text file and edit the parameters, and as long as the format is maintained, it will change in the program when you restart it

this also means you can use all save data as JSON objects

If you need to add items, then under "Scripts" there is an item adder script that can be used currently

Update:

added the ability to add items through the terminal!

TODO (in terminal app)

  • Remove shops, remove items from shops, remove regions, and remove items from regions
  • Rename Shops
  • add update shops to randomly update and change shops

TODO (General)

  • Add better comments
  • Add more documentation :D

Releases

No releases published

Packages

No packages published

Languages