199 lines
7.9 KiB
JSON
199 lines
7.9 KiB
JSON
{
|
|
"Events": [
|
|
{
|
|
"Id": "desert_to_village",
|
|
"X": 39,
|
|
"Y": 12,
|
|
"Tile": -1,
|
|
"Dir": "Down",
|
|
"Trigger": "Touch",
|
|
"Solid": false,
|
|
"Teleport": {
|
|
"Map": "rpg_village",
|
|
"X": 1,
|
|
"Y": 9,
|
|
"Dir": "Right"
|
|
}
|
|
},
|
|
{
|
|
"Id": "desert_barrel_supply",
|
|
"X": 17,
|
|
"Y": 8,
|
|
"Sprite": "desert/barrel_closed",
|
|
"Tile": -1,
|
|
"Dir": "Down",
|
|
"Trigger": "Action",
|
|
"Solid": true,
|
|
"Commands": [
|
|
"flag desert_barrel_supply_open 1",
|
|
"action item.add id=money/coin count=3",
|
|
"action item.add id=rpg_demo/elixir count=1",
|
|
"ptext \u0022\u0412 \u0431\u043E\u0447\u043A\u0435 \u043D\u0430\u0448\u043B\u0430\u0441\u044C \u043C\u0435\u043B\u043E\u0447\u044C: 3 \u043C\u043E\u043D\u0435\u0442(\u044B), 1 \u044D\u043B\u0438\u043A\u0441\u0438\u0440.\u0022 key=rpg_plus/desert/barrel/desert_barrel_supply"
|
|
],
|
|
"Pages": [
|
|
{
|
|
"Condition": "desert_barrel_supply_open == 1",
|
|
"Sprite": "desert/barrel_open",
|
|
"Commands": [
|
|
"ptext \u0022\u041F\u0443\u0441\u0442\u043E. \u0414\u0430\u0436\u0435 \u043C\u0443\u0441\u043E\u0440 \u0443\u0436\u0435 \u0437\u0430\u0431\u0440\u0430\u043B\u0438.\u0022 key=rpg_plus/desert/barrel/empty"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Id": "desert_barrel_caravan",
|
|
"X": 25,
|
|
"Y": 8,
|
|
"Sprite": "desert/barrel_closed",
|
|
"Tile": -1,
|
|
"Dir": "Down",
|
|
"Trigger": "Action",
|
|
"Solid": true,
|
|
"Commands": [
|
|
"flag desert_barrel_caravan_open 1",
|
|
"action item.add id=money/coin count=4",
|
|
"action item.add id=rpg_plus/resin count=1",
|
|
"ptext \u0022\u0412 \u0431\u043E\u0447\u043A\u0435 \u043D\u0430\u0448\u043B\u0430\u0441\u044C \u043C\u0435\u043B\u043E\u0447\u044C: 4 \u043C\u043E\u043D\u0435\u0442(\u044B), 1 \u0441\u043C\u043E\u043B\u0430.\u0022 key=rpg_plus/desert/barrel/desert_barrel_caravan"
|
|
],
|
|
"Pages": [
|
|
{
|
|
"Condition": "desert_barrel_caravan_open == 1",
|
|
"Sprite": "desert/barrel_open",
|
|
"Commands": [
|
|
"ptext \u0022\u041F\u0443\u0441\u0442\u043E. \u0414\u0430\u0436\u0435 \u043C\u0443\u0441\u043E\u0440 \u0443\u0436\u0435 \u0437\u0430\u0431\u0440\u0430\u043B\u0438.\u0022 key=rpg_plus/desert/barrel/empty"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Id": "desert_barrel_ruins",
|
|
"X": 10,
|
|
"Y": 20,
|
|
"Sprite": "desert/barrel_closed",
|
|
"Tile": -1,
|
|
"Dir": "Down",
|
|
"Trigger": "Action",
|
|
"Solid": true,
|
|
"Commands": [
|
|
"flag desert_barrel_ruins_open 1",
|
|
"action item.add id=money/coin count=2",
|
|
"action item.add id=rpg_demo/branches count=1",
|
|
"ptext \u0022\u0412 \u0431\u043E\u0447\u043A\u0435 \u043D\u0430\u0448\u043B\u0430\u0441\u044C \u043C\u0435\u043B\u043E\u0447\u044C: 2 \u043C\u043E\u043D\u0435\u0442(\u044B), 1 \u0441\u0432\u044F\u0437\u043A\u0430 \u0445\u0432\u043E\u0440\u043E\u0441\u0442\u0430.\u0022 key=rpg_plus/desert/barrel/desert_barrel_ruins"
|
|
],
|
|
"Pages": [
|
|
{
|
|
"Condition": "desert_barrel_ruins_open == 1",
|
|
"Sprite": "desert/barrel_open",
|
|
"Commands": [
|
|
"ptext \u0022\u041F\u0443\u0441\u0442\u043E. \u0414\u0430\u0436\u0435 \u043C\u0443\u0441\u043E\u0440 \u0443\u0436\u0435 \u0437\u0430\u0431\u0440\u0430\u043B\u0438.\u0022 key=rpg_plus/desert/barrel/empty"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Id": "desert_house_door",
|
|
"X": 8,
|
|
"Y": 8,
|
|
"Tile": -1,
|
|
"Dir": "Down",
|
|
"Trigger": "Action",
|
|
"Solid": false,
|
|
"Commands": [
|
|
"ptext \u0022\u041D\u0430 \u0434\u0432\u0435\u0440\u0438 \u0437\u0430\u043F\u0438\u0441\u043A\u0430: \u00AB\u0412\u0435\u0440\u043D\u0443\u0441\u044C, \u043A\u043E\u0433\u0434\u0430 \u0441\u0442\u0430\u043D\u0435\u0442 \u043F\u0440\u043E\u0445\u043B\u0430\u0434\u043D\u043E\u00BB. \u0427\u0435\u0440\u043D\u0438\u043B\u0430 \u0432\u044B\u0446\u0432\u0435\u043B\u0438.\u0022 key=rpg_plus/desert/house"
|
|
]
|
|
},
|
|
{
|
|
"Id": "desert_caravan_notice",
|
|
"X": 21,
|
|
"Y": 8,
|
|
"Tile": -1,
|
|
"Dir": "Down",
|
|
"Trigger": "Action",
|
|
"Solid": false,
|
|
"Commands": [
|
|
"ptext \u0022\u041A\u0430\u0440\u0430\u0432\u0430\u043D \u0443\u0448\u0451\u043B. \u0426\u0435\u043D\u044B \u043E\u0441\u0442\u0430\u043B\u0438\u0441\u044C. \u0414\u0435\u0448\u0435\u0432\u043B\u0435 \u043E\u0442 \u044D\u0442\u043E\u0433\u043E \u043D\u0435 \u0441\u0442\u0430\u043B\u043E.\u0022 key=rpg_plus/desert/caravan"
|
|
]
|
|
},
|
|
{
|
|
"Id": "desert_scorpion_1",
|
|
"X": 27,
|
|
"Y": 12,
|
|
"Sprite": "desert/scorpion",
|
|
"Tile": -1,
|
|
"Dir": "Down",
|
|
"Trigger": "Action",
|
|
"Solid": true,
|
|
"Commands": [
|
|
"ptext \u0022\u0421\u043A\u043E\u0440\u043F\u0438\u043E\u043D \u043F\u043E\u0434\u043D\u0438\u043C\u0430\u0435\u0442 \u0445\u0432\u043E\u0441\u0442. \u041F\u0435\u0440\u0435\u0433\u043E\u0432\u043E\u0440\u044B \u0431\u0443\u0434\u0443\u0442 \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u043C\u0438.\u0022 key=rpg_plus/desert/enemy/scorpion",
|
|
"action rpg.battle enemies=rpg_desert_scorpion win_flag=desert_scorpion_1_dead",
|
|
"end"
|
|
],
|
|
"Condition": "desert_scorpion_1_dead != 1"
|
|
},
|
|
{
|
|
"Id": "desert_beetle_2",
|
|
"X": 22,
|
|
"Y": 13,
|
|
"Sprite": "desert/beetle",
|
|
"Tile": -1,
|
|
"Dir": "Left",
|
|
"Trigger": "Action",
|
|
"Solid": true,
|
|
"Commands": [
|
|
"ptext \u0022\u0416\u0443\u043A \u0441\u043A\u0440\u0435\u0431\u0451\u0442 \u043F\u0435\u0441\u043E\u043A. \u0417\u0430 \u043F\u0440\u043E\u0445\u043E\u0434 \u043E\u043D \u0431\u0435\u0440\u0451\u0442 \u043C\u044F\u0441\u043E\u043C.\u0022 key=rpg_plus/desert/enemy/beetle",
|
|
"action rpg.battle enemies=rpg_desert_beetle win_flag=desert_beetle_2_dead",
|
|
"end"
|
|
],
|
|
"Condition": "desert_beetle_2_dead != 1"
|
|
},
|
|
{
|
|
"Id": "desert_scorpion_3",
|
|
"X": 13,
|
|
"Y": 14,
|
|
"Sprite": "desert/scorpion",
|
|
"Tile": -1,
|
|
"Dir": "Down",
|
|
"Trigger": "Action",
|
|
"Solid": true,
|
|
"Commands": [
|
|
"ptext \u0022\u0421\u043A\u043E\u0440\u043F\u0438\u043E\u043D \u043F\u043E\u0434\u043D\u0438\u043C\u0430\u0435\u0442 \u0445\u0432\u043E\u0441\u0442. \u041F\u0435\u0440\u0435\u0433\u043E\u0432\u043E\u0440\u044B \u0431\u0443\u0434\u0443\u0442 \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u043C\u0438.\u0022 key=rpg_plus/desert/enemy/scorpion",
|
|
"action rpg.battle enemies=rpg_desert_scorpion win_flag=desert_scorpion_3_dead",
|
|
"end"
|
|
],
|
|
"Condition": "desert_scorpion_3_dead != 1"
|
|
},
|
|
{
|
|
"Id": "desert_beetle_4",
|
|
"X": 11,
|
|
"Y": 10,
|
|
"Sprite": "desert/beetle",
|
|
"Tile": -1,
|
|
"Dir": "Left",
|
|
"Trigger": "Action",
|
|
"Solid": true,
|
|
"Commands": [
|
|
"ptext \u0022\u0416\u0443\u043A \u0441\u043A\u0440\u0435\u0431\u0451\u0442 \u043F\u0435\u0441\u043E\u043A. \u0417\u0430 \u043F\u0440\u043E\u0445\u043E\u0434 \u043E\u043D \u0431\u0435\u0440\u0451\u0442 \u043C\u044F\u0441\u043E\u043C.\u0022 key=rpg_plus/desert/enemy/beetle",
|
|
"action rpg.battle enemies=rpg_desert_beetle win_flag=desert_beetle_4_dead",
|
|
"end"
|
|
],
|
|
"Condition": "desert_beetle_4_dead != 1"
|
|
},
|
|
{
|
|
"Id": "desert_beetle_5",
|
|
"X": 28,
|
|
"Y": 19,
|
|
"Sprite": "desert/beetle",
|
|
"Tile": -1,
|
|
"Dir": "Down",
|
|
"Trigger": "Action",
|
|
"Solid": true,
|
|
"Commands": [
|
|
"ptext \u0022\u0416\u0443\u043A \u0441\u043A\u0440\u0435\u0431\u0451\u0442 \u043F\u0435\u0441\u043E\u043A. \u0417\u0430 \u043F\u0440\u043E\u0445\u043E\u0434 \u043E\u043D \u0431\u0435\u0440\u0451\u0442 \u043C\u044F\u0441\u043E\u043C.\u0022 key=rpg_plus/desert/enemy/beetle",
|
|
"action rpg.battle enemies=rpg_desert_beetle win_flag=desert_beetle_5_dead",
|
|
"end"
|
|
],
|
|
"Condition": "desert_beetle_5_dead != 1"
|
|
}
|
|
]
|
|
}
|