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

22 lines
469 B
Plaintext

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