diff options
-rw-r--r-- | db/constants.conf | 1 | ||||
-rw-r--r-- | npc/003-1/events.txt | 42 | ||||
-rw-r--r-- | npc/functions/event.txt | 2 |
3 files changed, 45 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf index 8371dd6b9..bf63ed611 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -4057,6 +4057,7 @@ constants_db: { NPC_GNOME_A: 319 NPC_GNOME_B: 320 NPC_GNOME_C: 321 + NPC_WEIRDGREEN: 322 NPC_MIRAJ: 323 NPC_BELLA: 324 NPC_ERNANDO: 328 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"; } } |