Jan-25-2020, 07:51 AM
(This post was last modified: Jan-25-2020, 07:51 AM by michael1789.)
I've been told that
I think you can just put them all in one file and
Unless you are going having billions of weapons you might do well just to have them as their own dictionaries in the weapons file, and use """ or # to separate them for your own sake.
That's likely my route. Just a file called
import *
is bad form too. Not sure why, but import file
is preferred.I think you can just put them all in one file and
import Weapons
then set a variables like:staff = Simple_Melee.quarterstaff print(staff)It's bunch of long names in a dictionary, in four modules. Unless you want to do a bunch of renaming or moving I don't know what you can do.
Unless you are going having billions of weapons you might do well just to have them as their own dictionaries in the weapons file, and use """ or # to separate them for your own sake.
That's likely my route. Just a file called
Weapons_dicts.py
.