thanks for the info, i did manage to make the bank work, i gues they decided to disable it so i turned it back on, however i had to edit the usurer dialog in order for it to work. Also the brothel i have enabled but there is nothing to do there.
IF you want to enable the bank and brothel simply goto the program\locations\init folder and edit every location, see example of antigua below
<b>this is how it should look like when enabled</b>
locations[n].reload.l8.name = "reload8_back";
locations[n].reload.l8.go = "Antigua_bank";
locations[n].reload.l8.emerge = "reload1";
locations[n].reload.l8.autoreload = "0";
locations[n].reload.l8.label = "Bank";
//locations[n].reload.l8.disable = 1;
Locations[n].reload.l8.close_for_night = 1;
<b>also you need to edit the dialog Usurer_dialog
you can find it at the folder program/dialogs/english
simply add the following under the line //nclude "DIALOGS\Usurer_dialog.h"
add this:</b>
string LinkRandPhrase (string Var1, string Var2, string Var3)
{
int RandP;
RandP = Rand(2);
switch(RandP)
{
case 0:
return Var1;
break;
case 1:
return Var2;
break;
case 2:
return Var3;
break;
}
return "ERROR";
}
string TimeGreeting()
{
return "Äîáðûé äåÃü";
}
string RandPhrase (string Var1, string Var2, string Var3, ref Diag, string Sound1, string sound2, string sound3)
{
int RandP;
RandP = Rand(2);
DeleteAttribute(Diag, "snd1");
DeleteAttribute(Diag, "snd2");
DeleteAttribute(Diag, "snd3");
switch(RandP)
{
case 0:
diag.snd = sound1;
return Var1;
break;
case 1:
diag.snd = sound2;
return Var2;
break;
case 2:
diag.snd = sound3;
return Var3;
break;
}
return "ERROR";
}