From 1646ea8eca6ed14afaf4c4f254e69e007fc27b55 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Fri, 9 Feb 2018 11:10:20 -0200 Subject: Minor optimizations at Zega's quests. Special thanks goes to 4144's Hercules Converter scriptset. They're really handy to avoid rewriting things from zero! :D --- npc/005-1/zegas.txt | 16 +++++++++------- npc/005-3/barrel.txt | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'npc') diff --git a/npc/005-1/zegas.txt b/npc/005-1/zegas.txt index b7d5c5a4c..f2acc6a13 100644 --- a/npc/005-1/zegas.txt +++ b/npc/005-1/zegas.txt @@ -74,21 +74,23 @@ OnInit: next; menu l("Yes."), L_Reset, - l("Barrel"),L_Cheat, l("No."), L_Close; L_Reset: setq CandorQuest_Barrel, 0; + STARTAREA = STARTAREA &~ (1 << 2); + STARTAREA = STARTAREA &~ (1 << 3); + STARTAREA = STARTAREA &~ (1 << 4); + STARTAREA = STARTAREA &~ (1 << 5); + STARTAREA = STARTAREA &~ (1 << 6); + STARTAREA = STARTAREA &~ (1 << 7); + STARTAREA = STARTAREA &~ (1 << 8); + STARTAREA = STARTAREA &~ (1 << 9); mes l("Reset!"); goto L_Close; -L_Cheat: - setq CandorQuest_Barrel, 3; - mes l("Quest Complete!"); - goto L_Close; - L_Close: - showavatar; // hide + //showavatar; // Use this to hide the showavatar close; //OnInit: diff --git a/npc/005-3/barrel.txt b/npc/005-3/barrel.txt index 1810774ae..63af4dfc3 100644 --- a/npc/005-3/barrel.txt +++ b/npc/005-3/barrel.txt @@ -35,7 +35,7 @@ L_BarrelTally: if (@barrel_count == 8) { message strcharinfo(0), "You found the bug bomb."; - specialeffect(21); + specialeffect(13); setq CandorQuest_Barrel, 3; } @rand = rand(6); -- cgit v1.2.3-70-g09d2