Aschbourne_PRC8/_module/nss/ww_inc_on_acq.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

26 lines
792 B
Plaintext

void WWTool(object oPC)
{
object oItem=GetModuleItemAcquired();
string sTag=GetTag(oItem);
if(sTag=="controlshapetool")
{
int iCurse = GetLocalInt(oPC,"AFF_WEREWOLF");
if(iCurse == FALSE)
{
//SendMessageToPC(oPC,"DEBUG: I am cursed.");
SetCampaignInt("WWData","AFF_WEREWOLF",1,oPC);
SetLocalInt(oPC,"AFF_WEREWOLF",1);
SetCampaignInt("WWData","WOLF_PERM",0,oPC);
SetLocalInt(oPC,"WOLF_PERM",0);
//SetCampaignInt("WWData","WOLF_DAYS",0,oPC);
//SetLocalInt(oPC,"WOLF_DAYS",0);
SetCampaignInt("WWData","WWTOOL",1,oPC);
SetLocalInt(oPC,"WWTOOL",1);
}
if(!(GetIsPC(oPC)))
{
DestroyObject(oItem);
}
}
}