diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-08-03 16:26:16 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-08-03 16:33:01 -0700 |
commit | ab4ab2b1440dcd80dc6d8aaa962b05063a846451 (patch) | |
tree | 6e6da97b3e9e9f0ef1e4b674c45dad6e5b1b32f4 /world/map/npc/027-2/alacrius.txt | |
parent | c09f42bab4e9cb7f9e823b49bbc0c64dd96fa4da (diff) | |
download | serverdata-ab4ab2b1440dcd80dc6d8aaa962b05063a846451.tar.gz serverdata-ab4ab2b1440dcd80dc6d8aaa962b05063a846451.tar.bz2 serverdata-ab4ab2b1440dcd80dc6d8aaa962b05063a846451.tar.xz serverdata-ab4ab2b1440dcd80dc6d8aaa962b05063a846451.zip |
Completely comment out disabled scripts instead of just the first linev2011.08.03
This meant that every line would be parsed as a toplevel script,
and could crash the server under some conditions.
Diffstat (limited to 'world/map/npc/027-2/alacrius.txt')
-rw-r--r-- | world/map/npc/027-2/alacrius.txt | 70 |
1 files changed, 36 insertions, 34 deletions
diff --git a/world/map/npc/027-2/alacrius.txt b/world/map/npc/027-2/alacrius.txt index 99714ebc..1e15769c 100644 --- a/world/map/npc/027-2/alacrius.txt +++ b/world/map/npc/027-2/alacrius.txt @@ -1,40 +1,42 @@ -// Starts the reaper quest +//Starts the reaper quest +//(incomplete, use alacrius2.txt instead) +//To enable: sed 's_^// __' -i npc/027-2/alacrius.txt //027-2.gat,107,29,0 script Alacrius 313,{ - // if started, go to started - // if fail go to failed - // if complete go to complete - // if cooldown go to cooldown +// // if started, go to started +// // if fail go to failed +// // if complete go to complete +// // if cooldown go to cooldown -// start quest section - mes "Hi, want to fight the reaper?"; - menu - "Let's go!",L_START, - "No, thank you.",-; - close; +// // start quest section +// mes "Hi, want to fight the reaper?"; +// menu +// "Let's go!",L_START, +// "No, thank you.",-; +// close; -L_START: - monster "027-4.gat",40,55,"Reaper Quest",1067,1,"Reaper::OnDead"; - enablenpc "#gatecontrol"; - enablenpc "#closedgate"; - disablenpc "#opengate"; -// Open doors to reaper level - warp "027-3.gat",41,70; - initnpctimer; - close; +// L_START: +// monster "027-4.gat",40,55,"Reaper Quest",1067,1,"Reaper::OnDead"; +// enablenpc "#gatecontrol"; +// enablenpc "#closedgate"; +// disablenpc "#opengate"; +// // Open doors to reaper level +// warp "027-3.gat",41,70; +// initnpctimer; +// close; -// 5 min mark for testing purposes, up it when finished. -OnTimer300000: - mapwarp "027-3.gat", "027-2.gat",104,41; - mapwarp "027-4.gat", "027-2.gat",104,41; - killmonsterall "027-4.gat"; - end; -OnTimer301000: - npctalk "You have failed the mission."; - end; +// // 5 min mark for testing purposes, up it when finished. +// OnTimer300000: +// mapwarp "027-3.gat", "027-2.gat",104,41; +// mapwarp "027-4.gat", "027-2.gat",104,41; +// killmonsterall "027-4.gat"; +// end; +// OnTimer301000: +// npctalk "You have failed the mission."; +// end; -// cooldown before the quest can be restarted -OnTimer360000: - // set quest var - end; -} +// // cooldown before the quest can be restarted +// OnTimer360000: +// // set quest var +// end; +// } |