More data stuff
This commit is contained in:
14
szds.md
14
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
|
||||
|
||||
Reference in New Issue
Block a user