Skip to content

Quickstart

DataSheetLang lets you describe changes in YAML and apply them to your game’s XML DataSheet in a repeatable way.

  • You have the dsl CLI available in your terminal.
  • You have a local DataSheet folder (the folder that contains files like ItemTemplate.xml, etc.).

Create a new file, for example: items.yaml

spec:
version: "1.0"
items:
create:
- id: 99001
name: "Training Sword"
level: 1
rareGrade: "Common"
combatItemType: "EQUIP_WEAPON"
combatItemSubType: "TWOHAND"
category: "weapon"
buyPrice: 100
sellPrice: 10
maxStack: 1

From the folder where items.yaml is located:

Terminal window
dsl apply items.yaml --path ./DataSheet

This will read your YAML spec and update the relevant XML files under ./DataSheet.