PRC8/trunk/scripts/prc_rune_inscrib.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -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);
}