diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-18 21:58:47 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-19 14:19:55 -0700 |
commit | bae4b92e560c2694eaaf0e8b4d9e95e56204471b (patch) | |
tree | 4acc120f6a94cfbf9694bf344658493de5aaa67b /npc/items/purification_potion.txt | |
parent | 319f80526f8585ecadaec986e37c9bd326f4d363 (diff) | |
download | serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.gz serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.bz2 serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.xz serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.zip |
Move to a subdirectory
Diffstat (limited to 'npc/items/purification_potion.txt')
-rw-r--r-- | npc/items/purification_potion.txt | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/npc/items/purification_potion.txt b/npc/items/purification_potion.txt deleted file mode 100644 index 09a854bd..00000000 --- a/npc/items/purification_potion.txt +++ /dev/null @@ -1,28 +0,0 @@ -// This is the function to use the PurificationPotion - -function script usePurificationPotion { - if (isat("011-1.gat", 88,67)) - goto L_Wyara_Pond; - -L_NoUse: - message strcharinfo(0), "You don't know what to do with this."; - getitem "PurificationPotion", 1; - return; - -L_Wyara_Pond: - set @Q_MASK, NIBBLE_2_MASK; - set @Q_SHIFT, NIBBLE_2_SHIFT; - set @Q_status, (QUEST_MAGIC2 & @Q_MASK) >> @Q_SHIFT; - - if (@Q_status < 1) - goto L_NoUse; - if (@Q_status <= 2) - set @Q_status, @Q_status + 1; - - message strcharinfo(0), "You pour the potion into the pond."; - - set QUEST_MAGIC2, - (QUEST_MAGIC2 & ~(@Q_MASK) - | (@Q_status << @Q_SHIFT)); - return; -} |