summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-14 17:24:38 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-14 17:24:38 -0300
commitf7c53b6945a84c02120b45c99cfc11cfd36c0545 (patch)
treea3eff0373a71202d96ba6ba3b37b6a8d398e2c92 /npc
parent8990e4fae71b152ff78308f83b43c9a2083419d2 (diff)
downloadserverdata-f7c53b6945a84c02120b45c99cfc11cfd36c0545.tar.gz
serverdata-f7c53b6945a84c02120b45c99cfc11cfd36c0545.tar.bz2
serverdata-f7c53b6945a84c02120b45c99cfc11cfd36c0545.tar.xz
serverdata-f7c53b6945a84c02120b45c99cfc11cfd36c0545.zip
Add the NPC with information about St. Patrick Day.
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";
}
}