From 411763faf5ccbea972bb1a4d0fb240f2d15a2b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 12 Dec 2010 01:49:51 +0100 Subject: [PATCH] quests: Add the club (map 103) to zone 0 on the colony lobby. --- priv/quests/1100000/quest.conf | 9 ++- .../1100000/unit_title_00.bin.en_US.txt | Bin 298 -> 326 bytes .../1100000/unit_title_11.bin.en_US.txt | Bin 262 -> 234 bytes priv/quests/1100000/zone-0/script.es | 45 ++++++++------ priv/quests/1100000/zone-0/set_r0.conf | 58 ++++++++++++++++++ 5 files changed, 89 insertions(+), 23 deletions(-) diff --git a/priv/quests/1100000/quest.conf b/priv/quests/1100000/quest.conf index 3a5a0c3..568a173 100644 --- a/priv/quests/1100000/quest.conf +++ b/priv/quests/1100000/quest.conf @@ -27,13 +27,13 @@ %% @todo Default enemy_level to 1 if unspecified (lobbies). %% @todo Default sets to [100] if unspecified (lobbies). {zones, [ - { 0, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [1, 2, 3, 4]}]}, + { 0, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [1, 2, 3, 4, 103]}]}, { 1, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [9001]}]}, { 2, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [9000]}]}, { 3, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [9102]}]}, { 4, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [9010]}]}, { 7, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [9200, 9202]}]}, - {11, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [5, 100, 101, 102, 103, 110]}]}, + {11, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [5, 100, 101, 102, 110]}]}, {12, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [100, 101, 102]}]}, {13, [{areaid, 2}, {enemy_level, 1}, {sets, [100]}, {maps, [100, 101, 102]}]} ]}. @@ -97,7 +97,7 @@ {{1100000, 0, 3, 2}, {1100000, 13, 102, 0}}, {{1100000, 0, 3, 3}, {1100000, 12, 102, 1}}, {{1100000, 0, 3, 4}, {1100000, 11, 102, 2}}, - {{1100000, 0, 3, 5}, {1100000, 11, 103, 0}}, + {{1100000, 0, 3, 5}, {1100000, 0, 103, 0}}, %% @todo Exit 6. %% 4rd floor. {{1100000, 0, 4, 0}, {1100000, 0, 3, 1}}, @@ -120,6 +120,5 @@ {{1100000, 12, 102, 1}, {1100000, 0, 3, 3}}, {{1100000, 11, 102, 2}, {1100000, 0, 3, 4}}, %% Club. - %% @todo Add the club to zone 0. - {{1100000, 11, 103, 0}, {1100000, 0, 3, 5}} + {{1100000, 0, 103, 0}, {1100000, 0, 3, 5}} ]}. diff --git a/priv/quests/1100000/unit_title_00.bin.en_US.txt b/priv/quests/1100000/unit_title_00.bin.en_US.txt index 90c2f83312df78c2c0200852d797f32c737fe089..5c73422d4faa58bfe6607ed93299035fff273df5 100644 GIT binary patch delta 36 qcmZ3*bc|_(7Nd+agAYR}gA;=lg93vyLq0<;5SB9JF{CnZF#rINJO;`D delta 7 OcmX@cw2Eni79#))JOWSv diff --git a/priv/quests/1100000/unit_title_11.bin.en_US.txt b/priv/quests/1100000/unit_title_11.bin.en_US.txt index 48f3464051a2f56e5c544fd7c89a99a953fc0aed..d21a399f2d33bf11250079308632e3e397ecba8a 100644 GIT binary patch delta 9 QcmZo;dc`_XV2!H?p diff --git a/priv/quests/1100000/zone-0/script.es b/priv/quests/1100000/zone-0/script.es index b2cb11d..58528be 100644 --- a/priv/quests/1100000/zone-0/script.es +++ b/priv/quests/1100000/zone-0/script.es @@ -15,25 +15,30 @@ %% @doc Enter all maps event. Set the right music for the season. event entr_unit -> - obj.get_eventflag, + seq.get_unit, case - 0 -> push 0, push 46, sound.play_bgm; %% party - 1 -> push 0, push 47, sound.play_bgm; %% new year - 2 -> push 0, push 48, sound.play_bgm; %% valentine - 3 -> push 0, push 49, sound.play_bgm; %% white day - 4 -> push 0, push 50, sound.play_bgm; %% spring - 5 -> push 0, push 47, sound.play_bgm; %% easter -%% 6 -> push 0, push 12, sound.play_bgm; %% parum unification - 7 -> push 0, push 121, sound.play_bgm; %% sonic -%% 8 -> push 0, push 14, sound.play_bgm; %% holy light -%% 9 -> push 0, push 50, sound.play_bgm; %% fireworks - 10 -> push 0, push 50, sound.play_bgm; %% autumn - 11 -> push 0, push 51, sound.play_bgm; %% halloween -%% 12 -> push 0, push 16, sound.play_bgm; %% native - 13 -> push 0, push 52, sound.play_bgm; %% christmas - 14 -> push 0, push 52, sound.play_bgm; %% winter - 15 -> push 0, push 44, sound.play_bgm; %% wedding - default -> push 0, push 40, sound.play_bgm %% clyez city + 103 -> push 0, push 107, sound.play_bgm; %% WITHOUT A SAIL. + default -> + obj.get_eventflag, + case + 0 -> push 0, push 46, sound.play_bgm; %% party + 1 -> push 0, push 47, sound.play_bgm; %% new year + 2 -> push 0, push 48, sound.play_bgm; %% valentine + 3 -> push 0, push 49, sound.play_bgm; %% white day + 4 -> push 0, push 50, sound.play_bgm; %% spring + 5 -> push 0, push 47, sound.play_bgm; %% easter +%% 6 -> push 0, push 12, sound.play_bgm; %% parum unification + 7 -> push 0, push 121, sound.play_bgm; %% sonic +%% 8 -> push 0, push 14, sound.play_bgm; %% holy light +%% 9 -> push 0, push 50, sound.play_bgm; %% fireworks + 10 -> push 0, push 50, sound.play_bgm; %% autumn + 11 -> push 0, push 51, sound.play_bgm; %% halloween +%% 12 -> push 0, push 16, sound.play_bgm; %% native + 13 -> push 0, push 52, sound.play_bgm; %% christmas + 14 -> push 0, push 52, sound.play_bgm; %% winter + 15 -> push 0, push 44, sound.play_bgm; %% wedding + default -> push 0, push 40, sound.play_bgm %% clyez city + end end. %% @doc Enter map 1 event. Initialize the labels. @@ -78,6 +83,10 @@ event entr_unit0004 -> push 0, npc.talk_on, %% Linear Line NPC. push 1, npc.talk_on. %% Space Docks NPC. +%% @doc Enter map 103 event. Initialize the label. +event entr_unit0103 -> + push 3, push 0, obj.set_caption. %% Exits to 3rd floor. + %% @doc Parum Spaceport exit. event goal_unit0004_num002 -> push "SV_WK_LC_RETURN", push 1, work.chrwork_set. diff --git a/priv/quests/1100000/zone-0/set_r0.conf b/priv/quests/1100000/zone-0/set_r0.conf index cc24db2..720308b 100644 --- a/priv/quests/1100000/zone-0/set_r0.conf +++ b/priv/quests/1100000/zone-0/set_r0.conf @@ -1880,3 +1880,61 @@ {static_model, {-182.0, 317.0, -1860.0}, {0.0, -90.0, 0.0}, [{model, 571}]} ] ]}. + +{{map, 103}, [ + [ %% Always available. + {chair, {-599.0, 186.0, -1049.0}, {0.0, 180.0, 0.0}, [{id, 1}, {stand_dist, 8.0}]}, + {chair, {-613.0, 186.0, -1049.0}, {0.0, 180.0, 0.0}, [{id, 2}, {stand_dist, 8.0}]}, + {chair, {-628.0, 186.0, -1049.0}, {0.0, 180.0, 0.0}, [{id, 3}, {stand_dist, 8.0}]}, + {chair, {-580.0, 186.0, -1052.0}, {0.0, 206.0, 0.0}, [{id, 4}, {stand_dist, 8.0}]}, + {chair, {-647.0, 186.0, -1052.0}, {0.0, 154.0, 0.0}, [{id, 5}, {stand_dist, 8.0}]}, + {chair, {-571.0, 186.0, -1061.0}, {0.0, 243.0, 0.0}, [{id, 6}, {stand_dist, 8.0}]}, + {chair, {-656.0, 186.0, -1061.0}, {0.0, 117.0, 0.0}, [{id, 7}, {stand_dist, 8.0}]}, + {chair, {-571.0, 186.0, -1079.0}, {0.0, 292.0, 0.0}, [{id, 8}, {stand_dist, 8.0}]}, + {chair, {-656.0, 186.0, -1079.0}, {0.0, 68.0, 0.0}, [{id, 9}, {stand_dist, 8.0}]}, + {chair, {-580.0, 186.0, -1088.0}, {0.0, 335.0, 0.0}, [{id, 10}, {stand_dist, 8.0}]}, + {chair, {-647.0, 186.0, -1088.0}, {0.0, 25.0, 0.0}, [{id, 11}, {stand_dist, 8.0}]}, + {chair, {-682.0, 186.0, -1172.0}, {0.0, 154.0, 0.0}, [{id, 12}, {stand_dist, 8.0}]}, + {chair, {-691.0, 186.0, -1181.0}, {0.0, 117.0, 0.0}, [{id, 13}, {stand_dist, 8.0}]}, + {chair, {-691.0, 186.0, -1199.0}, {0.0, 68.0, 0.0}, [{id, 14}, {stand_dist, 8.0}]}, + {chair, {-682.0, 186.0, -1208.0}, {0.0, 25.0, 0.0}, [{id, 15}, {stand_dist, 8.0}]}, + {chair, {-672.0, 186.0, -1270.0}, {0.0, 190.0, 0.0}, [{id, 16}, {stand_dist, 8.0}]}, + {chair, {-685.0, 186.0, -1273.0}, {0.0, 136.0, 0.0}, [{id, 17}, {stand_dist, 8.0}]}, + {chair, {-691.0, 186.0, -1301.0}, {0.0, 60.0, 0.0}, [{id, 18}, {stand_dist, 8.0}]}, + {chair, {-694.0, 186.0, -1289.0}, {0.0, 95.0, 0.0}, [{id, 19}, {stand_dist, 8.0}]}, + {chair, {-544.0, 186.0, -1172.0}, {0.0, 206.0, 0.0}, [{id, 20}, {stand_dist, 8.0}]}, + {chair, {-535.0, 186.0, -1181.0}, {0.0, 243.0, 0.0}, [{id, 21}, {stand_dist, 8.0}]}, + {chair, {-535.0, 186.0, -1199.0}, {0.0, 292.0, 0.0}, [{id, 22}, {stand_dist, 8.0}]}, + {chair, {-544.0, 186.0, -1208.0}, {0.0, 335.0, 0.0}, [{id, 23}, {stand_dist, 8.0}]}, + {chair, {-533.0, 186.0, -1289.0}, {0.0, 265.0, 0.0}, [{id, 24}, {stand_dist, 8.0}]}, + {chair, {-536.0, 186.0, -1301.0}, {0.0, 300.0, 0.0}, [{id, 25}, {stand_dist, 8.0}]}, + {chair, {-542.0, 186.0, -1273.0}, {0.0, 224.0, 0.0}, [{id, 26}, {stand_dist, 8.0}]}, + {chair, {-555.0, 186.0, -1270.0}, {0.0, 170.0, 0.0}, [{id, 27}, {stand_dist, 8.0}]}, + + {door, {-305.5, 180.0, -1090.0}, {0.0, 90.0, 0.0}, [{model, 65}, {closed, true}]}, + {door, {-497.5, 180.0, -1090.0}, {0.0, 90.0, 0.0}, [{model, 65}]}, + + {entrance, {-540.0, 180.0, -1090.0}, {0.0, 215.0, 0.0}, [{entryid, 0}]}, + + %% This exit is fake. It's only used for the camera movement. + {exit, {-615.0, 188.0, -1420.0}, {0.0, 0.0, 0.0}, [ + {entryid, 65535}, {type, map}, {animation, run}, + {exit_box, {10.0, 130.0, 20.0, 20.0}}, {exit_movement, {0.0, 0.0, 0.0}}, + {camera_box, {10.0, 130.0, 20.0, 80.0}}, {camera_movement, {0.0, 40.0, 150.0}} + ]}, + {exit, {-450.0, 180.0, -1090.0}, {0.0, 0.0, 0.0}, [ + {entryid, 0}, {type, map}, {animation, run}, + {exit_box, {0.0, 70.0, 20.0, 20.0}}, {exit_movement, {0.0, 45.0, 0.0}}, + {camera_box, {0.0, 70.0, 19.0, 90.0}}, {camera_movement, {-100.0, 30.0, 0.0}} + ]}, + + {label, {-450.0, 210.0, -1090.0}, {0.0, -90.0, 0.0}, [{id, 0}, {box, {20.0, 60.0, 30.0, 180.0}}]}, + + {pp_cube, {-560.0, 180.0, -1240.0}, {0.0, 0.0, 0.0}, []}, + {uni_cube, {-670.0, 180.0, -1240.0}, {0.0, 0.0, 0.0}, [{i, 0}, {entryid, 0}]} + ], + [ %% Seasonal objects. + %% New year. + {static_model, {-615.0, 150.0, -1035.0}, {0.0, 0.0, 0.0}, [{model, 504}, {size, 0.65}]} + ] +]}.