Attributes per level generator
This generator will create a file that will list all the "levels", for each level it will generate a variation (these should be your class paths), and for each variation it will give you every "stat" value increment.
The generator code can be found here: https://github.com/damian-pastorini/game-data-generator/blob/master/lib/generator/attributes-per-level.js
Require parameters:
"templateBase": this will be the starting point for each "stat" value.
"typeTemplates": these will be your "class paths" keys, for each class path, the generator will create all the "stats" values per "level".
"typesVariations": similar to the type templates but in this case is to generate a variation value using a minimum and a maximum amount.
"maxLevel": if not specified then 100 will be used as default.
To use the generator follow these steps:
Go to your game folder and create a folder called "generate-data".
Inside the created folder create a new file named "attributes-per-level.json".
Save the following content in the file:
This JSON contains the parameters that will be passed to the attributes-per-level
command.
Open a console for the command line in your game folder.
Run the following command:
As result, a new folder called "generated" will be created under your "game" folder, and there you will find a file with the generated data like:
Last updated