generated from Jaysyn/ModuleTemplate
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
// Travel Builder
|
|
|
|
// Present travel shortcut option menu (ship travel)
|
|
|
|
// Author : Proleric
|
|
|
|
// This is an example of how to present a travel shortcut option menu
|
|
// in conversation. For the purposes of illustration, the network is
|
|
// identified by a local variable on the ship's captain, but this
|
|
// isn't part of the system.
|
|
|
|
// In this example, we don't want to list the current node as a possible
|
|
// destination, so we over-ride the default.
|
|
|
|
// The second over-ride forces the captain to travel with the ship.
|
|
// The PC can't get home in the demo module unless the captain travels too.
|
|
// If the captain is on the ship, this will happen anyway, but it is possible
|
|
// to lure the captain on shore in conversation.
|
|
|
|
// See conversation xx_travel_sea for illustration.
|
|
|
|
// Modified : 16-Mar-2007
|
|
|
|
#include "bh_travel_inc"
|
|
|
|
void main()
|
|
{
|
|
int bIncludeCurrentNode = FALSE;
|
|
int bCallerTravels = TRUE;
|
|
|
|
bhtTravelOptionMenu(GetPCSpeaker(), GetLocalString(OBJECT_SELF, "ShipNetwork"), bIncludeCurrentNode, bCallerTravels);
|
|
}
|