summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-1/events.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt
index 0d7bebbaf..dc1ac61ee 100644
--- a/npc/003-1/events.txt
+++ b/npc/003-1/events.txt
@@ -4,6 +4,7 @@
// Description:
// The NPCs on this file are for when events end. Must be manually enabled.
+// Easte
003-1,47,53,0 script Lilica#final NPC_EASTER,{
mesn;
mesq l("Easter is over! I am the last chance to get rid of eggs!!");
@@ -49,4 +50,43 @@ OnInit:
end;
}
+// Whatever event use #RARE_POINTS
+// Which is a script variable, meaning it will be a really special event.
+003-1,47,53,0 script Pydisgner#spoints NPC_GUGLI,{
+ openshop;
+OnInit:
+ .sex = G_OTHER;
+ .distance=5;
+
+ tradertype(NST_CUSTOM);
+
+ sellitem ThunderStaff, 14000;
+ sellitem PiouEgg, 9350;
+ sellitem Googles, 8000;
+
+ sellitem StrangeCoin, 10;
+
+ sellitem WoodenSword, 10000;
+ sellitem LeatherShirt, 800;
+ sellitem JeansShorts, 600;
+ sellitem BronzeGift, 500;
+ sellitem CasinoCoins, 35;
+ sellitem Plushroom, 20;
+ sellitem Chagashroom, 20;
+
+ disablenpc(.name$);
+ end;
+
+OnCountFunds:
+ setcurrency(#RARE_POINTS);
+ end;
+
+OnPayFunds:
+ if( #RARE_POINTS < @price )
+ end;
+ #RARE_POINTS=#RARE_POINTS-@price;
+ purchaseok();
+ end;
+
+}