diff options
Diffstat (limited to 'npc/019-4-1')
-rw-r--r-- | npc/019-4-1/_import.txt | 4 | ||||
-rw-r--r-- | npc/019-4-1/bedder.txt | 23 | ||||
-rw-r--r-- | npc/019-4-1/chief.txt | 24 | ||||
-rw-r--r-- | npc/019-4-1/cook.txt | 21 | ||||
-rw-r--r-- | npc/019-4-1/golbarez.txt | 19 | ||||
-rw-r--r-- | npc/019-4-1/model.c | 45 |
6 files changed, 136 insertions, 0 deletions
diff --git a/npc/019-4-1/_import.txt b/npc/019-4-1/_import.txt index 89a351b39..e01bc7dd3 100644 --- a/npc/019-4-1/_import.txt +++ b/npc/019-4-1/_import.txt @@ -1,3 +1,7 @@ // Map 019-4-1: Christmas Workshop // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/019-4-1/_warps.txt", +"npc/019-4-1/bedder.txt", +"npc/019-4-1/chief.txt", +"npc/019-4-1/cook.txt", +"npc/019-4-1/golbarez.txt", diff --git a/npc/019-4-1/bedder.txt b/npc/019-4-1/bedder.txt new file mode 100644 index 000000000..e069ac4e7 --- /dev/null +++ b/npc/019-4-1/bedder.txt @@ -0,0 +1,23 @@ +// TMW2/LoF scripts. +// Authors: +// TMW-LoF Team +// Jesusalva +// Description: +// Christmas Quest +// In dire need for white fur for bedding. Gives %Reward% for %Amount% (LESS LIKELY) +// (TMW Org. Version) +// Or maybe, he just take the white fur + something + open xmas box and trades +// these for closed gift boxes (MOST LIKELY) +// TMW2:ML Version + +019-4-1,48,39,0 script Christmas Storage Master NPC_GNOME_C,{ + mesn; + mesq l("The white fur..."); + close; + +OnInit: + .sex=G_MALE; + .distance=5; + end; +} + diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt new file mode 100644 index 000000000..e826e4ebb --- /dev/null +++ b/npc/019-4-1/chief.txt @@ -0,0 +1,24 @@ +// TMW2/LoF scripts. +// Authors: +// TMW-LoF Team +// Jesusalva +// Description: +// Christmas Quest +// Closed Christmas Boxes have been stolen! Give him any you find for the +// ranking (and ranking based rewards). The global amount of delivered boxes +// will determine the gifts (and amount of gifts) handled by Santa! +// +// Rewards: Santa Hat, Gnome Hat, Santa Bearded Hat, Ugly Christmas Sweater, +// Turtle Neck Sweater, Santa Globe, Snowman Globe, Red Stocking. + +019-4-1,56,33,0 script Christmas Chief NPC_GNOME_A,{ + mesn; + mesq l("The stolen empty boxes!! Christmas is RUINED!!!"); + close; + +OnInit: + .sex=G_MALE; + .distance=5; + end; +} + diff --git a/npc/019-4-1/cook.txt b/npc/019-4-1/cook.txt new file mode 100644 index 000000000..b7a01708f --- /dev/null +++ b/npc/019-4-1/cook.txt @@ -0,0 +1,21 @@ +// TMW2/LoF scripts. +// Authors: +// TMW-LoF Team +// Jesusalva +// Description: +// Christmas Quest. +// Originally, it was planned to collect XMAS CAKE, XMAS CANDY CANE and GINGERBREAD BISCUIT +// and then make a player ranking for sport (like Ched). The ranking function, +// however, was moved to Chief. Maybe Cook will exchange these for open xmas boxes. + +019-4-1,30,29,0 script Christmas Cook NPC_GNOME_B,{ + mesn; + mesq l("The xmas cake and canes and gingerbread ranking..."); + close; + +OnInit: + .sex=G_MALE; + .distance=5; + end; +} + diff --git a/npc/019-4-1/golbarez.txt b/npc/019-4-1/golbarez.txt new file mode 100644 index 000000000..3cc343d79 --- /dev/null +++ b/npc/019-4-1/golbarez.txt @@ -0,0 +1,19 @@ +// TMW2/LoF scripts. +// Authors: +// TMW-LoF Team +// Jesusalva +// Description: +// Permanently repeatable quest, without any special limit +// NPC_GNOME_ABC NPC_LOF_RICH + +019-4-1,30,45,0 script Golbarez NPC_LOF_RICH,{ + mesn; + mesq l("The paradise!"); + close; + +OnInit: + .sex=G_MALE; + .distance=5; + end; +} + diff --git a/npc/019-4-1/model.c b/npc/019-4-1/model.c new file mode 100644 index 000000000..53fff5983 --- /dev/null +++ b/npc/019-4-1/model.c @@ -0,0 +1,45 @@ +// 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; +} + |