21 lines
539 B
Plaintext
21 lines
539 B
Plaintext
#include "sfcs_functs"
|
|
void main()
|
|
{
|
|
// Vars
|
|
object oPC = GetPCSpeaker(),
|
|
oItem = CreateItemOnObject("nw_wambo001");
|
|
string sItemName = GetName(oItem);
|
|
|
|
// Set Item to undroppable for obvious reasons
|
|
SetDroppableFlag(oItem, FALSE);
|
|
|
|
// Set items local vars
|
|
SetLocalString(OBJECT_SELF, "ITEM_TYPE", "BOLT");
|
|
SetLocalObject(OBJECT_SELF, "ITEM", oItem);
|
|
SetLocalString(OBJECT_SELF, "ITEM_NAME", sItemName);
|
|
|
|
ActionDoCommand(SetMenuText());
|
|
ActionWait(0.25);
|
|
ActionStartConversation(oPC);
|
|
}
|