Aschbourne_PRC8/_module/nss/s_lib_start.nss

14 lines
438 B
Plaintext
Raw Normal View History

2024-06-14 10:48:20 -04:00
void main()
{
//object oBookshelf = GetNearestObjectByTag("searchlibrary",OBJECT_SELF);
object oBookshelf = GetNearestObjectByTag("Bookshelf",OBJECT_SELF);
object oPC = GetPCSpeaker();
string sPCName = GetName(oPC);
string sPlayerName = GetPCPlayerName(oPC);
string sPubCDKey = GetPCPublicCDKey(oPC);
string sFullID = sPCName + sPlayerName + sPubCDKey;
SetLocalInt(oBookshelf,"PCSearch",1);
SetLocalString(oBookshelf,"PCID", sFullID);
}