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

14 lines
438 B
Plaintext

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);
}