Skip to content

Commit

Permalink
Inter-scenario actions and advantages
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Salinas authored and Daniel Salinas committed Dec 1, 2024
1 parent 02431a1 commit 191c147
Show file tree
Hide file tree
Showing 3 changed files with 665 additions and 125 deletions.
160 changes: 160 additions & 0 deletions campaigns/zoz/04_deep_impact.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,166 @@
"rules": [
],
"steps": [
{
"id": "$play_scenario",
"type": "input",
"input": {
"type": "play_scenario",
"branches": [
{
"id": "ask_fatigue_companion",
"text": "Fatigue a Companio",
"repeatable": true,
"steps": ["ask_fatigue_companion"]
}
]
}
},
{
"id": "ask_fatigue_companion",
"text": "Which companion should be fatigued?",
"type": "input",
"input": {
"type": "checklist",
"text": "Fatigue",
"min": 0,
"max": 4,
"choices": [
{
"id": "capn_bill",
"text": "Cap'n Bill",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_capn_bill",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_capn_bill"]
},
{
"id": "jack",
"text": "Jack Pumpkinhead",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_jack",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_jack"]
},
{
"id": "shaggy",
"text": "Shaggy Man",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_shaggy",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_shaggy"]
},
{
"id": "lion",
"text": "The Cowardly Lion",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_lion",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_lion"]
},
{
"id": "frogman",
"text": "The Frogman",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_frogman",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_frogman"]
},
{
"id": "tiger",
"text": "The Hungry Tiger",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_tiger",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_tiger"]
},
{
"id": "patchwork",
"text": "The Patchwork Girl",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_patchwork",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_patchwork"]
},
{
"id": "sawhorse",
"text": "The Sawhorse",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_sawhorse",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_sawhorse"]
},
{
"id": "scarecrow",
"text": "The Scarecrow",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_scarecrow",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_scarecrow"]
},
{
"id": "tinman",
"text": "The Tin Woodman",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_tinman",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_tinman"]
},
{
"id": "wizard",
"text": "The Wizard",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_wizard",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_wizard"]
},
{
"id": "tik_tok",
"text": "Tik-Tok",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s2_companion_tik_tok",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_tik_tok"]
}
]
}
},
{
"id": "set_hidden_country",
"hidden": true,
Expand Down
160 changes: 160 additions & 0 deletions campaigns/zoz/10_hall_of_the_mountain_king.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,166 @@
"rules": [
],
"steps": [
{
"id": "$play_scenario",
"type": "input",
"input": {
"type": "play_scenario",
"branches": [
{
"id": "ask_fatigue_companion",
"text": "Fatigue a Companio",
"repeatable": true,
"steps": ["ask_fatigue_companion"]
}
]
}
},
{
"id": "ask_fatigue_companion",
"text": "Which companion should be fatigued?",
"type": "input",
"input": {
"type": "checklist",
"min": 0,
"max": 4,
"text": "Fatigue",
"choices": [
{
"id": "capn_bill",
"text": "Cap'n Bill",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_capn_bill",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_capn_bill"]
},
{
"id": "jack",
"text": "Jack Pumpkinhead",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_jack",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_jack"]
},
{
"id": "shaggy",
"text": "Shaggy Man",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_shaggy",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_shaggy"]
},
{
"id": "lion",
"text": "The Cowardly Lion",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_lion",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_lion"]
},
{
"id": "frogman",
"text": "The Frogman",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_frogman",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_frogman"]
},
{
"id": "tiger",
"text": "The Hungry Tiger",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_tiger",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_tiger"]
},
{
"id": "patchwork",
"text": "The Patchwork Girl",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_patchwork",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_patchwork"]
},
{
"id": "sawhorse",
"text": "The Sawhorse",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_sawhorse",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_sawhorse"]
},
{
"id": "scarecrow",
"text": "The Scarecrow",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_scarecrow",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_scarecrow"]
},
{
"id": "tinman",
"text": "The Tin Woodman",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_tinman",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_tinman"]
},
{
"id": "wizard",
"text": "The Wizard",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_wizard",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_wizard"]
},
{
"id": "tik_tok",
"text": "Tik-Tok",
"condition": {
"type": "campaign_log",
"section": "hidden",
"id": "s6_companion_tik_tok",
"options": [{ "boolCondition": true }]
},
"steps": ["$fatigue_tik_tok"]
}
]
}
},
{
"id": "location_layout",
"type": "location_setup",
Expand Down
Loading

0 comments on commit 191c147

Please sign in to comment.