17 lines
457 B
Plaintext
17 lines
457 B
Plaintext
|
void WWunacq(object oPC, object oItem)
|
||
|
{
|
||
|
string sDTag=GetTag(oItem);
|
||
|
object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, oItem);
|
||
|
if(sDTag=="controlshapetool")
|
||
|
{
|
||
|
CreateItemOnObject("controlshapetool",oPC);
|
||
|
DestroyObject(oItem);
|
||
|
}
|
||
|
if(sDTag=="wolfformtool")
|
||
|
{
|
||
|
CreateItemOnObject("wolfformtool",oPC);
|
||
|
DestroyObject(oItem);
|
||
|
}
|
||
|
return;
|
||
|
}
|