Further file organization
Further file organization
This commit is contained in:
19
nwn/nwnprc/trunk/scripts/prc_ft_mstrwnd.nss
Normal file
19
nwn/nwnprc/trunk/scripts/prc_ft_mstrwnd.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Activates Master Wand
|
||||
*/
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
if(GetLocalInt(oPC, "MasterWand"))
|
||||
{
|
||||
FloatingTextStringOnCreature("Master Wand Deactivated.", oPC, FALSE);
|
||||
DeleteLocalInt(oPC, "MasterWand");
|
||||
}
|
||||
else
|
||||
{
|
||||
FloatingTextStringOnCreature("Master Wand Activated.", oPC, FALSE);
|
||||
SetLocalInt(oPC, "MasterWand", TRUE);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user