PWE_PRC8/_module/nss/goto_brosna_ship.nss

20 lines
649 B
Plaintext
Raw Permalink Normal View History

2025-04-03 10:29:41 -04:00
//::///////////////////////////////////////////////
//:: FileName goto_brosna_ship
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 7/7/2002 1:19:03 PM
//:://////////////////////////////////////////////
void main()
{
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "TickettoBrosna");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
AssignCommand(GetPCSpeaker(), JumpToLocation(GetLocation(GetObjectByTag ("brosna_ship_arrive"))));
}