17 lines
481 B
Plaintext
17 lines
481 B
Plaintext
|
//This calls the overland travel function
|
||
|
#include "otres_overland"
|
||
|
void main()
|
||
|
{
|
||
|
int bTravel=GetLocalInt(GetPCSpeaker(),"bTravel");
|
||
|
int iHoursToGo=GetLocalInt(GetPCSpeaker(),"iHoursToGo");
|
||
|
string sDestination=GetLocalString(GetPCSpeaker(),"sNextDestinationTag");
|
||
|
string sTerrain=GetLocalString(GetPCSpeaker(),"sTerrain");
|
||
|
float fFacing=GetLocalFloat(GetPCSpeaker(),"fFacing");
|
||
|
|
||
|
if (bTravel)
|
||
|
{
|
||
|
OverlandTravel(iHoursToGo,sDestination,sTerrain,fFacing);
|
||
|
}
|
||
|
else return;
|
||
|
}
|