summaryrefslogtreecommitdiff
path: root/world/map/npc/items/shock_sweet.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/items/shock_sweet.txt')
-rw-r--r--world/map/npc/items/shock_sweet.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/world/map/npc/items/shock_sweet.txt b/world/map/npc/items/shock_sweet.txt
index 8255ee9b..a9226c39 100644
--- a/world/map/npc/items/shock_sweet.txt
+++ b/world/map/npc/items/shock_sweet.txt
@@ -1,14 +1,14 @@
-function script useShockSweet {
- if (rand(5))
- goto L_Change;
- message strcharinfo(0), "Yuck, this tastes like earwax!";
- itemheal -20 - (Hp >> 2), 0;
- end;
+function|script|useShockSweet|{
+ if (rand(5))
+ goto L_Change;
+ message strcharinfo(0), "Yuck, this tastes like earwax!";
+ itemheal -20 - (Hp >> 2), 0;
+ end;
L_Change:
- setlook LOOK_HAIR_COLOR, HC_WHITE;
- message strcharinfo(0), "Gah! That was some strong stuff!";
- sc_start sc_poison, 1, 20;
- misceffect 15, strcharinfo(0);
- end;
+ setlook LOOK_HAIR_COLOR, HC_WHITE;
+ message strcharinfo(0), "Gah! That was some strong stuff!";
+ sc_start sc_poison, 1, 20;
+ misceffect 15, strcharinfo(0);
+ end;
}