UW2_PRC8/_module/nss/sfcs_ring.nss

21 lines
537 B
Plaintext
Raw Permalink Normal View History

2023-09-25 20:24:01 -04:00
#include "sfcs_functs"
void main()
{
// Vars
object oPC = GetPCSpeaker(),
oItem = CreateItemOnObject("sfcs_ring");
string sItemName = GetName(oItem);
// Set Item to undroppable for obvious reasons
SetDroppableFlag(oItem, FALSE);
// Set items local vars
SetLocalString(OBJECT_SELF, "ITEM_TYPE", "RING");
SetLocalObject(OBJECT_SELF, "ITEM", oItem);
SetLocalString(OBJECT_SELF, "ITEM_NAME", sItemName);
ActionDoCommand(SetMenuText());
ActionWait(0.25);
ActionStartConversation(oPC);
}