Rune_PRC8/_module/nss/patron1sits.nss

22 lines
561 B
Plaintext
Raw Permalink Normal View History

2024-09-13 09:10:39 -04:00
//::///////////////////////////////////////////////
//:: Name patron1sits
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Make the tavern patron sit in the chair
*/
//:://////////////////////////////////////////////
void main()
{
object oPatron = GetObjectByTag("Winespring_Patron1");
object oChair = GetObjectByTag("Chair_PatronSit");
if (IsInConversation(OBJECT_SELF) || GetIsInCombat()) return;
AssignCommand(oPatron, ActionSit(oChair));
{
ExecuteScript("nw_c2_default1", OBJECT_SELF);
}
}