Skip to content

Commit

Permalink
Change how hidden options are shown
Browse files Browse the repository at this point in the history
  • Loading branch information
arkhamcards committed Sep 24, 2023
1 parent f4be9b9 commit 9113f6e
Show file tree
Hide file tree
Showing 17 changed files with 194 additions and 68 deletions.
2 changes: 1 addition & 1 deletion campaigns/tcu/campaign.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "tcu",
"position": 4,
"version": 7,
"version": 8,
"name": "The Circle Undone",
"campaign_type": "campaign",
"tarot": [
Expand Down
2 changes: 2 additions & 0 deletions campaigns/tcu/in_the_clutches_of_chaos.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@
"type": "input",
"input": {
"type": "choose_one",
"show_hidden_choices": true,
"choices": [
{
"id": "alone",
Expand Down Expand Up @@ -566,6 +567,7 @@
"type": "input",
"input": {
"type": "choose_one",
"show_hidden_choices": true,
"choices": [
{
"id": "alone",
Expand Down
65 changes: 64 additions & 1 deletion campaigns/tcu/union_and_disillusion.json
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,69 @@
]
}
},
{
"id": "maybe_choose_if_sanford_is_good",
"type": "branch",
"hidden": true,
"condition": {
"type": "campaign_data",
"campaign_data": "version",
"min_version": 8,
"options": [
{
"boolCondition": true,
"steps": ["choose_if_sanford_is_good_v8"]
},
{
"boolCondition": false,
"steps": ["choose_if_sanford_is_good"]
}
]
}
},

{
"id": "choose_if_sanford_is_good_v8",
"type": "input",
"input": {
"type": "choose_one",
"show_hidden_choices": true,
"choices": [
{
"id": "yes",
"text": "<i>“Yes.”</i>",
"condition": {
"type": "multi",
"count": 2,
"conditions": [
{
"type": "campaign_log",
"section": "campaign_notes",
"id": "inducted_into_the_inner_circle",
"options": [{ "boolCondition": true }]
},
{
"type": "campaign_log",
"section": "campaign_notes",
"id": "deceiving_the_lodge",
"options": [{ "boolCondition": false }]
}
],
"options": [{ "boolCondition": true }]
},
"description": "You may choose this option only if <i>the investigators were inducted into the Inner Circle</i>, and cannot choose this option <i>if the investigators are deceiving the Lodge</i>.",
"steps": ["resolution_2"]
},
{
"id": "no",
"text": "<i>“No.”</i>",
"steps": [
"resolution_3"
]
}
]
}
},
{
"id": "choose_if_sanford_is_good",
"type": "input",
Expand Down Expand Up @@ -1819,7 +1882,7 @@
"title": "Resolution 1",
"text": "The revenant thrashes and writhes in torment, unable to escape with its connection to the spectral realm torn away. Carl Sanford steps forward, opens a thick leather tome, and the ghost’s memories—along with the remainder of its form—are unceremoniously pulled into its pages.\n“What have you done?!” Anette yells. Several members of her coven surround her. They are embattled, but you have no doubt they would lay down their life to protect their high priestess from harm.\n“What have I done? Why, I have cheated the Devil,” Sanford responds with a sinister grin. You notice the words of his tome are now glowing with a spectral radiance. “Keziah signed the Black Book of Azathoth in order to learn the secrets of the universe. A fatal error, in my estimation, for it put her in the clutches of one far more powerful than she.” He begins to read from the pages as he explains further. “She paid the price, but I shall reap the harvest.”\nAnette clenches her jaw and turns toward you. “You cannot even begin to fathom the secrets this monster now possesses. Do you truly believe he will use this power for good?” She asks.",
"steps": [
"choose_if_sanford_is_good"
"maybe_choose_if_sanford_is_good"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion campaigns/tdea/where_the_gods_dwell.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
"type": "input",
"input": {
"type": "choose_one",
"show_hidden_choices": true,
"choices": [
{
"id": "wake_up",
Expand Down Expand Up @@ -534,7 +535,7 @@
]
},
"text": "<i>Venture into the Underworld to find your companions.</i>",
"description": "You may choose this option because <i>the dreamers know of another path</i> is in the Campaign Log.",
"description": "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log.",
"steps": [
"resolution_5"
]
Expand Down
3 changes: 3 additions & 0 deletions i18n/de/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,6 @@ msgstr "Überwältigendes Werk"

msgid "Proceed to <b>Scenario IV–B: Weaver of the Cosmos</b>."
msgstr "Fahre mit <b>Scenario IV–B: Weber des Kosmos</b> fort."

msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""
3 changes: 3 additions & 0 deletions i18n/es/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,6 @@ msgstr "El plan maestro 4"

msgid "Grand Design 5"
msgstr "El plan maestro 5"

msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""
3 changes: 3 additions & 0 deletions i18n/fr/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,6 @@ msgstr "Grand Dessein"

msgid "Proceed to <b>Scenario IV–B: Weaver of the Cosmos</b>."
msgstr "Continuez vers <b>Scénario IV–B : Tisseuse du Cosmos</b>."

msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""
3 changes: 3 additions & 0 deletions i18n/it/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,6 @@ msgstr "Pensate a tutti i viaggi che avete compiuto nel Mondo dei Sogni e a quel

msgid "You recall what the black cat told you about your companions’ journey. Though you have no desire to leave the surface of the Dreamlands behind, there may be a way you can help your friends. You climb back down the northernmost peaks of Leng, returning to the domed ruins where you were confronted by Nyarlathotep’s high priest. There, in the center of the room, is the gaping pit that leads into the untold depths of the Underworld. Your companions are down there, somewhere…right?"
msgstr "Vi ricordate ciò che il gatto nero vi aveva detto riguardo il viaggio del vostro compagno. Anche se non avete alcun desiderio di lasciarvi alle spalle la superficie del Mondo dei Sogni, potreste ancora trovare il modo di aiutare i vostri amici. Tornate giù dal picco più a nord della terra di Leng, rientrando nelle rovine dove avete affrontato il Gran Sacerdote di Nyarlathotep. Lì, al centro della stanza, si trova il fosso spalancato che conduce alle profondità insondabili del Mondo di Sotto. I vostri compagni devono essere lì giù, da qualche parte… giusto?"

msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""
3 changes: 3 additions & 0 deletions i18n/ko/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,6 @@ msgstr "몽환의 땅에서의 여정과 지금껏 목도한 경이로운 것을

msgid "You recall what the black cat told you about your companions’ journey. Though you have no desire to leave the surface of the Dreamlands behind, there may be a way you can help your friends. You climb back down the northernmost peaks of Leng, returning to the domed ruins where you were confronted by Nyarlathotep’s high priest. There, in the center of the room, is the gaping pit that leads into the untold depths of the Underworld. Your companions are down there, somewhere…right?"
msgstr "검은 고양이가 동료 조사자들의 여정에 대해 말했던 걸 떠올려 봅니다. 몽환의 땅의 지표 아래로 들어가는 것은 영 내키지 않지만, 그래도 동료를 도울 수 있는 길이 있을지도 모릅니다. 당신은 렝 고원 최북단 봉우리에서 내려와 니알라토텝의 고위 사제와 맞딱뜨렸던 반구형 유적지로 되돌아왔습니다. 유적지 한가운데에는 깊이를 헤아릴 수 없을 정도로 깊은 구덩이가 있습니다. 이 구덩이는 몽환의 땅 지하세계와 이어집니다. 여러분의 동료는 몽환의 땅 아래 어딘가에 있을 것입니다…"

msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""
3 changes: 3 additions & 0 deletions i18n/pl/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,6 @@ msgstr "Myślicie o wielu podróżach, które odbyliście w Krainach snów

msgid "You recall what the black cat told you about your companions’ journey. Though you have no desire to leave the surface of the Dreamlands behind, there may be a way you can help your friends. You climb back down the northernmost peaks of Leng, returning to the domed ruins where you were confronted by Nyarlathotep’s high priest. There, in the center of the room, is the gaping pit that leads into the untold depths of the Underworld. Your companions are down there, somewhere…right?"
msgstr "Przypominacie sobie, co czarny kot powiedział wam o podróży waszych towarzyszy. Chociaż nie chcecie opuszczać powierzchni Krain snów, może istnieć jakiś sposób, aby pomóc przyjaciołom. Schodzicie z północnych szczytów Leng i wracacie do kopulastych ruin, gdzie zmierzyliście się z wysokim kapłanem Nyarlathotepa. Tu, w centrum pomieszczenia, znajduje się ziejący dół, który prowadzi do nieopisanych czeluści Podziemi. Wasi towarzysze gdzieś tam są… prawda?"

msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""
2 changes: 1 addition & 1 deletion i18n/pt/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ msgstr ""
msgid "<i>Venture into the Underworld to find your companions.</i>"
msgstr ""

msgid "You may choose this option because <i>the dreamers know of another path</i> is in the Campaign Log."
msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""

msgid "If you are playing <i>The Dream-Quest</i> as a four-part campaign:"
Expand Down
2 changes: 1 addition & 1 deletion i18n/ru/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ msgstr ""
msgid "<i>Venture into the Underworld to find your companions.</i>"
msgstr ""

msgid "You may choose this option because <i>the dreamers know of another path</i> is in the Campaign Log."
msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""

msgid "If you are playing <i>The Dream-Quest</i> as a four-part campaign:"
Expand Down
2 changes: 1 addition & 1 deletion i18n/uk/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ msgstr ""
msgid "<i>Venture into the Underworld to find your companions.</i>"
msgstr ""

msgid "You may choose this option because <i>the dreamers know of another path</i> is in the Campaign Log."
msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""

msgid "If you are playing <i>The Dream-Quest</i> as a four-part campaign:"
Expand Down
3 changes: 3 additions & 0 deletions i18n/vi/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,6 @@ msgstr "Bạn nhớ lại những gì con mèo đen đã nói với bạn về c

msgid "Grand Design"
msgstr ""

msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""
3 changes: 3 additions & 0 deletions i18n/zh/campaigns/tdea/where_the_gods_dwell.po
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,6 @@ msgstr "你回想你在幻夢境經歷的這一段段旅程,以及旅途中的

msgid "You recall what the black cat told you about your companions’ journey. Though you have no desire to leave the surface of the Dreamlands behind, there may be a way you can help your friends. You climb back down the northernmost peaks of Leng, returning to the domed ruins where you were confronted by Nyarlathotep’s high priest. There, in the center of the room, is the gaping pit that leads into the untold depths of the Underworld. Your companions are down there, somewhere…right?"
msgstr "你回想黑貓曾經說過的,你同伴們的旅程。你並不願離開幻夢境的表層,但或許你可以幫助自己的朋友。你爬下冷原最北邊的山峰,回到你與奈亞拉托提普的高階祭司對峙的那座圓頂建築。在房間中央,是一個巨大的坑洞,通向無盡深處的地下世界。你的同伴們就在那裡……對嗎?"

msgid "You may only choose this option if <i>the dreamers know of another path</i> is in the Campaign Log."
msgstr ""
Loading

0 comments on commit 9113f6e

Please sign in to comment.