summaryrefslogtreecommitdiff
path: root/npc/003-1/ninathetraveler.txt
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-11 14:34:19 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-11 14:34:19 -0200
commitff65ab48ba68c2f80a377eaa2561e48d9d0efa3f (patch)
treecfcd9fae79aad585321ce6554d9e546dd0184018 /npc/003-1/ninathetraveler.txt
parent4ff349e57a5b8efd89fbe3f2e6389b5ccf175c32 (diff)
downloadserverdata-ff65ab48ba68c2f80a377eaa2561e48d9d0efa3f.tar.gz
serverdata-ff65ab48ba68c2f80a377eaa2561e48d9d0efa3f.tar.bz2
serverdata-ff65ab48ba68c2f80a377eaa2561e48d9d0efa3f.tar.xz
serverdata-ff65ab48ba68c2f80a377eaa2561e48d9d0efa3f.zip
With aid of a python script, dress everyone in tulimshar.
All womans except Eomie will need new clotches.
Diffstat (limited to 'npc/003-1/ninathetraveler.txt')
-rw-r--r--npc/003-1/ninathetraveler.txt80
1 files changed, 11 insertions, 69 deletions
diff --git a/npc/003-1/ninathetraveler.txt b/npc/003-1/ninathetraveler.txt
index 921344691..b640dd6bd 100644
--- a/npc/003-1/ninathetraveler.txt
+++ b/npc/003-1/ninathetraveler.txt
@@ -1,80 +1,22 @@
// Author:
// Saulc
-003-1,56,143,0 script Nina The Traveler NPC_MONA,{
+003-1,56,143,0 script Nina The Traveler NPC_FEMALE,{
- .cake = CherryCake;
- .reward = FancyHat;
-
- function quest_completed{
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("It was so tasty, I can't eat anything more... Thank you.");
- close;
- }
-
- function quest_open {
- if (countitem(.cake) > 0)
- {
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("You brought me Cherry Cake! Here is your @@, as promised.",getitemlink(.reward));
- delitem .cake,1;
- getitem .reward,1;
- setq TulimsharQuest_Sarah, 1;
- close;
- }
- else
- {
- speech S_FIRST_BLANK_LINE,
- l("Sorry, that is not the cake I love.");
- close;
- }
- }
-
- function quest_started {
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Oh, Welcome then.");
- speech S_LAST_NEXT,
- l("Can you bring me a piece of Cherry Cake? Pretty please?");
- do
- {
- select
- l("Here is it!"),
- menuaction(l("Quit"));
-
- switch (@menu)
- {
- case 1:
- quest_open;
- break;
- }
- } while (@menu != 2);
- }
-
- do
- {
- .@chest = getq(TulimsharQuest_Sarah);
- if (.@chest == 1)
- goto quest_completed;
- select
- rif(.@chest == 0,
- l("Hello, I'm new here! Can I help you?")),
- menuaction(l("Quit"));
-
- switch (@menu)
- {
- case 1:
- quest_started;
- break;
- }
- } while (@menu != 2);
-
- closedialog;
goodbye;
- close;
OnInit:
+ .@npcId = getnpcid(0, "Nina The Traveler");
+ //setunitdata(.@npcId, UDT_HEADTOP, 2936);
+ //setunitdata(.@npcId, UDT_HEADMIDDLE, 1318);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, 1319); // TODO
+ setunitdata(.@npcId, UDT_HEADBOTTOM, 2212);
+ setunitdata(.@npcId, UDT_WEAPON, 1803); // Boots
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 27);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 11);
+
.sex = G_FEMALE;
- .distance = 3;
+ .distance = 5;
end;
}