Initial Upload
Initial Upload
This commit is contained in:
20
_module/nss/shp_actshaper.nss
Normal file
20
_module/nss/shp_actshaper.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
void activateShaper()
|
||||
{
|
||||
if(GetIsDM(GetItemActivator()) == TRUE)
|
||||
{
|
||||
|
||||
// get the wand's activator and target, put target info into local vars on activator
|
||||
object oShaper = GetItemActivator();
|
||||
|
||||
object oTarget = GetItemActivatedTarget();
|
||||
SetLocalObject(oShaper, "oShaperTarget", oTarget);
|
||||
location lTarget = GetItemActivatedTargetLocation();
|
||||
SetLocalLocation(oShaper, "lShaperTargetLocation", lTarget);
|
||||
AssignCommand(oShaper, ActionStartConversation(oShaper, "shaper", TRUE));
|
||||
}
|
||||
else
|
||||
{
|
||||
SendMessageToPC(GetItemActivator(), "You realize such 'wondrous' things are not meant for mortal hands.");
|
||||
DestroyObject(GetItemActivated());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user