A tool for generating 5th edition Dungeons & Dragons characters
- Armor generation split into separate tiers of armor
- More realistic descriptions of wealth
- Armor generation now utilizes configs exclusively
- Weapon generation includes two-handed traits for use with shields
- Shields are no longer generated for logically-generated characters under the following conditions:
- Character wielding a two-handed weapon
- Character cannot afford a shield
- Character not proficient with shields
- More realistic descriptions of wealth
Generate weapons utilizing configs exclusively
- Shield functionality
- Armor generation now utilizes configs
- Made a cleaner format for displaying the description of the character to the user
- More realistic descriptions of wealth
Differentiate between one-hand and two-hand weaponsFor shielded weapons (you can't use shields if you have both of your hands occupied)
- Added option to logically make a character based on race
- No need to make potentially dozens of characters to get a character with the race you wanted
- Screen clearing utilizes escape characters instead of importing an entire library to do so
- Deepcopy used for armor generation to prevent possible edge-case scenarios resulting in segfaults
Change armor generation to use configsMake a cleaner format for displaying the description of the character to the user- More realistic descriptions of wealth
Implement shield functionality that was added recently
Gear generation has been added. For ease of legibility, screen clearing has been added. Basic boundary-testing has been added. The enum CL_GEAR_STER in dnd_world.py will probably be moved to using configs in the future.
I haven't yet incorporated the addition of shields. The underlying code is in dnd_world.py, but hasn't yet been added. All other gear generation is working fine, but could probably be improved in some way.
Now that most of the initial code has been cleaned up and organized, gear generation and descriptions are planned, but there is no set time. Again, this is just a project for when I'm bored and feel like learning new things :D
In the future I might fix/add a system for adding descriptions based on wealth and clothing/armor/gear worn.
It should be noted that this was my foray into python programming and was my quarantine project for a week or so in the summer of last year. It's probably very sloppy. I'm just looking for constructive feedback, be it negative or positive.