mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 14:07:15 -05:00
Further file organization
Further file organization
This commit is contained in:
19
nwn/nwnprc/trunk/scripts/prc_ft_dblwnd.nss
Normal file
19
nwn/nwnprc/trunk/scripts/prc_ft_dblwnd.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Activates Double Wand
|
||||
*/
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
if(GetLocalInt(oPC, "DoubleWand"))
|
||||
{
|
||||
FloatingTextStringOnCreature("Double Wand Wielder Deactivated.", oPC, FALSE);
|
||||
DeleteLocalInt(oPC, "DoubleWand");
|
||||
}
|
||||
else
|
||||
{
|
||||
FloatingTextStringOnCreature("Double Wand Wielder Activated.", oPC, FALSE);
|
||||
SetLocalInt(oPC, "DoubleWand", TRUE);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user