// TMW2 scripts.
// Authors:
// Jesusalva
// Description:
// Part of the Doctor's Quest.
// Elli is capable to use magic without a mana stone, which puts her on the same
// level as the Moubootaur and the Mana Source.
032-1,58,129,0 script Elli NPC_ELLI,{
npctalk3 l("Hi.");
end;
OnInit:
.distance=5;
end;
}
032-1,59,126,0 script #InnerEP NPC_HIDDEN,0,0,{
end;
OnTouch:
if (is_master()) // FIXME
slide 52, 127;
else
dispbottom l("This door is locked.");
end;
}
032-1,68,54,0 script Adrian NPC_PLAYER,{
npctalk3 l("Hi. Are you here to get luggage?");
end;
OnInit:
.@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, SailorHat);
setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe);
//setunitdata(.@npcId, UDT_HEADBOTTOM, LeatherTrousers); // TODO
setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins);
setunitdata(.@npcId, UDT_HAIRSTYLE, 21);
setunitdata(.@npcId, UDT_HAIRCOLOR, 11);
.sex = G_MALE;
.distance=5;
end;
}
032-1,45,36,0 script Marikel NPC_PLAYER,{
npctalk3 l("Hi. Working on the docks can be hard, but I'm glad I at least get to eat!");
end;
OnInit:
.@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, SailorHat);
setunitdata(.@npcId, UDT_HEADMIDDLE, SailorShirt);
setunitdata(.@npcId, UDT_HEADBOTTOM, LeatherTrousers); // TODO
setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins);
setunitdata(.@npcId, UDT_HAIRSTYLE, 21);
setunitdata(.@npcId, UDT_HAIRCOLOR, 11);
.sex = G_MALE;
.distance=5;
end;
}
032-1,75,46,0 script Joelin NPC_FEMALE,{
npctalk3 l("Hi. My ship is about to set sail, we'll try to find somewhere better to live than this ruined place!");
end;
OnInit:
.@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, CaptainCap);
setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe);
//setunitdata(.@npcId, UDT_HEADBOTTOM, LeatherTrousers); // TODO
setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins);
setunitdata(.@npcId, UDT_HAIRSTYLE, 21);
setunitdata(.@npcId, UDT_HAIRCOLOR, 11);
.sex = G_FEMALE;
.distance=5;
end;
}
032-1,77,46,0 script Harper NPC_PLAYER,{
npctalk3 l("Hi. My captain believe the world is round, can you believe that?");
end;
OnInit:
.@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, SailorHat);
setunitdata(.@npcId, UDT_HEADMIDDLE, SailorShirt);
setunitdata(.@npcId, UDT_HEADBOTTOM, LeatherTrousers); // TODO
setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins);
setunitdata(.@npcId, UDT_HAIRSTYLE, 21);
setunitdata(.@npcId, UDT_HAIRCOLOR, 11);
.sex = G_MALE;
.distance=5;
end;
}
032-1,112,142,0 script Banu NPC_GLASS_OLD_LADY,{
npctalk3 l("Hi. My back hurts!");
end;
OnInit:
.distance=5;
end;
}
032-1,151,201,0 script Eurni NPC_EURNI,{
npctalk3 l("Hi. I have questionable items of questionable origins for you.");
end;
OnInit:
.distance=5;
end;
}
032-1,140,213,0 script Weellos NPC_LEGACY_GUARD_B,{
npctalk3 l("Hi. This is a very historic building - the former residence of the red queen no less!");
end;
OnInit:
.distance=5;
end;
}
// NPC_LEGACY_GUARD_A NPC_LEGACY_GUARD_C NPC_LEGACY_GUARD_D NPC_LEGACY_LIEUTENANT
// NPC_OMAR NPC_KADIYA NPC_JOANA&BANU NPC_SASHA