diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-03 15:32:53 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-03 15:32:53 -0300 |
commit | d4affc14cedafd3918380c17ebeb36d0864cb3cc (patch) | |
tree | 294277ced52c1398d4ce9be3836d498785138409 /npc/017-3 | |
parent | f866e46faefedc345d409ccb130d411002ef7a2b (diff) | |
download | serverdata-d4affc14cedafd3918380c17ebeb36d0864cb3cc.tar.gz serverdata-d4affc14cedafd3918380c17ebeb36d0864cb3cc.tar.bz2 serverdata-d4affc14cedafd3918380c17ebeb36d0864cb3cc.tar.xz serverdata-d4affc14cedafd3918380c17ebeb36d0864cb3cc.zip |
Move 017-3/model
Diffstat (limited to 'npc/017-3')
-rw-r--r-- | npc/017-3/model.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/npc/017-3/model.c b/npc/017-3/model.c deleted file mode 100644 index 5fdf44c8a..000000000 --- a/npc/017-3/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(.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; -} - |