From ea8f91db18a7553378086985fd74da38218808d0 Mon Sep 17 00:00:00 2001 From: Chris Bell Date: Fri, 31 Jul 2026 23:16:31 -0500 Subject: [PATCH] More data stuff --- szds.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/szds.md b/szds.md index 620d9d6..78c87d4 100644 --- a/szds.md +++ b/szds.md @@ -23,13 +23,14 @@ The flow goes as such: - Character Template - Data templates +Example Directory Structure: ```text author.system_name/ - system.sz - icon.png - character_template.szt - templates/ - - template_name.szt + - weapon.szt ``` Example `system.sz` file @@ -152,16 +153,16 @@ formula = 'base_damage + $PLAYER.stats.modifiers.{skill}' - Reference to a System and its templates - Data Instance -Directory structure +Example Directory structure ```text author.dataset_name/ - dataset.sz - icons/ - dataset.png - - weapons/ + - weapon/ - sword.png - data/ - - weapons/ + - weapon/ - sword.szo ``` @@ -191,6 +192,10 @@ value = 10 [fields.skill] value = "str" +# This field is calculated based on the template and its value will change automatically when recalculated +[fields.calculated_damage] +value = "10" + ``` ### Games: @@ -203,6 +208,7 @@ The Game type glues everything together - Character Instances - Gamestate/Data +Example directory structure ```text game_name/ - game.sz