Further file organization
Further file organization
This commit is contained in:
26
nwn/nwnprc/trunk/psionics/psi_aug_togg_max.nss
Normal file
26
nwn/nwnprc/trunk/psionics/psi_aug_togg_max.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
}
|
Reference in New Issue
Block a user