Cphrampus / DnDAppFiles

Files for the Fifth Edition apps by Lion's Den
48 stars 15 forks source link

Add ability to filter specific sources #414

Open Cphrampus opened 4 years ago

Cphrampus commented 4 years ago

As mentioned in #413, it would be useful to be able to filter out specific sources, such as Ravnica or Eberron, that do not fit the campaign world/are not desired.

The main/initial problem I see is the addition of new sources and the need to maintain a list that could be checked via argparse, but that still may be best so the user is aware of the sources available.

Trokkin commented 4 years ago

Possibly create an xml file listing the sources, then the script can automatically detect what objects are from which sources and remove whatever is passed to arguments I might experiment with this when I'll have some free time