33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
int StartingConditional()
|
|
{
|
|
object oPC=GetPCSpeaker();
|
|
string sLocation;
|
|
string sTag;
|
|
int nR;
|
|
SetLocalInt(oPC,"nGrubbinsQuest",1);
|
|
nR=d4();
|
|
if (nR==1)
|
|
{ // chasm
|
|
sTag="Chasm";
|
|
sLocation="the Chasm. It's entrance is somewhere near the woodsman's lodge which is south east of the city.";
|
|
} // chasm
|
|
else if (nR==2)
|
|
{ // Desert NE
|
|
sTag="DESNE";
|
|
sLocation="the North East section of the southern desert.";
|
|
} // Desert NE
|
|
else if (nR==3)
|
|
{ // Western Forest
|
|
sTag="WesternForest";
|
|
sLocation="the Western Forest. It is to the west towards the sea. It is near the sea town of Port Elben.";
|
|
} // Western Forest
|
|
else if (nR==4)
|
|
{ // Northern Frozen Central
|
|
sTag="FrozenNorthCentral";
|
|
sLocation="the frozen north, in it's central area. The cold northern areas are dangerous and obviously cold but, that is where the thief has gone.";
|
|
} // Northern Frozen Central
|
|
SetLocalString(oPC,"sGrubbinsQuest",sTag);
|
|
SetCustomToken(3000,sLocation);
|
|
return TRUE;
|
|
}
|