diff options
author | The Kandiman <kandiman@kandiman.(none)> | 2011-09-10 20:15:17 -0400 |
---|---|---|
committer | The Kandiman <kandiman@kandiman.(none)> | 2011-09-11 16:48:18 -0400 |
commit | 1cb0e75cbd356485ebe35bb3f5af10e1454e57a5 (patch) | |
tree | 594bbf4a1bb428ef527f6ce6ec79e4eb3e478607 /world/map/npc/items/purification_potion.txt | |
parent | a9868851cfe19c503cc72b0289889c564b41dd20 (diff) | |
download | serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.gz serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.bz2 serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.xz serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.zip |
Tab conversion and formatting project.
npc/functions and npc/items complete.
Diffstat (limited to 'world/map/npc/items/purification_potion.txt')
-rw-r--r-- | world/map/npc/items/purification_potion.txt | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/world/map/npc/items/purification_potion.txt b/world/map/npc/items/purification_potion.txt index 09a854bd..59c55eb1 100644 --- a/world/map/npc/items/purification_potion.txt +++ b/world/map/npc/items/purification_potion.txt @@ -1,28 +1,28 @@ // This is the function to use the PurificationPotion -function script usePurificationPotion { - if (isat("011-1.gat", 88,67)) - goto L_Wyara_Pond; +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; + 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; + 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; + 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."; + message strcharinfo(0), "You pour the potion into the pond."; - set QUEST_MAGIC2, - (QUEST_MAGIC2 & ~(@Q_MASK) - | (@Q_status << @Q_SHIFT)); - return; + set QUEST_MAGIC2, + (QUEST_MAGIC2 & ~(@Q_MASK) + | (@Q_status << @Q_SHIFT)); + return; } |