Establish mother's letter request in the first call
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -18,11 +18,11 @@
|
||||
},
|
||||
"intro_02": {
|
||||
"speaker": "Мама",
|
||||
"text": "Чай поставила. Хотела тебе позвонить, а ты сама. Как день?"
|
||||
"text": "Чай поставила. Тут важное письмо не открывается. Приедешь — поможешь с почтой?"
|
||||
},
|
||||
"intro_03": {
|
||||
"speaker": "Катя",
|
||||
"text": "Обычный. Автобус долго ждала. У тебя телевизор так громко работает?"
|
||||
"text": "Конечно, мам. Приеду — разберёмся. У тебя телевизор так громко работает?"
|
||||
},
|
||||
"intro_04": {
|
||||
"speaker": "Мама",
|
||||
@@ -178,15 +178,15 @@
|
||||
},
|
||||
"mail_hint_k": {
|
||||
"speaker": "Катя",
|
||||
"text": "Мам, ты разобралась, как открывать почту на ноутбуке?"
|
||||
"text": "Мам, давай разберёмся с тем письмом. Что написано в теме?"
|
||||
},
|
||||
"mail_hint_m": {
|
||||
"speaker": "Мама",
|
||||
"text": "Да. Там письмо из домового чата, помечено «Важно». Что-то про сейф. Но ноутбук без розетки не работает."
|
||||
"text": "Из домового чата. Помечено «Важно», что-то про сейф. Только ноутбук без розетки не работает."
|
||||
},
|
||||
"read_mail_k": {
|
||||
"speaker": "Катя",
|
||||
"text": "Открой то важное письмо. Прочитай, что там написано."
|
||||
"text": "Нажми на важное письмо два раза и прочитай вслух."
|
||||
},
|
||||
"read_mail_m": {
|
||||
"speaker": "Мама",
|
||||
@@ -451,39 +451,39 @@
|
||||
},
|
||||
"intro": [
|
||||
{
|
||||
"at": 2.97,
|
||||
"at": 2.72,
|
||||
"line": "intro_01"
|
||||
},
|
||||
{
|
||||
"at": 7.06,
|
||||
"at": 6.56,
|
||||
"line": "intro_02"
|
||||
},
|
||||
{
|
||||
"at": 12.303,
|
||||
"at": 12.716,
|
||||
"line": "intro_03"
|
||||
},
|
||||
{
|
||||
"at": 18.093,
|
||||
"at": 18.483,
|
||||
"line": "intro_04"
|
||||
},
|
||||
{
|
||||
"at": 23.876,
|
||||
"at": 24.016,
|
||||
"line": "intro_flower_k"
|
||||
},
|
||||
{
|
||||
"at": 26.706,
|
||||
"at": 26.596,
|
||||
"line": "intro_flower_m"
|
||||
},
|
||||
{
|
||||
"at": 32.472,
|
||||
"at": 32.112,
|
||||
"line": "intro_paper_k"
|
||||
},
|
||||
{
|
||||
"at": 35.062,
|
||||
"at": 34.452,
|
||||
"line": "intro_paper_m"
|
||||
},
|
||||
{
|
||||
"at": 40.399,
|
||||
"at": 39.539,
|
||||
"line": "intro_05"
|
||||
},
|
||||
{
|
||||
@@ -524,6 +524,7 @@
|
||||
"lamp_location": "Мама хранит фонарь в ящике.",
|
||||
"keys_exact": "Мама нашла ключи в правом кармане синей куртки у двери.",
|
||||
"lamp": "У фонаря перевёрнута одна батарейка. Нужно повернуть её.",
|
||||
"mail_request": "Мама не смогла открыть важное письмо в почте. Попросила Катю помочь, когда та приедет.",
|
||||
"mail": "В почте есть письмо из домового чата с пометкой «Важно», про сейф. Ноутбук работает только от сети.",
|
||||
"code": "Код сейфа: 0417. Он стоит в нижнем отделении шкафа.",
|
||||
"spare": "В сейфе — запасной ключ от бокового тамбура и старый план этажа.",
|
||||
@@ -562,6 +563,11 @@
|
||||
"lamp_location"
|
||||
]
|
||||
},
|
||||
"mail_hint_k": {
|
||||
"facts": [
|
||||
"mail_request"
|
||||
]
|
||||
},
|
||||
"mail_hint_m": {
|
||||
"learn": [
|
||||
"mail"
|
||||
@@ -618,6 +624,16 @@
|
||||
"alone"
|
||||
]
|
||||
},
|
||||
"intro_02": {
|
||||
"learn": [
|
||||
"mail_request"
|
||||
]
|
||||
},
|
||||
"intro_03": {
|
||||
"facts": [
|
||||
"mail_request"
|
||||
]
|
||||
},
|
||||
"call_03_m": {
|
||||
"learn": [
|
||||
"lamp_location"
|
||||
@@ -828,10 +844,13 @@
|
||||
},
|
||||
{
|
||||
"id": "mail_hint",
|
||||
"label": "Спроси, разобралась ли мама с почтой",
|
||||
"label": "Вернись к маминой просьбе о письме",
|
||||
"seconds": 9,
|
||||
"request": "mail_hint_k",
|
||||
"response": "mail_hint_m",
|
||||
"facts": [
|
||||
"mail_request"
|
||||
],
|
||||
"learn": [
|
||||
"mail"
|
||||
],
|
||||
@@ -1081,8 +1100,8 @@
|
||||
{
|
||||
"number": 4,
|
||||
"title": "Четыре цифры",
|
||||
"note": "Если мама уже упоминала письмо, можно вернуться к нему. Иначе сначала спроси о почте.",
|
||||
"hint": "Спросите о почте и прочитайте найденное письмо до 45-й секунды. Код переживёт новую попытку.",
|
||||
"note": "Мама попросила помочь с письмом в первом разговоре. Теперь Катя может вернуться к её просьбе и узнать, что это за письмо.",
|
||||
"hint": "Услышьте просьбу мамы в первом звонке. Затем помогите открыть письмо и прочитайте его до 45-й секунды. Код переживёт новую попытку.",
|
||||
"opening": "call_04_k",
|
||||
"reply": "call_04_m",
|
||||
"question": "question_04_k",
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
"inner_k": -23.579,
|
||||
"inner_m": -25.296,
|
||||
"intro_01": -24.72,
|
||||
"intro_02": -23.605,
|
||||
"intro_03": -26.963,
|
||||
"intro_02": -24.68,
|
||||
"intro_03": -24.688,
|
||||
"intro_04": -31.746,
|
||||
"intro_05": -23.703,
|
||||
"intro_06": -27.454,
|
||||
@@ -63,8 +63,8 @@
|
||||
"look_k": -23.026,
|
||||
"look_m": -24.936,
|
||||
"love": -32.324,
|
||||
"mail_hint_k": -23.568,
|
||||
"mail_hint_m": -24.984,
|
||||
"mail_hint_k": -24.306,
|
||||
"mail_hint_m": -25.496,
|
||||
"mother_here": -30.058,
|
||||
"mother_love": -28.942,
|
||||
"neighbor_k": -24.687,
|
||||
@@ -94,7 +94,7 @@
|
||||
"question_09_m": -29.934,
|
||||
"question_10_k": -25.65,
|
||||
"question_10_m": -30.067,
|
||||
"read_mail_k": -23.678,
|
||||
"read_mail_k": -22.391,
|
||||
"read_mail_m": -27.397,
|
||||
"safe_k": -24.381,
|
||||
"safe_m": -27.214,
|
||||
|
||||
@@ -25,31 +25,26 @@
|
||||
"pronunciation": {}
|
||||
},
|
||||
"intro_02": {
|
||||
"id": "intro_02",
|
||||
"speaker": "Мама",
|
||||
"text": "Чай поставила. Хотела тебе позвонить, а ты сама. Как день?",
|
||||
"provider": "ElevenLabs",
|
||||
"voice": "Carol - Relatable, Real, Likeable Grandma",
|
||||
"voice_id": "5u41aNhyCU6hXOcjPPv0",
|
||||
"voice_name": "Carol - Relatable, Real, Likeable Grandma",
|
||||
"speaker": "Мама",
|
||||
"generation_id": "o5LIDgjjTWs15Lp3s54B",
|
||||
"node_id": "IdzQNfPeHDoxT0NyZsLu",
|
||||
"transcription_generation_id": "1qDCJyapGcvehOy4gldO",
|
||||
"model_id": "eleven_v4",
|
||||
"generation_id": "HLS00kVLvtfKFtE5zjoz",
|
||||
"node_id": "5SiHPGjal8tKQBiRRqFm",
|
||||
"session_ids": [
|
||||
"zFImSFklkN2FOTVIrOrw"
|
||||
],
|
||||
"transcription_generation_id": "FnFiTm9dOPPAC0b4zIHG",
|
||||
"source_duration": 143.04,
|
||||
"voice": "Carol - Relatable, Real, Likeable Grandma",
|
||||
"flow_id": "UXHRA54DQ1G1wtb5XwwC",
|
||||
"id": "intro_02",
|
||||
"text": "Чай поставила. Тут важное письмо не открывается. Приедешь — поможешь с почтой?",
|
||||
"direction": "Бытовая просьба помочь с письмом при встрече. Никакого предчувствия беды или намёка на сейф.",
|
||||
"tts_text": "[warmly] Чай поставила. Тут важное письмо не открывается. Приедешь — поможешь с почтой?",
|
||||
"pronunciation": {},
|
||||
"file": "assets/voice/intro_02.wav",
|
||||
"source_start": 3.967,
|
||||
"source_end": 8.76,
|
||||
"wav_duration": 4.793,
|
||||
"sha256": "ce2e97dc4eacde9f88cfd2bb89470a6303925c22104adf62594ae0b81bee9cb6",
|
||||
"direction": "Рада звонку; вопрос о дне живой, не дикторский.",
|
||||
"tts_text": "[warmly] Чай поставила. Хотела тебе /pəzvɐˈnʲitʲ/, а ты сама. Как день?",
|
||||
"pronunciation": {
|
||||
"позвонить": "/pəzvɐˈnʲitʲ/"
|
||||
}
|
||||
"source_start": 0.044,
|
||||
"source_end": 6.0,
|
||||
"wav_duration": 5.956,
|
||||
"sha256": "d14526d246c7bc2a207e7f33686d6f8d5ec2cb8601fa4f803d63ad926ca6a819"
|
||||
},
|
||||
"intro_04": {
|
||||
"id": "intro_04",
|
||||
@@ -512,21 +507,21 @@
|
||||
"voice_id": "5u41aNhyCU6hXOcjPPv0",
|
||||
"voice_name": "Carol - Relatable, Real, Likeable Grandma",
|
||||
"speaker": "Мама",
|
||||
"generation_id": "yd57JXMKsSj39rWk5XxB",
|
||||
"node_id": "yySDtHYo1Lbs5qQzezlJ",
|
||||
"transcription_generation_id": "UQIHILUqebRcCybvHlGK",
|
||||
"generation_id": "o5LIDgjjTWs15Lp3s54B",
|
||||
"node_id": "IdzQNfPeHDoxT0NyZsLu",
|
||||
"transcription_generation_id": "1qDCJyapGcvehOy4gldO",
|
||||
"model_id": "eleven_v4",
|
||||
"flow_id": "4QRiJZBnBe1AqWhPbCJo",
|
||||
"flow_id": "UXHRA54DQ1G1wtb5XwwC",
|
||||
"id": "mail_hint_m",
|
||||
"text": "Да. Там письмо из домового чата, помечено «Важно». Что-то про сейф. Но ноутбук без розетки не работает.",
|
||||
"text": "Из домового чата. Помечено «Важно», что-то про сейф. Только ноутбук без розетки не работает.",
|
||||
"direction": "Короткая понятная просьба или ответ; сдержанная тревога, без крика.",
|
||||
"tts_text": "[cautiously] Да. Там письмо из домового чата, помечено «Важно». Что-то про сейф. Но ноутбук без розетки не работает.",
|
||||
"tts_text": "[cautiously] Из домового чата. Помечено «Важно», что-то про сейф. Только ноутбук без розетки не работает.",
|
||||
"pronunciation": {},
|
||||
"file": "assets/voice/mail_hint_m.wav",
|
||||
"source_start": 16.037,
|
||||
"source_end": 25.36,
|
||||
"wav_duration": 9.323,
|
||||
"sha256": "c89ee5cd235cb2aa81346f826fbae397e0b83cacccdd148503b8ac01b41c467e"
|
||||
"source_start": 7.18,
|
||||
"source_end": 15.04,
|
||||
"wav_duration": 7.86,
|
||||
"sha256": "eb144b01cdb2e758a1dcec8063e2fd09a17931a9af5852fc2776c8f5c2b2869a"
|
||||
},
|
||||
"read_mail_m": {
|
||||
"id": "read_mail_m",
|
||||
@@ -1369,29 +1364,26 @@
|
||||
"pronunciation": {}
|
||||
},
|
||||
"intro_03": {
|
||||
"id": "intro_03",
|
||||
"speaker": "Катя",
|
||||
"text": "Обычный. Автобус долго ждала. У тебя телевизор так громко работает?",
|
||||
"provider": "ElevenLabs",
|
||||
"voice": "Jessica - Playful, Bright, Warm",
|
||||
"voice_id": "cgSgspJ2msm6clMCkdW9",
|
||||
"voice_name": "Jessica - Playful, Bright, Warm",
|
||||
"speaker": "Катя",
|
||||
"generation_id": "mEMmFJsbuudjz72pd7fs",
|
||||
"node_id": "i44yJ2BdKKTnwCRFwA0m",
|
||||
"transcription_generation_id": "RQcvsPnU53pWr0jHVyML",
|
||||
"model_id": "eleven_v4",
|
||||
"generation_id": "CoA8i0E9GDrop9hi6Cq9",
|
||||
"node_id": "AOeDfHfaga4u6mzxUwOJ",
|
||||
"session_ids": [
|
||||
"ZyoTbaGbcJJVVQKMxvMO"
|
||||
],
|
||||
"transcription_generation_id": "gz4F3zWH6QqVaDIhPguq",
|
||||
"source_duration": 187.84,
|
||||
"voice": "Jessica - Playful, Bright, Warm",
|
||||
"flow_id": "UXHRA54DQ1G1wtb5XwwC",
|
||||
"id": "intro_03",
|
||||
"text": "Конечно, мам. Приеду — разберёмся. У тебя телевизор так громко работает?",
|
||||
"direction": "Буднично соглашается помочь маме; замечает громкий телевизор, без тревоги.",
|
||||
"tts_text": "[warmly] Конечно, мам. Приеду — разберёмся. У тебя телевизор так громко работает?",
|
||||
"pronunciation": {},
|
||||
"file": "assets/voice/intro_03.wav",
|
||||
"source_start": 4.38,
|
||||
"source_end": 9.72,
|
||||
"wav_duration": 5.34,
|
||||
"sha256": "ce75408a370709f6dc442d57e98ed1c7cd9bf90f920db7c7af0838126c2bdad4",
|
||||
"direction": "Бытовая усталость, вопрос о телевизоре без раздражения.",
|
||||
"tts_text": "[tired] Обычный. Автобус долго ждала. У тебя телевизор так громко работает?",
|
||||
"pronunciation": {}
|
||||
"source_start": 0.14,
|
||||
"source_end": 5.707,
|
||||
"wav_duration": 5.567,
|
||||
"sha256": "65b6810a5cd36b17d336ceac945b9c597faf19c1c9e16fa70bccfaea4859e3ec"
|
||||
},
|
||||
"intro_05": {
|
||||
"id": "intro_05",
|
||||
@@ -1698,21 +1690,21 @@
|
||||
"voice_id": "cgSgspJ2msm6clMCkdW9",
|
||||
"voice_name": "Jessica - Playful, Bright, Warm",
|
||||
"speaker": "Катя",
|
||||
"generation_id": "c6STRdTYjqlD2gF3IUcL",
|
||||
"node_id": "uAG5bSfIBeSkQU1PP5rv",
|
||||
"transcription_generation_id": "QNUKIEVJw6PYTXzsvYZR",
|
||||
"generation_id": "mEMmFJsbuudjz72pd7fs",
|
||||
"node_id": "i44yJ2BdKKTnwCRFwA0m",
|
||||
"transcription_generation_id": "RQcvsPnU53pWr0jHVyML",
|
||||
"model_id": "eleven_v4",
|
||||
"flow_id": "4QRiJZBnBe1AqWhPbCJo",
|
||||
"flow_id": "UXHRA54DQ1G1wtb5XwwC",
|
||||
"id": "mail_hint_k",
|
||||
"text": "Мам, ты разобралась, как открывать почту на ноутбуке?",
|
||||
"text": "Мам, давай разберёмся с тем письмом. Что написано в теме?",
|
||||
"direction": "Короткая понятная просьба или ответ; сдержанная тревога, без крика.",
|
||||
"tts_text": "[focused] Мам, ты разобралась, как открывать почту на ноутбуке?",
|
||||
"tts_text": "[focused] Мам, давай разберёмся с тем письмом. Что написано в теме?",
|
||||
"pronunciation": {},
|
||||
"file": "assets/voice/mail_hint_k.wav",
|
||||
"source_start": 11.02,
|
||||
"source_end": 14.64,
|
||||
"wav_duration": 3.62,
|
||||
"sha256": "93d1a7719f3b012047868dd51e12cd383715a7de8c7a36a5416aae9835b5ccc5"
|
||||
"source_start": 7.02,
|
||||
"source_end": 10.9,
|
||||
"wav_duration": 3.88,
|
||||
"sha256": "cb4340bcd9864e6bcadc3b3815ba217c95e50aca2bdcf8388c433dfe56ee5cbd"
|
||||
},
|
||||
"read_mail_k": {
|
||||
"provider": "ElevenLabs",
|
||||
@@ -1720,21 +1712,21 @@
|
||||
"voice_id": "cgSgspJ2msm6clMCkdW9",
|
||||
"voice_name": "Jessica - Playful, Bright, Warm",
|
||||
"speaker": "Катя",
|
||||
"generation_id": "c6STRdTYjqlD2gF3IUcL",
|
||||
"node_id": "uAG5bSfIBeSkQU1PP5rv",
|
||||
"transcription_generation_id": "QNUKIEVJw6PYTXzsvYZR",
|
||||
"generation_id": "mEMmFJsbuudjz72pd7fs",
|
||||
"node_id": "i44yJ2BdKKTnwCRFwA0m",
|
||||
"transcription_generation_id": "RQcvsPnU53pWr0jHVyML",
|
||||
"model_id": "eleven_v4",
|
||||
"flow_id": "4QRiJZBnBe1AqWhPbCJo",
|
||||
"flow_id": "UXHRA54DQ1G1wtb5XwwC",
|
||||
"id": "read_mail_k",
|
||||
"text": "Открой то важное письмо. Прочитай, что там написано.",
|
||||
"text": "Нажми на важное письмо два раза и прочитай вслух.",
|
||||
"direction": "Короткая понятная просьба или ответ; сдержанная тревога, без крика.",
|
||||
"tts_text": "[focused] Открой то важное письмо. Прочитай, что там написано.",
|
||||
"tts_text": "[focused] Нажми на важное письмо два раза и прочитай вслух.",
|
||||
"pronunciation": {},
|
||||
"file": "assets/voice/read_mail_k.wav",
|
||||
"source_start": 15.372,
|
||||
"source_end": 18.66,
|
||||
"wav_duration": 3.288,
|
||||
"sha256": "d527f0cc88a2f1397b90a8a9ff604ac9edabe407eb2d8e8fe71804bfd9df0f5a"
|
||||
"source_start": 12.22,
|
||||
"source_end": 15.6,
|
||||
"wav_duration": 3.38,
|
||||
"sha256": "d1711dd65a902a9f889fee05756e2c10c3e736036845a5f22d14a17e6f91fa6c"
|
||||
},
|
||||
"safe_k": {
|
||||
"id": "safe_k",
|
||||
|
||||
@@ -8,7 +8,28 @@ func run(qa: RefCounted) -> void:
|
||||
qa.check(not game.facts.has("mail") and not game.facts.has("code"),"Chapter alone grants no letter or code: " + str(number))
|
||||
qa.check(game.action_button("read_mail") == null and game.action_button("safe") == null,"Unheard letter and safe stay hidden: " + str(number))
|
||||
qa.check("call_04_k" not in game.heard and "call_05_k" not in game.heard,"No knowledgeable opening on an empty profile: " + str(number))
|
||||
qa.check("письм" not in game.action_button("mail_hint").text.to_lower(),"Discovery choice does not reveal the letter")
|
||||
qa.check(game.action_button("mail_hint") == null,"No reason to bring up email without mother's earlier request")
|
||||
|
||||
qa.start(1)
|
||||
var request_at := 0.0
|
||||
for beat in game.story.intro:
|
||||
if beat.line == "intro_02": request_at = beat.at
|
||||
qa.at(request_at+0.1)
|
||||
qa.check(not game.facts.has("mail_request"),"Request is not remembered before mom finishes")
|
||||
qa.at(game.speech_until+0.01)
|
||||
qa.check(game.facts.has("mail_request") and not game.facts.has("mail") and not game.facts.has("code"),"First call establishes only an unopened important letter")
|
||||
qa.check(game.elapsed < game.story.timeline.alarm,"Letter request is heard before the siren")
|
||||
qa.click("memory")
|
||||
await qa.capture("phone-first-letter-memory")
|
||||
qa.check(game.memory_content.text.contains("Попросила Катю помочь"),"Memory records why Katya will return to the letter")
|
||||
qa.click("close_memory")
|
||||
qa.finish("flat")
|
||||
qa.click("next")
|
||||
qa.check(game.chapter == 2 and game.action_button("mail_hint") != null,"First call gives a reason to ask about the letter in call two")
|
||||
qa.check(game.action_button("read_mail") == null,"Remembering a request does not reveal contents")
|
||||
qa.perform("mail_hint")
|
||||
qa.perform("read_mail")
|
||||
qa.check(game.facts.has("code") and game.elapsed < 45,"Motivated second-call route reads the code before blackout")
|
||||
|
||||
qa.start(2)
|
||||
qa.click("memory")
|
||||
@@ -33,7 +54,7 @@ func run(qa: RefCounted) -> void:
|
||||
qa.check(game.memory_content.get_parsed_text().contains("правом кармане"),"Learned knowledge is visible in the notebook")
|
||||
qa.click("close_memory")
|
||||
|
||||
qa.start(2)
|
||||
qa.start_with_letter(2)
|
||||
qa.perform("mail_hint")
|
||||
qa.check(game.facts.has("mail") and not game.facts.has("code"),"Email conversation reveals a marked letter but not its code")
|
||||
qa.check(game.heard.has("mail_hint_k") and game.heard.has("mail_hint_m"),"Letter discovery is a complete conversation")
|
||||
@@ -88,3 +109,14 @@ func run(qa: RefCounted) -> void:
|
||||
qa.click("close_memory")
|
||||
var legacy: Dictionary = game.Profile.valid_flags({"keys":true,"mail":true,"code":true},game.story.facts)
|
||||
qa.check(not legacy.has("keys_exact") and legacy.has("code"),"Legacy guessed keys are not upgraded to confirmed knowledge")
|
||||
var previous_facts: Dictionary = game.facts.duplicate()
|
||||
var previous_completed: int = game.completed
|
||||
game.facts = {"lamp":true}
|
||||
game.completed = 3
|
||||
qa.check(game.continuation_chapter() == 1 and game.facts == {"lamp":true} and game.completed == 3,"Legacy profile hears the missing setup without losing progress")
|
||||
game.facts["mail_request"] = true
|
||||
qa.check(game.continuation_chapter() == 4,"Heard setup restores the saved continuation")
|
||||
game.facts = {"mail":true}
|
||||
qa.check(game.continuation_chapter() == 4,"Existing genuine letter knowledge remains valid")
|
||||
game.facts = previous_facts
|
||||
game.completed = previous_completed
|
||||
|
||||
@@ -359,6 +359,12 @@ func _unhandled_key_input(event: InputEvent) -> void:
|
||||
else:
|
||||
show_menu()
|
||||
|
||||
func continuation_chapter() -> int:
|
||||
# Old profiles without the new conversation must hear it, not receive an
|
||||
# invented memory. Existing discoveries and completed-call count stay intact.
|
||||
if not facts.has("mail_request") and not facts.has("mail"): return 1
|
||||
return mini(completed+1,10)
|
||||
|
||||
func show_menu() -> void:
|
||||
var box := menu_page("main")
|
||||
box.add_child(stage.centered("Не клади трубку",52,INK))
|
||||
@@ -372,7 +378,9 @@ func show_menu() -> void:
|
||||
menu_action(box,"Итоги звонка","outcome",show_outcome)
|
||||
menu_action(box,"Сообщения от подруги","ending_messages",show_messages)
|
||||
else:
|
||||
menu_action(box,"Позвонить маме" if completed == 0 else "Продолжить · звонок %d" % mini(completed + 1, 10),"start",func(): dial_call(mini(completed+1,10),false),true)
|
||||
var next_chapter := continuation_chapter()
|
||||
var start_text := "Позвонить маме" if completed == 0 else ("Первый разговор" if next_chapter == 1 else "Продолжить · звонок %d" % next_chapter)
|
||||
menu_action(box,start_text,"start",func(): dial_call(next_chapter,false),true)
|
||||
menu_action(box,"Проверка сцен","testing",show_test_menu)
|
||||
menu_action(box,"Звук и титры","settings",show_settings)
|
||||
menu_action(box,"Выйти из игры","quit",func(): get_tree().quit())
|
||||
@@ -835,7 +843,7 @@ func refresh_commands() -> void:
|
||||
var entry: Dictionary = story.chapters[chapter - 1]
|
||||
if not done.has("question") and line_allowed(entry.question):
|
||||
command_list.add_child(stage.chip("«"+str(story.lines[entry.question].text)+"»","question",func():choose_action("question")))
|
||||
var names := {"look":"У входной двери", "keys_search":"Найти ключи", "keys_fast":"Ключи в куртке", "lamp_search":"Поискать фонарь", "lamp_fast":"Повернуть батарейку", "mail_hint":"Спросить о почте", "read_mail":"Прочитать письмо", "safe":"Сейф · 0417", "front":"На площадку", "stairs":"Проверить лестницу", "side_try":"Боковая дверь", "side_open":"Ручку вверх и ключ", "inner":"Подальше от окон", "back":"Вернуться в квартиру", "neighbor":"Постучать соседке", "phone_test":"Проверить связь", "phone_shelf":"Телефон на полку", "speak_here":"Мам, я здесь", "speak_love":"Я люблю тебя"}
|
||||
var names := {"look":"У входной двери", "keys_search":"Найти ключи", "keys_fast":"Ключи в куртке", "lamp_search":"Поискать фонарь", "lamp_fast":"Повернуть батарейку", "mail_hint":"Помочь с письмом", "read_mail":"Прочитать письмо", "safe":"Сейф · 0417", "front":"На площадку", "stairs":"Проверить лестницу", "side_try":"Боковая дверь", "side_open":"Ручку вверх и ключ", "inner":"Подальше от окон", "back":"Вернуться в квартиру", "neighbor":"Постучать соседке", "phone_test":"Проверить связь", "phone_shelf":"Телефон на полку", "speak_here":"Мам, я здесь", "speak_love":"Я люблю тебя"}
|
||||
for action in story.actions:
|
||||
if command_allowed(action):
|
||||
var id: String = action.id
|
||||
|
||||
@@ -61,6 +61,12 @@ func start(number: int, knowledge: int = 0) -> void:
|
||||
memories.select(knowledge)
|
||||
click("test_start")
|
||||
|
||||
func start_with_letter(number: int) -> void:
|
||||
start(1)
|
||||
finish("flat")
|
||||
check(game.facts.has("mail_request"),"First conversation establishes mother's request")
|
||||
start(number,1)
|
||||
|
||||
func render() -> void:
|
||||
await game.get_tree().process_frame
|
||||
await game.get_tree().process_frame
|
||||
@@ -542,7 +548,7 @@ func run(target: Node) -> void:
|
||||
check(game.chapter == 3 and game.facts.has("keys_exact") and game.items.is_empty(), "Redial remembers knowledge only")
|
||||
check(game.action_button("keys_fast") != null and game.action_button("keys_search") == null, "Shortcut replaces slow search")
|
||||
|
||||
start(4)
|
||||
start_with_letter(4)
|
||||
perform("mail_hint")
|
||||
perform("read_mail")
|
||||
check(game.facts.has("code"), "Code obtainable before blackout")
|
||||
@@ -553,7 +559,7 @@ func run(target: Node) -> void:
|
||||
perform("safe")
|
||||
check(game.items.has("spare") and game.facts.has("route"), "Code opens safe on next call")
|
||||
|
||||
start(4)
|
||||
start_with_letter(4)
|
||||
perform("mail_hint")
|
||||
at(40)
|
||||
click("read_mail")
|
||||
|
||||
Reference in New Issue
Block a user