// Evol scripts.
// Authors:
// 4144
// Qwerty Dragon
// Reid
// Vasily_Makarov
// Description:
// Allows to change language.
001-2-21,27,24,0 script Julia#Artis NPC_JULIA,{
mesn;
mesq lg("Hello dear!");
next;
mesq l("What do you want today?");
next;
.@s$ = l("I don't want to change my language, sorry.");
L_Menu:
.@enora = getq(ArtisQuests_Enora);
menu
rif(getskilllv(1) != 9, l("Something is wrong with me, I can't smile nor sit.")), L_BasicSkill,
rif (.@enora == 0, l("Where should I go?")), L_Enora,
lg("I made a mistake, I would like to change my language."), L_ChooseLang,
l("Is it possible to go back to the island?"), L_Island,
l("Could you explain to me where I am?"), L_WhereIam,
l("What happened to me?"), L_What,
l("Can I read the rules again?"), L_Rules,
l("Nothing, sorry."), L_Quit;
L_YNMenu:
menu
l("Yes, I do."), L_Menu,
l("No, none."), L_Quit;
L_NoChanges:
mes "";
mesn;
mesq l("No problem, do you have any other questions for me?");
next;
goto L_YNMenu;
L_ChooseLang:
menu
menuimage("flags/en", l("I speak English.") + " (English)"), -,
menuimage("flags/fr", l("I speak French.") + " (Français)"), -,
menuimage("flags/ru", l("I speak Russian.") + " (Русский)"), -,
menuimage("flags/es", l("I speak Spanish.") + " (Español)"), -,
menuimage("flags/pt_BR", l("I speak Portuguese.") + " (Português)"), -,
menuimage("flags/de", l("I speak German.") + " (Deutsch)"), -,
menuimage("flags/vls", l("I speak Flemish.") + " (Vlaams)"), -,
menuimage("flags/pl", l("I speak Polish.") + " (Polski)"), -,
menuimage("flags/it", l("I speak Italian.") + " (Italiano)"), -,
menuimage("flags/nl_BE", l("I speak Dutch.") + " (Nederlands)"), -,
menuimage("flags/ca", l("I speak Catalan.") + " (Català)"), -,
.@s$, L_NoChanges;
.@lang = @menu-1;
if (.@lang < 0 || .@lang > 10) close;
Lang = .@lang;
mes "";
mesn;
mesq l("Ok, done.");
next;
mesq l("Do you have any other questions for me?");
next;
goto L_Menu;
L_WhereIam:
mes "";
mesn;
mesq l("You're on La Johanne, a merchant ship.");
next;
mesq l("We arrived this morning at the port of Artis, I already warned the Legion of Aemil concerning your issue.");
next;
mesq l("Somebody is waiting for you outside!");
next;
mesq l("Like the rest of the crew, you are welcome to come and rest here at anytime during your journey on Artis.");
next;
mesq l("Do you have any other questions for me?");
next;
goto L_YNMenu;
L_What:
mes "";
mesn;
mesq l("We thought that you could help us understand this, all we know is that we found you cast in the sea, adrift on your raft.");
next;
mesq lg("You were in bad shape, you should be happy we found you before the sea killed you.");
next;
mesq l("Oh, and there was this inscription on your raft. It represents the Legion of Aemil, the largest and biggest guild of the whole new world. Does that make you remember anything, anything at all?");
next;
select
l("Sorry, but I can't tell you anything about that."),
l("Nothing, sorry.");
goto L_NoChanges;
L_Rules:
mes "";
mesn;
mesq l("Of course, they are on the left wall. Go have a look at them.");
next;
mesq l("Do you have any other questions for me?");
next;
mesq l("Do you have any other questions for me?");
next;
goto L_YNMenu;
L_BasicSkill:
mes "";
mesn;
mesq l("Let me check into it...");
next;
adddefaultskills;
mesq l("Here you go, everything is fixed.");
emotion 3;
next;
mesq l("Do you have any other questions for me?");
next;
mesq l("Do you have any other questions for me?");
next;
goto L_YNMenu;
L_Enora:
speech 5,
l("Enora from the Legion of Aemil has been warned that you were aboard."),
l("She is waiting for you on the dock."),
l("Do you have any other questions for me?");
goto L_YNMenu;
L_Quit:
goodbye;
L_Island:
speech 5,
l("Of course, as a fully-fledged crew member you can decide of the destination of La Johanne directly with Nard.");
l("Do you have any other questions for me?");
emotion 3;
goto L_YNMenu;
OnInit:
.sex = G_FEMALE;
.distance = 10;
end;
}