diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-04-22 09:46:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-04-28 19:57:24 +0000 |
commit | 1a4fe3a5a9f556ff398345d3722e36c81729b103 (patch) | |
tree | 6019458affd52ae86bb869d39e5fec3882dd03d2 | |
parent | e478440a8fb70fa0cbc67020f68a849de9949365 (diff) | |
download | serverdata-1a4fe3a5a9f556ff398345d3722e36c81729b103.tar.gz serverdata-1a4fe3a5a9f556ff398345d3722e36c81729b103.tar.bz2 serverdata-1a4fe3a5a9f556ff398345d3722e36c81729b103.tar.xz serverdata-1a4fe3a5a9f556ff398345d3722e36c81729b103.zip |
4144 bot
-rw-r--r-- | npc/008-1/4144.txt | 87 | ||||
-rw-r--r-- | npc/008-1/_import.txt | 1 |
2 files changed, 88 insertions, 0 deletions
diff --git a/npc/008-1/4144.txt b/npc/008-1/4144.txt new file mode 100644 index 00000000..17dd6e45 --- /dev/null +++ b/npc/008-1/4144.txt @@ -0,0 +1,87 @@ +// Evol Script +// Author: +// Jesusalva +// WildX +// Description: +// 4144 is not an human, according to studies conducted by TMW Team. +// He seems to be a highly advanced artificial intelligence. +// The fact that he was never seen contributes to this theory. +// Other members opinions: +// “4144 is a bot which sits on Hurnscald.” ~ Sagratha, 2016 + +008-1,246,104,0 script 4144 NPC_PLAYER,{ + function sittingBot; + function zealiteLore; + // TODO: Maybe we should use Karma here? For discussion + @is_billygates=(strcharinfo(0) == "WildX"); + speech + l("Hi."); + next; + do + { + select + l("Hello."), + l("Can I sit on you?"), + l("What are you doing?"); + mes ""; + switch (@menu) + { + case 1: + break; + case 2: + sittingBot(); + break; + case 3: + zealiteLore(); + break; + } + } while (@menu != 1); + + close; + + // Sitting Bot + function sittingBot + { + // This is just an easter egg (for now) + if (@is_billygates) { + speech S_LAST_NEXT, + l("Only if everyone agrees. You'll need to do a vote for that."), + l("Just kidding."); + } + + // Main dialog + speech S_LAST_NEXT, + l("I am just a NPC. Sitting on NPCs is usually fine, we don't complain."), + l("But sitting on normal players and/or GMs can be seen as trolling, spamming and player abuse warranting you a ban."), + l("I would advise you to sit closer to the Soul Menhir, instead."); + return; + } + + // Zealite Info + function zealiteLore + { + speech S_LAST_NEXT, + l("I am maintaing Hurnscald's Soul Menhir in working conditions."), + l("Soul Menhirs are pieces of Zealite Ore, really needed to cast magic around here."), + l("Please do not mistake them with Terra Ore."); + return; + } + +// TODO: Replace with a good sprite and dye robes in green +OnInit: + .@npcId = getnpcid(.name$); + setunitdata(.@npcId, UDT_HEADTOP, FancyHat); // Wizard Hat + setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe); + setunitdata(.@npcId, UDT_HEADBOTTOM, CottonGloves); + setunitdata(.@npcId, UDT_WEAPON, CottonBoots); + + // What is 4144's hair? He is always wearing his wizard hat + setunitdata(.@npcId, UDT_HAIRSTYLE, 7); + setunitdata(.@npcId, UDT_HAIRCOLOR, 17); + npcsit; + + .sex = G_MALE; + .distance = 4; + end; +} + diff --git a/npc/008-1/_import.txt b/npc/008-1/_import.txt index 96d03c46..6d5f4bfa 100644 --- a/npc/008-1/_import.txt +++ b/npc/008-1/_import.txt @@ -2,6 +2,7 @@ // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/008-1/_mobs.txt", "npc/008-1/_warps.txt", +"npc/008-1/4144.txt", "npc/008-1/auldsbel.txt", "npc/008-1/banu.txt", "npc/008-1/blossom.txt", |