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

23 lines
470 B
Plaintext

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