diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-07 20:14:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-07 20:14:15 -0300 |
commit | c6945d8ad64706861d8ebea065d87aed52581682 (patch) | |
tree | 62d011a68d5f4223ae87aea45af073d29e155c55 /npc/012-1 | |
parent | 753d8a34cfa64c4d7fcc2cd3fd0563512d7f119a (diff) | |
download | serverdata-c6945d8ad64706861d8ebea065d87aed52581682.tar.gz serverdata-c6945d8ad64706861d8ebea065d87aed52581682.tar.bz2 serverdata-c6945d8ad64706861d8ebea065d87aed52581682.tar.xz serverdata-c6945d8ad64706861d8ebea065d87aed52581682.zip |
NPC to introduce new area (still to be linked & fixed)
Diffstat (limited to 'npc/012-1')
-rw-r--r-- | npc/012-1/_import.txt | 1 | ||||
-rw-r--r-- | npc/012-1/bot.txt | 87 |
2 files changed, 88 insertions, 0 deletions
diff --git a/npc/012-1/_import.txt b/npc/012-1/_import.txt index 7df32f9db..d5aff042c 100644 --- a/npc/012-1/_import.txt +++ b/npc/012-1/_import.txt @@ -3,6 +3,7 @@ "npc/012-1/_mobs.txt", "npc/012-1/_warps.txt", "npc/012-1/andrei.txt", +"npc/012-1/bot.txt", "npc/012-1/dyrinthetraveler.txt", "npc/012-1/guards.txt", "npc/012-1/gwendolyn.txt", diff --git a/npc/012-1/bot.txt b/npc/012-1/bot.txt new file mode 100644 index 000000000..4a10bebf7 --- /dev/null +++ b/npc/012-1/bot.txt @@ -0,0 +1,87 @@ +// TMW2 Script +// Author: +// Jesusalva +// Description: +// Introduces the new area ingame + +012-1,82,59,0 script LOFBot NPC_PLAYER,{ + if (rand(1,5) % 2 == 1) { + mesn; + mesq l("Ah, @@ is sooo amazing!", $MOST_HEROIC$); + next; + } + mesn; + mesq l("Have you ever heard of the [@@https://landoffire.org/|Land Of Fire@@]? It is a really cool game which is being developed by Pyndragon and Pihro!"); + next; + mesn; + mesq l("They had a TMWA server, but the Monster King went hyperactive and... Well, it crashed here."); + +L_Menu: + mes ""; + menu + l("How can I reach the Land Of Fire?"), L_Where, + l("Tell me about the Land Of Fire."), L_Fire, + l("What are the Transcendence Gates?"), L_Gates, + l("Thanks for the help."), L_Close; + +L_Where: + mes ""; + /* + mesn; + mesq l("If you head west, you'll eventually reach Jesus Saves official residence."); + next; + */ + mesn; + mesq l("West of here, you'll find a small land path leading it it."); + next; + mesn; + mesq l("It is a really cool place. You must visit it someday!"); + next; + goto L_Menu; + +L_Fire: + mes ""; + mesn; + mesq l("The Land Of Fire Village was the result from the collapse of two worlds. It is a huge village."); + next; + mesq l("It have lots of lava caves, and some cool stuff, like the @@, can only be craft there.", getitemlink(SaviorArmor)); + next; + mesq l("Unique monsters can be found there, and people say about staffs which shoot raw death and doom from it!"); + next; + mesq l("It's self sufficient economically, and many fairies enjoy travelling there. In fact, rumors says the Fairy Kingdom is near it!"); + next; + goto L_Menu; + +L_Gates: + mes ""; + mesn; + mesq l("Ah, you'll find on the Land Of Fire Village four transcendence gates."); + next; + mesn; + mesq l("People from here always look dumbfolded when they walk past them and find themselves somewhere else."); + next; + mesn; + mesq l("There's usually not a lot of things to do past these gates, but some monsters which only lives on the Land of Fire can only be found there!"); + next; + goto L_Menu; + +L_Close: + closedialog; + npctalkonce l("Ah, @@ is so amazing!", $MOST_HEROIC$); + close; + +OnInit: + .@npcId = getnpcid(0, .name$); + setunitdata(.@npcId, UDT_HEADTOP, CenturionHelmet); + setunitdata(.@npcId, UDT_HEADMIDDLE, SaviorArmor); + setunitdata(.@npcId, UDT_HEADBOTTOM, TulimsharGuardBoots); + setunitdata(.@npcId, UDT_WEAPON, BromenalPants); + setunitdata(.@npcId, UDT_HAIRSTYLE, 1); + setunitdata(.@npcId, UDT_HAIRCOLOR, 1); + npcsit; + + .sex = G_OTHER; + .distance = 5; + end; +} + |