21 lines
716 B
Plaintext
21 lines
716 B
Plaintext
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());
|
|
}
|
|
}
|