Rune_PRC8/_module/nss/rune_onactivate.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

34 lines
839 B
Plaintext

/* Purpose: Event handler script for module's OnItemActivated event.
*/
//:://////////////////////////////////////////////
//:: Created By: Levatine
//:://////////////////////////////////////////////
void main()
{
object oItem = GetItemActivated();
object oPC = GetItemActivator();
object oActivator=GetItemActivator();
if(GetTag(oItem)=="guardianarune")
{
AssignCommand(oActivator, ActionStartConversation(oActivator, "guardiana_port", TRUE));
return;
}
if(GetTag(oItem)=="bustokerune")
{
AssignCommand(oActivator, ActionStartConversation(oActivator, "bustoke_port", TRUE));
return;
}
if(GetTag(oItem)=="bandorerune")
{
AssignCommand(oActivator, ActionStartConversation(oActivator, "bandore_port", TRUE));
return;
}
}