21 lines
537 B
Plaintext
21 lines
537 B
Plaintext
|
#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);
|
||
|
}
|