You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

261 lines
7.0 KiB
JSON

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"init_level": "start",
"start": {
"init": "spawn",
"dialogues": [
{
"id": "on_spawn",
"text": [
"\"Мастер мертв. Он даже не подозревал, что я отравил его вино.\"",
"\"Старый дурак.\"",
"\"Все его секреты заперты внутри его мастерской.\"",
"\"Он никогда не пускал меня внутрь, лишь давал свои глупые поручения.\"",
"\"Мой час настал.\"",
"\"Я заберу то, что теперь принадлежит мне, и никто не сможет меня остановить.\""
],
"type": 0
},
{
"id": "door_general_on_closed",
"text": [
"Путь преграждает дверь в виде массивного механизма.",
"Силой вскрыть не получается."
],
"type": 0
},
{
"id": "door_general_on_look",
"text": [
"\"Чертов безумец!\"",
"\"Кто же в собственную мастерскую делает такую дверь!\"",
"\"Видимо, отмычки тут не помогут.\""
],
"type": 0
},
{
"id": "diary_on_taking",
"text": [
"Старый потрепанный дневник мастера.",
"Страницы исписаны неровным подчерком,\nно кое-что полезное можно будет узнать."
],
"type": 0
},
{
"id": "diary_on_look",
"text": [
"\"Ого, это же записи мастера!\nМожет пригодиться!\""
],
"type": 0
},
{
"id": "portrait_on_click",
"text": [
"Картина покойного хозяина мастерской. Автопортрет."
],
"type": 0
},
{
"id": "portrait_on_look",
"text": [
"\"Он как будто насмехается надо мной.\nДаже после смерти...\""
],
"type": 0
},
{
"id": "table_on_look",
"text": [
"\"Обычный стол, на нём лежат какие-то бумаги.\""
]
},
{
"id": "mechanism_on_pressed",
"text": [
"Слышан характерный механический звук где-то внутри двери."
],
"type": 0
},
{
"id": "mechanism_on_failure",
"text": [
"После нажатия механизм издает резкий скрежет.",
"Все механизмы вернулись на свои места."
],
"type": 0
}
],
"locations": [
{
"id": "location_room",
"triggers": [ "location_room_background", "painting", "table", "global_door" ]
},
{
"id": "location_table",
"triggers": [ "location_table_background", "diary", "backwarder" ]
},
{
"id": "location_nearby_door",
"triggers": [ "location_nearby_door_background", "door", "backwarder" ]
}
],
"triggers": [
{
"id": "location_nearby_door_background"
},
{
"id": "location_table_background"
},
{
"id": "location_room_background"
},
{
"id": "spawn",
"evs": [
"init",
"dial_on_spawn"
]
},
{
"id": "painting",
"x": 0,
"y": 0,
"evs": [
"dial_portrait_on_click"
],
"examine_dialogue": "dial_portrait_on_look"
},
{
"id": "table",
"x": 0,
"y": 0,
"evs": [
"move_to_table"
],
"examine_dialogue": "dial_table_on_look"
},
{
"id": "backwarder",
"x": 0,
"y": 0,
"evs": [
"move_backward"
]
},
{
"id": "global_door",
"x": 0,
"y": 0,
"evs": [
"move_to_global_door"
],
"examine_dialogue": "dial_global_door_on_look"
},
{
"id": "diary",
"x": 0,
"y": 0,
"evs": [
"dial_diary_on_taking",
"take_diary"
],
"examine_dialogue": "dial_diary_on_look"
},
{
"id": "tr_inv_diary"
},
{
"id": "door",
"x": 0,
"y": 0,
"evs": [
"dial_door_general_on_closed"
],
"examine_dialogue": "dial_door_general_on_look"
}
],
"events": [
{
"id": "dial_on_spawn",
"type": 10,
"dialogue_type": 0,
"dialogue": "on_spawn"
},
{
"id": "dial_portrait_on_click",
"type": 10,
"dialogue_type": 0,
"dialogue": "portrait_on_click"
},
{
"id": "dial_door_general_on_closed",
"type": 10,
"dialogue_type": 0,
"dialogue": "door_general_on_closed"
},
{
"id": "dial_door_general_on_look",
"type": 10,
"dialogue_type": 0,
"dialogue": "door_general_on_look"
},
{
"id": "dial_diary_on_taking",
"type": 10,
"dialogue_type": 0,
"dialogue": "diary_on_taking"
},
{
"id": "dial_diary_on_look",
"type": 10,
"dialogue_type": 0,
"dialogue": "diary_on_look"
},
{
"id": "dial_portrait_on_look",
"type": 10,
"dialogue_type": 0,
"dialogue": "portrait_on_look"
},
{
"id": "dial_table_on_look",
"type": 10,
"dialogue_type": 0,
"dialogue": "table_on_look"
},
{
"id": "dial_global_door_on_look",
"type": 10,
"dialogue_type": 0,
"dialogue": "door_general_on_look"
},
{
"id": "move_to_table",
"type": 0,
"location": "location_table"
},
{
"id": "move_to_global_door",
"type": 0,
"location": "location_nearby_door"
},
{
"id": "move_backward",
"type": 0,
"location": "location_room"
},
{
"id": "take_diary",
"type": 4,
"target": "tr_inv_diary"
}
]
}
}