Battledale_PRC8/_module/nss/swt_waitr_get.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

24 lines
797 B
Plaintext

//::///////////////////////////////////////////////
//:: swt_waitr_get
//:: swt_waitr_get.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By: Lysandius
//:: Created On: 09-07-2002
//:://////////////////////////////////////////////
void main()
{
SetLocalObject(OBJECT_SELF, "oPlayer", GetLastSpeaker());
ActionSpeakString("I will be right back.");
ActionMoveToObject(GetNearestObjectByTag("swt_waypoint_drinks"));
ActionMoveToObject(GetLocalObject(OBJECT_SELF, "oPlayer"));
ActionSpeakString("Here is your drink.");
ActionGiveItem(CreateItemOnObject(GetLocalString(OBJECT_SELF, "sDrink")), GetLocalObject(OBJECT_SELF, "oPlayer"));
ActionRandomWalk();
}