summaryrefslogtreecommitdiff
path: root/npc/003-1/events.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-14 17:55:18 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-14 17:55:18 -0300
commit4d16e246509cdb398b22946a3591d1e062c8fc4b (patch)
tree0ca36df18c4e898d81e3d8970820fc07691ed44b /npc/003-1/events.txt
parent9ff3aaf8af500e7bb0ba58e362ad41a6598e9628 (diff)
downloadserverdata-4d16e246509cdb398b22946a3591d1e062c8fc4b.tar.gz
serverdata-4d16e246509cdb398b22946a3591d1e062c8fc4b.tar.bz2
serverdata-4d16e246509cdb398b22946a3591d1e062c8fc4b.tar.xz
serverdata-4d16e246509cdb398b22946a3591d1e062c8fc4b.zip
Experimental stuff.
Diffstat (limited to 'npc/003-1/events.txt')
-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;
+
+}