From c7306cbacf0e0bb766f5c3fcd3863ad0f498283f Mon Sep 17 00:00:00 2001 From: Daniel Asher Resnick Date: Thu, 23 Feb 2023 20:00:31 -0600 Subject: [PATCH] Add data for a test stock To use, has to be copied into the data/custom directory --- tests/data/custom/test.lifepaths | 133 +++++++++++++++++++++++++++++++ tests/data/custom/test.resources | 25 ++++++ tests/data/custom/test.skills | 39 +++++++++ tests/data/custom/test.stock | 95 ++++++++++++++++++++++ tests/data/custom/test.traits | 55 +++++++++++++ 5 files changed, 347 insertions(+) create mode 100644 tests/data/custom/test.lifepaths create mode 100644 tests/data/custom/test.resources create mode 100644 tests/data/custom/test.skills create mode 100644 tests/data/custom/test.stock create mode 100644 tests/data/custom/test.traits diff --git a/tests/data/custom/test.lifepaths b/tests/data/custom/test.lifepaths new file mode 100644 index 0000000..384ab4b --- /dev/null +++ b/tests/data/custom/test.lifepaths @@ -0,0 +1,133 @@ +{ + "stock": "test", + "settings": { + "Test Setting": { + "Born Test": { + "time": 7, + "res": 5, + "skills": [ + [ + 1, + "General" + ] + ], + "traits": [ + 2 + ], + "leads": [ + "Nowhere" + ], + "key_leads": [ + "Nowhere Setting" + ] + }, + "A thing": { + "time": 5, + "res": 2, + "stat": [ + [ + 2, + "p" + ] + ], + "skills": [ + [ + 4, + "Testing", + "Forest-wise", + "Stealthy" + ] + ], + "traits": [ + 1 + ], + "leads": [ + "Nowhere" + ], + "key_leads": [ + "Nowhere Setting" + ] + } + }, + "Nowhere Setting": { + "Born Nothing": { + "time": 0, + "res": 0, + "skills": [ + ], + "traits": [ + ], + "leads": [ + ], + "key_leads": [ + ] + }, + "Not A Thing": { + "time": 15, + "res": 1, + "stat": [ + [ + 1, + "pm" + ] + ], + "skills": [ + [ + 2, + "Nothinging", + "Voiding" + ] + ], + "traits": [ + 3 + ], + "leads": [ + "Somewhere" + ], + "key_leads": [ + "Somewhere Subsetting" + ] + } + }, + "Somewhere Subsetting": { + "Something Special": { + "time": 30, + "res": 21, + "stat": [ + [ + 1, + "m" + ],[ + 1, + "p" + ],[ + 1, + "pm" + ] + ], + "skills": [ + [ + 7, + "Specializing", + "Soothing", + "History", + "Sorcery", + "Spirit Binding", + "Harming" + ] + ], + "traits": [ + 3, + "Stubborn", + "Shy" + ], + "leads": [ + "Nowhere" + ], + "key_leads": [ + "Nowhere Setting" + ] + } + } + } +} diff --git a/tests/data/custom/test.resources b/tests/data/custom/test.resources new file mode 100644 index 0000000..6897d35 --- /dev/null +++ b/tests/data/custom/test.resources @@ -0,0 +1,25 @@ +{ + "stock": "test", + "resources": [ + { + "name": "Rags", + "type": "gear", + "rp": 1 + }, + { + "name": "Riches", + "type": "gear", + "rp": 50 + }, + { + "name": "A firey soul", + "type": "gear", + "rp": 3 + }, + { + "name": "Chest or Footlocker", + "type": "gear", + "rp": 3 + } + ] +} diff --git a/tests/data/custom/test.skills b/tests/data/custom/test.skills new file mode 100644 index 0000000..d95490d --- /dev/null +++ b/tests/data/custom/test.skills @@ -0,0 +1,39 @@ +{ + "Testing": { + "stock": "testish", + "roots": [ + "Perception" + ] + }, + "Nothinging": { + "stock": "testish", + "roots": [ + "Will", + "Agility" + ] + }, + "Voiding": { + "stock": "testish", + "roots": [ + "Speed" + ] + }, + "Specializing": { + "stock": "testish", + "roots": [ + "Forte" + ] + }, + "Soothing": { + "stock": "testish", + "roots": [ + "Power" + ] + }, + "Harming": { + "stock": "testish", + "roots": [ + "Will" + ] + } +} diff --git a/tests/data/custom/test.stock b/tests/data/custom/test.stock new file mode 100644 index 0000000..9ad4d47 --- /dev/null +++ b/tests/data/custom/test.stock @@ -0,0 +1,95 @@ +{ + "key": "test", + "name": "Test", + "stride": 9, + "adjective": "testish", + "common_traits": [ + "Trait 1", + "testy", + "Trait #3", + "Night Eyed (Test)" + ], + "starting_stats": + [ + { + "range": [ + 1, + 10 + ], + "m": 1, + "p": 2 + }, + { + "range": [ + 11, + 20 + ], + "m": 2, + "p": 4 + }, + { + "range": [ + 21, + 30 + ], + "m": 3, + "p": 6 + }, + { + "range": [ + 31, + 40 + ], + "m": 4, + "p": 8 + }, + { + "range": [ + 41, + 50 + ], + "m": 5, + "p": 10 + }, + { + "range": [ + 51, + 60 + ], + "m": 6, + "p": 12 + }, + { + "range": [ + 61, + 70 + ], + "m": 7, + "p": 14 + }, + { + "range": [ + 71, + 80 + ], + "m": 8, + "p": 16 + }, + { + "range": [ + 81, + 90 + ], + "m": 9, + "p": 18 + }, + { + "range": [ + 91, + 100 + ], + "m": 10, + "p": 20 + } + ] +} diff --git a/tests/data/custom/test.traits b/tests/data/custom/test.traits new file mode 100644 index 0000000..7220e46 --- /dev/null +++ b/tests/data/custom/test.traits @@ -0,0 +1,55 @@ +{ + "Trait 1": { + "cost": 0, + "type": "die", + "restrict": [ + "testish", + "common" + ], + "desc": "" + }, + "testy": { + "cost": 0, + "type": "die", + "restrict": [ + "testish", + "common" + ], + "desc": "" + }, + "Trait #3": { + "cost": 0, + "type": "die", + "restrict": [ + "testish", + "common" + ], + "desc": "" + }, + "Night Eyed (Test)": { + "cost": 1, + "type": "die", + "restrict": [ + "testish", + "common" + ], + "desc": "The test version" + }, + "Shy": { + "cost": 1, + "type": "character", + "restrict": [ + "testish", + "lifepath" + ] + }, + "Special": { + "cost": 3, + "type": "die", + "restrict": [ + "testish", + "special" + ], + "desc": "Snowflake" + } +}