Mod articles
-
Creating Advanced Melee Framework Content Packs
Content packs consist of a manifest.json file and a content.json file. If you allow your users to configure any variables, a config.json file will also be created on load.
JSON Format
The manifest.json file should follow the SMAPI content pack manifest format. Just use the example content pack as a template.
The content.json file contains a single weapons JSON array, with a list of JSON objects that have the following keys:
Weapon Keys
"id": either the melee weapon id or the weapon name (for JSON Assets weapons); this is ignored if using type
"type": setting this to 1 (dagger), 2 (club), or 3 (sword) will make this skill apply to all weapons of that type.
"enchantments": a JSON array of objects associated w...