JSON Mods: Create Virtues Sets

From Astrea Wiki
Jump to navigation Jump to search
  • After creating a mod, go to the mod folder and find the folder called "VirtuesSets";
caption
  • Now you need to create a JSON file for each Virtue Set that you want to create and put the JSON files in the folder "VirtuesSets". It is possible to create multiple Virtues Sets in the same Mod. Create a new JSON file for the Virtue Set using this JSON file Virtue Set JSON File Example as an example, it has the structure for creating new Virtues Sets, it is using Moonie default Virtues as an example;
  • Change the name of the character that the Virtue Set belongs to. It is possible to make a Virtue Set appear to all characters, to do this change the character name to "Neutral";
    "Character": "Moonie",
  • Change the name and value of the action of each Virtue. Here is a list of actions that are available to be used as Virtues Virtue Moddable Actions List.
    "Actions": [
        {
            "ActionName": "Convert",
            "ActionNumber": 1
        },
        {
            "ActionName": "Reroll",
            "ActionNumber": 2
        },
        {
            "ActionName": "null",
            "ActionNumber": 0
        },
        {
            "ActionName": "PurifyEnemy",
            "ActionNumber": 4
        },
        {
            "ActionName": "null",
            "ActionNumber": 0
        },
        {
            "ActionName": "Draw",
            "ActionNumber": 1
        },
        {
            "ActionName": "null",
            "ActionNumber": 0
        }
  • For actions that don't use a value, like Precision, you need to change the ActionNumber to "null".
        {
            "ActionName": "Precision",
            "ActionNumber": null
        },
  • After creating the Virtue Sets that you want, restart Astrea, go to the Character Selection screen, select a character that you created a Virtue Set and besides the "Play with character" button there will be a button called "Virtues", click it, the Virtue Sets that you created will be there alongside the default Virtue Set. This way you can test out the Virtue Sets that you created. Whenever you want to make changes to a Virtue Set or add a new Virtue Set you will need to restart Astrea to make it appear on the Virtues Sets UI.
Random


Go Back to Mods page: Mods