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

23 lines
440 B
Plaintext

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