Rune_PRC8/_module/nss/wrap_mod_onunaqu.nss

25 lines
774 B
Plaintext
Raw Normal View History

2024-09-13 09:10:39 -04:00
////////////////////////////////////////////////////////////////////////////////
//
// Wrapper
// wrap_mod_onunaqu
// by Don Anderson
//
////////////////////////////////////////////////////////////////////////////////
void main()
{
ExecuteScript("prc_onunaquire", OBJECT_SELF);
object oItem = GetModuleItemLost();
object oPC = GetModuleItemLostBy();
SetLocalObject(oItem, "LastOwner", oPC);
SetLocalString(oItem, "LastOwnerName", GetName(oPC));
SetLocalString(oItem, "LastOwnerPlayerName", GetPCPlayerName(oPC));
ExecuteScript("x2_mod_def_unaqu",OBJECT_SELF); // Default Bioware
//ExecuteScript("os_mod_onunaqu",OBJECT_SELF); // Olander's Siege System
//ExecuteScript("doa_mod_itemlost",OBJECT_SELF); // DOA Gold Encumberance
}