summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/003-1/events.txt42
-rw-r--r--npc/functions/event.txt2
2 files changed, 44 insertions, 0 deletions
diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt
index 71c2bdba1..d5888768c 100644
--- a/npc/003-1/events.txt
+++ b/npc/003-1/events.txt
@@ -154,6 +154,48 @@ OnInit:
+// St. Patrick Day
+003-1,47,53,0 script Patrick Saulc NPC_WEIRDGREEN,{
+ mesn;
+ mesc l("It's St. Patrick Event!"), 3;
+ mes l("At 00:00, 06:00, 12:00, 15:00, 18:00 and 21:00 server time");
+ mes l("Several special clovers will show up at forests.");
+ next;
+ mes l("They have 10x more chance to drop a @@, so it is a great deal!", getitemlink(FourLeafClover));
+ mes l("Also, hidden in a forest which is not either hot or cold, is the Gold Pot Cauldron...");
+ mes l("You can get daily something from it, but unless you're green like me, you will have no luck...");
+ close;
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 5;
+
+ disablenpc(.name$);
+ end;
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
// Whatever event use #RARE_POINTS
// Which is a script variable, meaning it will be a really special event.
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 1b17b40b6..21bfc8444 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -156,6 +156,7 @@ OnClock0000:
$EVENT$="St. Patrick";
$@PATRICK_DAYMAX=.patrick_endday;
enablenpc "sPatrick";
+ enablenpc "Patrick Saulc";
}
// End the event the day after
if (.@d == .patrick_endday+1) {
@@ -164,6 +165,7 @@ OnClock0000:
sClear();
$EVENT$="";
donpcevent "sPatrick::OnCleanUp";
+ disablenpc "Patrick Saulc";
}
}