0 of 0

File information

Last updated

Original upload

Created by

linkoid

Uploaded by

linkoidDev

Virus scan

Safe to use

About this mod

YAML Adapter for Content Patcher is a framework that allows creating Content Patcher mods using YAML instead of JSON.

Requirements
Permissions and credits
YAML Adapter for Content Patcher

YAML Adapter for Content Patcher is a framework that allows creating Content Patcher content packs using human-friendly YAML instead of JSON.


Installation



For Mod Authors

YACP works exactly the same as Content Patcher. The only things that change are the use of content.yaml files instead of content.json, and the YAML syntax.

For details on using Content Patcher, refer to the Content Patcher Author Guide.
For details on using YAML with Content Patcher, refer to the example content.yaml file.


Migrating from JSON

An existing content.json file can quickly be converted to a content.yaml file
using YACP's online JSON converter.


Examples

Example mod file structure:
📁 Mods/
📁 [YACP] YourModName/
🗎 content.yaml
🗎 manifest.json
📁 assets/
🗎 example.png

Example content.yaml file:
Format: 2.3.0
Changes:
- Action: Load
  Target: Portraits/Abigail
  FromFile: "assets/example.png"


Links