Aschbourne_PRC8/_module/nss/s_lib_search_ent.nss
Jaysyn904 f5ffe7d0b9 Module commit
Module commit.
2024-06-14 10:48:20 -04:00

13 lines
298 B
Plaintext

void main()
{
object oPC = GetEnteringObject();
object oBookshelf = GetNearestObjectByTag("Bookshelf",OBJECT_SELF);
int iPCSearch = GetLocalInt(oBookshelf,"PCSearch");
if (GetIsPC(oPC) && !GetIsDM(oPC) && (iPCSearch==0))
{
ActionStartConversation(oPC,"librarysearch",TRUE,FALSE);
}
}