Aschbourne_PRC8/_module/s_lib_search_ent.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -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);
}
}