Initial upload
Initial upload
This commit is contained in:
20
_module/nss/sfcs_leather.nss
Normal file
20
_module/nss/sfcs_leather.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "sfcs_functs"
|
||||
void main()
|
||||
{
|
||||
// Vars
|
||||
object oPC = GetPCSpeaker(),
|
||||
oItem = CreateItemOnObject("nw_aarcl001");
|
||||
string sItemName = GetName(oItem);
|
||||
|
||||
// Set Item to undroppable for obvious reasons
|
||||
SetDroppableFlag(oItem, FALSE);
|
||||
|
||||
// Set items local vars
|
||||
SetLocalString(OBJECT_SELF, "ITEM_TYPE", "LEATHER");
|
||||
SetLocalObject(OBJECT_SELF, "ITEM", oItem);
|
||||
SetLocalString(OBJECT_SELF, "ITEM_NAME", sItemName);
|
||||
|
||||
ActionDoCommand(SetMenuText());
|
||||
ActionWait(0.25);
|
||||
ActionStartConversation(oPC);
|
||||
}
|
Reference in New Issue
Block a user