diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-05-31 10:49:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-05-31 10:49:44 -0300 |
commit | 2efe6080a157c8612ecea7ba15374d7266965aae (patch) | |
tree | a86edfb80c5e9fe097b7299e4aeb74dc4ce6bf4c /npc/003-1 | |
parent | 33a58acbc85596d3fb3405df2e66e418cbb3fd11 (diff) | |
download | serverdata-2efe6080a157c8612ecea7ba15374d7266965aae.tar.gz serverdata-2efe6080a157c8612ecea7ba15374d7266965aae.tar.bz2 serverdata-2efe6080a157c8612ecea7ba15374d7266965aae.tar.xz serverdata-2efe6080a157c8612ecea7ba15374d7266965aae.zip |
Move Eisten home
Diffstat (limited to 'npc/003-1')
-rw-r--r-- | npc/003-1/_import.txt | 1 | ||||
-rw-r--r-- | npc/003-1/eistein.txt | 93 |
2 files changed, 0 insertions, 94 deletions
diff --git a/npc/003-1/_import.txt b/npc/003-1/_import.txt index 19146fc93..8bc084611 100644 --- a/npc/003-1/_import.txt +++ b/npc/003-1/_import.txt @@ -6,7 +6,6 @@ "npc/003-1/aidan.txt", "npc/003-1/ched.txt", "npc/003-1/constableperry.txt", -"npc/003-1/eistein.txt", "npc/003-1/eomie.txt", "npc/003-1/eugene.txt", "npc/003-1/events.txt", diff --git a/npc/003-1/eistein.txt b/npc/003-1/eistein.txt deleted file mode 100644 index 28add6bf2..000000000 --- a/npc/003-1/eistein.txt +++ /dev/null @@ -1,93 +0,0 @@ -// TMW2 scripts. -// Author: -// Saulc -// Variables: -// 0 CandorQuest_Eistein -// Values: -// Eistein reward for free player over level 50 by a graduation cap, - - - - -003-2,35,34,0 script Eistein NPC_PLAYER,{ - - .reward = GraduationCap; - - function quest_completed{ - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I hope you are proud of your @@ ",getitemlink(.reward)); - close; - } - - function quest_open { - if(BaseLevel >= 50) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Congrats you passed the cap of the level 50! Here is your @@, you deserve it.",getitemlink(.reward)); - getitem .reward,1; - setq TulimsharQuest_Eistein, 1; - close; - } - else - { - speech S_FIRST_BLANK_LINE, - l("i can't reward a weak adventurer like you, Come back later."); - close; - } - } - - function quest_started { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh, Welcome then."); - speech S_LAST_NEXT, - l("I'm Eistein, I reward brave adventurers who kill monsters who plague our lands."); - do - { - select - l("Interessing can I be rewarded for my help?"), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - quest_open; - break; - } - } while (@menu != 2); - } - - do - { - .@chest = getq(TulimsharQuest_Eistein); - if (.@chest == 1) - goto quest_completed; - select - rif(.@chest == 0, - l("Hello, can I be rewarded for my help?")), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - quest_started; - break; - } - } while (@menu != 2); - - closedialog; - goodbye; - close; - -OnInit: - .@npcId = getnpcid(0, .name$); - setunitdata(.@npcId, UDT_HEADTOP, GraduationCap); - setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe); - setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots); - setunitdata(.@npcId, UDT_HAIRSTYLE, 26); - setunitdata(.@npcId, UDT_HAIRCOLOR, 0); - npcsit; - - .sex = G_MALE; - .distance = 4; - end; -} |