Further file organization
Further file organization
This commit is contained in:
16
nwn/nwnprc/trunk/scripts/prc_rune_cntone.nss
Normal file
16
nwn/nwnprc/trunk/scripts/prc_rune_cntone.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
// Written by Stratovarius
|
||||
// Turns Blood Component on and off.
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = OBJECT_SELF;
|
||||
string nMes = "";
|
||||
|
||||
int nCount = GetLocalInt(oPC, "RuneCounter");
|
||||
nCount += 1;
|
||||
if (nCount > 50) nCount = 50;
|
||||
SetLocalInt(oPC, "RuneCounter", nCount);
|
||||
nMes = "*Rune Counter Value is: " + IntToString(nCount) + "*";
|
||||
FloatingTextStringOnCreature(nMes, oPC, FALSE);
|
||||
}
|
Reference in New Issue
Block a user