Quickstart
DataSheetLang lets you describe changes in YAML and apply them to your game’s XML DataSheet in a repeatable way.
Prerequisites
Section titled “Prerequisites”- You have the
dslCLI available in your terminal. - You have a local DataSheet folder (the folder that contains files like
ItemTemplate.xml, etc.).
-
Create a spec file
Create a new file, for example:
items.yamlspec:version: "1.0"items:create:- id: 99001name: "Training Sword"level: 1rareGrade: "Common"combatItemType: EquipWeaponcombatItemSubType: Twohandcategory: LancebuyPrice: 100sellPrice: 10maxStack: 1 -
Apply the spec to your DataSheet
From the folder where
items.yamlis located:Terminal window dsl apply items.yaml --path ./DataSheetThis will read your YAML spec and update the relevant XML files under
./DataSheet.