Python script meant to generate weapons and create a json array with those.
To run the program, copy the repository and run main.py
I wrote it with Python 3.7, so I guess you need at least this version of python to run this
Also do a pip install requirements.txt
, Flask is now required since there is an API
Still in the works, not recommended
The web api is the big bold feature of this project. you basically run flask run
and boom, you get a REST api that only uses get requests.
If you want to change the first word of the weapon's name, you can do so by editing the names.json
file.
Python and Vs Code
{
"name": "Artisanal Rifle",
"type": "ASSAULT_RIFLE",
"rarity": 5,
"is_bolt_action": false,
"dmg": 5,
"clip_size": 46,
"max_ammo": 500
}
- Benoit Arnoult (me)
This project is licensed under the MIT License - see the LICENSE file for details