Initial commit. Updated release archive.

This commit is contained in:
Jaysyn904
2024-06-20 15:47:42 -04:00
parent d14b20cb85
commit e49d03aa23
6897 changed files with 6107848 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
//::///////////////////////////////////////////////
//:: FileName pnp_shift_nextfm
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 2/22/2004 6:13:10 PM
//:://////////////////////////////////////////////
// Move to the starting point in the list of critters by 10
void main()
{
object oPC = GetPCSpeaker();
int nStartIndex = GetLocalInt(oPC,"ShifterListIndex");
object oMimicForms = GetItemPossessedBy( oPC, "sparkoflife" );
if ( !GetIsObjectValid(oMimicForms) )
oMimicForms = CreateItemOnObject( "sparkoflife", oPC );
int num_creatures = GetLocalInt( oMimicForms, "num_creatures" );
nStartIndex+=10;
// Make sure we dont go beyond the end of the list
if (nStartIndex > num_creatures)
nStartIndex = 0;
// Set the variable
SetLocalInt(oPC, "ShifterListIndex", nStartIndex);
}