summaryrefslogtreecommitdiff
path: root/world/map/npc/011-1/oscar.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/011-1/oscar.txt')
-rw-r--r--world/map/npc/011-1/oscar.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/world/map/npc/011-1/oscar.txt b/world/map/npc/011-1/oscar.txt
index d85bd67b..e10cd906 100644
--- a/world/map/npc/011-1/oscar.txt
+++ b/world/map/npc/011-1/oscar.txt
@@ -28,7 +28,8 @@
// 6: the player saved the farmer from the pumpkin invasion (all pumpkins / mobs killed)
// 10: the player failed to save the farmer from the pumpkin invasion (player left the map, died -- logging off is allowed however)
-function|script|HalloweenQuestWaterPumpkins|{
+function|script|HalloweenQuestWaterPumpkins|
+{
if (Quest_Halloween != 5 || $@HalloweenQuest_PumpkinHunter$ != "")
end;
set $@HalloweenQuest_PumpkinHunter$, strcharinfo(0);
@@ -36,7 +37,8 @@ function|script|HalloweenQuestWaterPumpkins|{
end;
}
-011-1.gat,94,38,0|script|Oscar|142,{
+011-1.gat,94,38,0|script|Oscar|142,
+{
// Check we are at the good time of the year
if (!(gettime(6) == 11 && (gettime(5) >= 4 && gettime(5) <= 30))) goto L_NoEvent;
// Check halloween quest has been done or not.