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
|
- Character Template
|
||||||
- Data templates
|
- Data templates
|
||||||
|
|
||||||
|
Example Directory Structure:
|
||||||
```text
|
```text
|
||||||
author.system_name/
|
author.system_name/
|
||||||
- system.sz
|
- system.sz
|
||||||
- icon.png
|
- icon.png
|
||||||
- character_template.szt
|
- character_template.szt
|
||||||
- templates/
|
- templates/
|
||||||
- template_name.szt
|
- weapon.szt
|
||||||
```
|
```
|
||||||
|
|
||||||
Example `system.sz` file
|
Example `system.sz` file
|
||||||
@@ -152,16 +153,16 @@ formula = 'base_damage + $PLAYER.stats.modifiers.{skill}'
|
|||||||
- Reference to a System and its templates
|
- Reference to a System and its templates
|
||||||
- Data Instance
|
- Data Instance
|
||||||
|
|
||||||
Directory structure
|
Example Directory structure
|
||||||
```text
|
```text
|
||||||
author.dataset_name/
|
author.dataset_name/
|
||||||
- dataset.sz
|
- dataset.sz
|
||||||
- icons/
|
- icons/
|
||||||
- dataset.png
|
- dataset.png
|
||||||
- weapons/
|
- weapon/
|
||||||
- sword.png
|
- sword.png
|
||||||
- data/
|
- data/
|
||||||
- weapons/
|
- weapon/
|
||||||
- sword.szo
|
- sword.szo
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -191,6 +192,10 @@ value = 10
|
|||||||
[fields.skill]
|
[fields.skill]
|
||||||
value = "str"
|
value = "str"
|
||||||
|
|
||||||
|
# This field is calculated based on the template and its value will change automatically when recalculated
|
||||||
|
[fields.calculated_damage]
|
||||||
|
value = "10"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Games:
|
### Games:
|
||||||
@@ -203,6 +208,7 @@ The Game type glues everything together
|
|||||||
- Character Instances
|
- Character Instances
|
||||||
- Gamestate/Data
|
- Gamestate/Data
|
||||||
|
|
||||||
|
Example directory structure
|
||||||
```text
|
```text
|
||||||
game_name/
|
game_name/
|
||||||
- game.sz
|
- game.sz
|
||||||
|
|||||||
Reference in New Issue
Block a user