PRC8_fork/trunk/psionics/psi_aug_togg_max.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

26 lines
815 B
Plaintext

//::///////////////////////////////////////////////
//:: Maximum Augmentation toggle
//:: psi_aug_togg_max
//::///////////////////////////////////////////////
/**
Switches the maximum augmentation feature on
and off.
@author Ornedan
@data Created - 2006.07.15
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "prc_alterations"
#include "psi_inc_psifunc"
void main()
{
object oPC = OBJECT_SELF;
// Toggle it and do feedback
SetLocalInt(oPC, PRC_AUGMENT_MAXAUGMENT, !GetLocalInt(oPC, PRC_AUGMENT_MAXAUGMENT));
FloatingTextStringOnCreature(GetStringByStrRef(16823677) + " " + (GetLocalInt(oPC, PRC_AUGMENT_MAXAUGMENT) ? GetStringByStrRef(63798/*Activated*/):GetStringByStrRef(63799/*Deactivated*/)), oPC, FALSE);
}