PRC8/nwn/nwnprc/trunk/scripts/prc_ft_sklltal.nss
Jaysyn904 d87fe14826 Further file organization
Further file organization
2023-08-23 22:11:00 -04:00

23 lines
491 B
Plaintext

// Written by Stratovarius
// Turns Skull Talisman on and off.
void main()
{
object oPC = OBJECT_SELF;
string nMes = "";
if(!GetLocalInt(oPC, "CraftSkullTalisman"))
{
SetLocalInt(oPC, "CraftSkullTalisman", TRUE);
nMes = "*Craft Skull Talisman Activated*";
}
else
{
// Removes effects
DeleteLocalInt(oPC, "CraftSkullTalisman");
nMes = "*Craft Skull Talisman Deactivated*";
}
FloatingTextStringOnCreature(nMes, oPC, FALSE);
}