I had an idea how to do this:
gg_weaplist 0 (random): random.shuffle(list's name)
gg_weaplist 1: Default list
gg_weaplist 2 (custom): Reads off a text file like so:
1. Open the file.
2. Runs a for loop.
3. Nested if statement to see if it's a valid weapon name comparing the names to a predefined list of valid weapons.
4. If it's valid, use split, and add it to the list. Else, the weapon doesn't get added.
Or if you want to make a list comprehension
1. Open the file.
2. Runs a for loop.
3. Nested if statement to see if it's a valid weapon name comparing the names to a predefined list of valid weapons.
4. If it's valid, use split, and make the weapon name and the ammo count into it's own tuple. Else skip the line completely.
Now someone just needs to code it.