summaryrefslogtreecommitdiff
path: root/npc/019-4-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-21 01:19:39 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-21 01:19:39 -0200
commit2facfadaf722de50a6673dbf4acc5ff6b9de4f21 (patch)
treea68f0953379aace16ad25d6d3a18f5a1f4d67b9b /npc/019-4-1
parent7f62e64719b1ed2f3a9f21ca92b20d87ddd1e8af (diff)
downloadserverdata-2facfadaf722de50a6673dbf4acc5ff6b9de4f21.tar.gz
serverdata-2facfadaf722de50a6673dbf4acc5ff6b9de4f21.tar.bz2
serverdata-2facfadaf722de50a6673dbf4acc5ff6b9de4f21.tar.xz
serverdata-2facfadaf722de50a6673dbf4acc5ff6b9de4f21.zip
019-4 is Icelands
Diffstat (limited to 'npc/019-4-1')
-rw-r--r--npc/019-4-1/model.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/npc/019-4-1/model.c b/npc/019-4-1/model.c
deleted file mode 100644
index 53fff5983..000000000
--- a/npc/019-4-1/model.c
+++ /dev/null
@@ -1,45 +0,0 @@
-// TMW2/LoF scripts.
-// Authors:
-// TMW-LoF Team
-// Jesusalva
-// Description:
-// Permanently repeatable quest, without any special limit
-
-017-3,68,87,0 script Model NPC_PLAYER,{
- mesn;
- mesq l("This room is too dark. I want to brighten it up.");
- next;
- .@price=(getiteminfo(CaveSnakeLamp, ITEMINFO_SELLPRICE)*11/10)*5;
- mesn;
- mesq l("I am willing to pay @@ GP for each 5 @@ you bring me!", .@price, getitemlink(CaveSnakeLamp));
- next;
- select
- rif(countitem(CaveSnakeLamp) >= 5, l("Here they are!")),
- l("Not now...");
- mes "";
- if (@menu == 1) {
- delitem CaveSnakeLamp, 5;
- Zeny=Zeny+.@price;
- getexp (.@price/rand(2,3)), 5;
- mesn;
- mesq l("Many, many thanks!");
- next;
- }
- mesn;
- mesq l("Too bad these lamps wear off after a while... I am making stocks of them now!");
- close;
-
-OnInit:
- .@npcId = getnpcid(0, .name$);
- setunitdata(.@npcId, UDT_HEADTOP, FancyHat);
- setunitdata(.@npcId, UDT_HEADMIDDLE, CreasedShirt);
- setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes);
- setunitdata(.@npcId, UDT_WEAPON, JeansShorts);
- setunitdata(.@npcId, UDT_HAIRSTYLE, 2);
- setunitdata(.@npcId, UDT_HAIRCOLOR, 4);
-
- .sex=G_MALE;
- .distance=5;
- end;
-}
-