Further file organization
Further file organization
This commit is contained in:
22
nwn/nwnprc/trunk/scripts/prc_rune_inscrib.nss
Normal file
22
nwn/nwnprc/trunk/scripts/prc_rune_inscrib.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
// Written by Stratovarius
|
||||
// Turns rune scribing on and off.
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
string nMes = "";
|
||||
|
||||
if(!GetLocalInt(oPC, "InscribeRune"))
|
||||
{
|
||||
SetLocalInt(oPC, "InscribeRune", TRUE);
|
||||
nMes = "*Inscribe Rune Activated*";
|
||||
}
|
||||
else
|
||||
{
|
||||
// Removes effects
|
||||
DeleteLocalInt(oPC, "InscribeRune");
|
||||
nMes = "*Inscribe Rune Deactivated*";
|
||||
}
|
||||
|
||||
FloatingTextStringOnCreature(nMes, oPC, FALSE);
|
||||
}
|
Reference in New Issue
Block a user