Fixed rest menu & alignment changer

Fixed rest menu & alignment changer.  Updated release archive.
This commit is contained in:
Jaysyn904 2023-11-17 21:54:26 -05:00
parent f8f1413d0c
commit a203d11310
18 changed files with 18069 additions and 99 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -9,8 +9,8 @@ int StartingConditional()
{
// Inspect local variables
if(GetItemPossessedBy(GetPCSpeaker(), "guildpass")!=OBJECT_INVALID)
//if(GetItemPossessedBy(GetPCSpeaker(), "guildpass")!=OBJECT_INVALID)
return TRUE;
return FALSE;
//return FALSE;
}

View File

@ -11,16 +11,19 @@ int StartingConditional()
{
object oPC = GetPCSpeaker();
if ((GetLevelByClass(CLASS_TYPE_BARBARIAN, oPC)
+GetLevelByClass(CLASS_TYPE_BARD, oPC)
+GetLevelByClass(CLASS_TYPE_CELEBRANT_SHARESS, oPC)
+GetLevelByClass(CLASS_TYPE_HEARTWARDER, oPC)
+GetLevelByClass(CLASS_TYPE_PYROKINETICIST, oPC)
+GetLevelByClass(CLASS_TYPE_WILD_MAGE, oPC)) >= 1);
int nChaotic = (GetLevelByClass(CLASS_TYPE_BARBARIAN, oPC)
+GetLevelByClass(CLASS_TYPE_BARD, oPC)
+GetLevelByClass(CLASS_TYPE_CELEBRANT_SHARESS, oPC)
+GetLevelByClass(CLASS_TYPE_HEARTWARDER, oPC)
+GetLevelByClass(CLASS_TYPE_PYROKINETICIST, oPC)
+GetLevelByClass(CLASS_TYPE_WILD_MAGE, oPC));
if (nChaotic > 0)
{
return TRUE;
return FALSE;
}
else
{
return FALSE;
}
}

View File

@ -11,29 +11,32 @@ int StartingConditional()
{
object oPC = GetPCSpeaker();
if ((GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
+GetLevelByClass(CLASS_TYPE_KNIGHT_CHALICE, oPC)
+GetLevelByClass(CLASS_TYPE_FISTRAZIEL, oPC)
+GetLevelByClass(CLASS_TYPE_VASSAL, oPC)
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_INQUISITOR, oPC)
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_STALKER, oPC)
+GetLevelByClass(CLASS_TYPE_SHINING_BLADE, oPC)
+GetLevelByClass(CLASS_TYPE_OLLAM, oPC)
+GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC)
+GetLevelByClass(CLASS_TYPE_CELEBRANT_SHARESS, oPC)
+GetLevelByClass(CLASS_TYPE_HEARTWARDER, oPC)
+GetLevelByClass(CLASS_TYPE_SOLDIER_OF_LIGHT, oPC)
+GetLevelByClass(CLASS_TYPE_SACREDPURIFIER, oPC)
+GetLevelByClass(CLASS_TYPE_INCANDESCENT_CHAMPION, oPC)
+GetLevelByClass(CLASS_TYPE_KNIGHT_MIDDLECIRCLE, oPC)
+GetLevelByClass(CLASS_TYPE_MORNINGLORD, oPC)
+GetLevelByClass(CLASS_TYPE_SKULLCLAN_HUNTER, oPC)
+GetLevelByClass(CLASS_TYPE_BRIMSTONE_SPEAKER, oPC)
+GetLevelByClass(CLASS_TYPE_HEALER, oPC)) >= 1);
int nHoly = (GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
+GetLevelByClass(CLASS_TYPE_KNIGHT_CHALICE, oPC)
+GetLevelByClass(CLASS_TYPE_FISTRAZIEL, oPC)
+GetLevelByClass(CLASS_TYPE_VASSAL, oPC)
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_INQUISITOR, oPC)
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_STALKER, oPC)
+GetLevelByClass(CLASS_TYPE_SHINING_BLADE, oPC)
+GetLevelByClass(CLASS_TYPE_OLLAM, oPC)
+GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC)
+GetLevelByClass(CLASS_TYPE_CELEBRANT_SHARESS, oPC)
+GetLevelByClass(CLASS_TYPE_HEARTWARDER, oPC)
+GetLevelByClass(CLASS_TYPE_SOLDIER_OF_LIGHT, oPC)
+GetLevelByClass(CLASS_TYPE_SACREDPURIFIER, oPC)
+GetLevelByClass(CLASS_TYPE_INCANDESCENT_CHAMPION, oPC)
+GetLevelByClass(CLASS_TYPE_KNIGHT_MIDDLECIRCLE, oPC)
+GetLevelByClass(CLASS_TYPE_MORNINGLORD, oPC)
+GetLevelByClass(CLASS_TYPE_SKULLCLAN_HUNTER, oPC)
+GetLevelByClass(CLASS_TYPE_BRIMSTONE_SPEAKER, oPC)
+GetLevelByClass(CLASS_TYPE_HEALER, oPC));
if (nHoly > 0)
{
return TRUE;
return FALSE;
}
else
{
return FALSE;
}
}

View File

@ -9,29 +9,33 @@
int StartingConditional()
{
object oPC = GetPCSpeaker();
object oPC = GetPCSpeaker();
if ((GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
+GetLevelByClass(CLASS_TYPE_KNIGHT_CHALICE, oPC)
+GetLevelByClass(CLASS_TYPE_FISTRAZIEL, oPC)
+GetLevelByClass(CLASS_TYPE_VASSAL, oPC)
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_INQUISITOR, oPC)
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_STALKER, oPC)
+GetLevelByClass(CLASS_TYPE_SHINING_BLADE, oPC)
+GetLevelByClass(CLASS_TYPE_OLLAM, oPC)
+GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC)
+GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC)
+GetLevelByClass(CLASS_TYPE_MONK, oPC)
+GetLevelByClass(CLASS_TYPE_DWARVEN_DEFENDER, oPC)
+GetLevelByClass(CLASS_TYPE_SAMURAI, oPC)
+GetLevelByClass(CLASS_TYPE_IAIJUTSU_MASTER, oPC)
+GetLevelByClass(CLASS_TYPE_CW_SAMURAI, oPC)
+GetLevelByClass(CLASS_TYPE_HENSHIN_MYSTIC, oPC)
+GetLevelByClass(CLASS_TYPE_SOHEI, oPC)
+GetLevelByClass(CLASS_TYPE_KNIGHT, oPC)) >= 1);
int nLawful = (GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
+GetLevelByClass(CLASS_TYPE_KNIGHT_CHALICE, oPC)
+GetLevelByClass(CLASS_TYPE_FISTRAZIEL, oPC)
+GetLevelByClass(CLASS_TYPE_VASSAL, oPC)
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_INQUISITOR, oPC)
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_STALKER, oPC)
+GetLevelByClass(CLASS_TYPE_SHINING_BLADE, oPC)
+GetLevelByClass(CLASS_TYPE_OLLAM, oPC)
+GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC)
+GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC)
+GetLevelByClass(CLASS_TYPE_MONK, oPC)
+GetLevelByClass(CLASS_TYPE_DWARVEN_DEFENDER, oPC)
+GetLevelByClass(CLASS_TYPE_SAMURAI, oPC)
+GetLevelByClass(CLASS_TYPE_IAIJUTSU_MASTER, oPC)
+GetLevelByClass(CLASS_TYPE_CW_SAMURAI, oPC)
+GetLevelByClass(CLASS_TYPE_HENSHIN_MYSTIC, oPC)
+GetLevelByClass(CLASS_TYPE_SOHEI, oPC)
+GetLevelByClass(CLASS_TYPE_KNIGHT, oPC));
if (nLawful > 0)
{
return TRUE;
return FALSE;
}
else
{
return FALSE;
}
}

View File

@ -9,37 +9,40 @@
int StartingConditional()
{
object oPC = GetPCSpeaker();
if ((GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
+GetLevelByClass(CLASS_TYPE_PALE_MASTER, oPC)
+GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)
+GetLevelByClass(CLASS_TYPE_UR_PRIEST, oPC)
+GetLevelByClass(CLASS_TYPE_OCULAR, oPC)
+GetLevelByClass(CLASS_TYPE_BLIGHTLORD, oPC)
+GetLevelByClass(CLASS_TYPE_TRUENECRO, oPC)
+GetLevelByClass(CLASS_TYPE_ORCUS, oPC)
+GetLevelByClass(CLASS_TYPE_BFZ, oPC)
+GetLevelByClass(CLASS_TYPE_MASTER_OF_SHROUDS, oPC)
+GetLevelByClass(CLASS_TYPE_PRC_EYE_OF_GRUUMSH, oPC)
+GetLevelByClass(CLASS_TYPE_BLIGHTER, oPC)
+GetLevelByClass(CLASS_TYPE_JUDICATOR, oPC)
+GetLevelByClass(CLASS_TYPE_NIGHTSHADE, oPC)
+GetLevelByClass(CLASS_TYPE_DISC_BAALZEBUL, oPC)
+GetLevelByClass(CLASS_TYPE_DISPATER, oPC)
+GetLevelByClass(CLASS_TYPE_THRALL_OF_GRAZZT_A, oPC)
+GetLevelByClass(CLASS_TYPE_NECROCARNATE, oPC)
+GetLevelByClass(CLASS_TYPE_GHOST_FACED_KILLER, oPC)
+GetLevelByClass(CLASS_TYPE_DISCIPLE_OF_MEPH, oPC)
+GetLevelByClass(CLASS_TYPE_SOUL_EATER, oPC)
+GetLevelByClass(CLASS_TYPE_DISCIPLE_OF_ASMODEUS, oPC)
+GetLevelByClass(CLASS_TYPE_TALON_OF_TIAMAT, oPC)
+GetLevelByClass(CLASS_TYPE_TRUENECRO, oPC)
+GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC)) >= 1);
object oPC = GetPCSpeaker();
int nUnholy = (GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
+GetLevelByClass(CLASS_TYPE_PALE_MASTER, oPC)
+GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)
+GetLevelByClass(CLASS_TYPE_UR_PRIEST, oPC)
+GetLevelByClass(CLASS_TYPE_OCULAR, oPC)
+GetLevelByClass(CLASS_TYPE_BLIGHTLORD, oPC)
+GetLevelByClass(CLASS_TYPE_TRUENECRO, oPC)
+GetLevelByClass(CLASS_TYPE_ORCUS, oPC)
+GetLevelByClass(CLASS_TYPE_BFZ, oPC)
+GetLevelByClass(CLASS_TYPE_MASTER_OF_SHROUDS, oPC)
+GetLevelByClass(CLASS_TYPE_PRC_EYE_OF_GRUUMSH, oPC)
+GetLevelByClass(CLASS_TYPE_BLIGHTER, oPC)
+GetLevelByClass(CLASS_TYPE_JUDICATOR, oPC)
+GetLevelByClass(CLASS_TYPE_NIGHTSHADE, oPC)
+GetLevelByClass(CLASS_TYPE_DISC_BAALZEBUL, oPC)
+GetLevelByClass(CLASS_TYPE_DISPATER, oPC)
+GetLevelByClass(CLASS_TYPE_THRALL_OF_GRAZZT_A, oPC)
+GetLevelByClass(CLASS_TYPE_NECROCARNATE, oPC)
+GetLevelByClass(CLASS_TYPE_GHOST_FACED_KILLER, oPC)
+GetLevelByClass(CLASS_TYPE_DISCIPLE_OF_MEPH, oPC)
+GetLevelByClass(CLASS_TYPE_SOUL_EATER, oPC)
+GetLevelByClass(CLASS_TYPE_DISCIPLE_OF_ASMODEUS, oPC)
+GetLevelByClass(CLASS_TYPE_TALON_OF_TIAMAT, oPC)
+GetLevelByClass(CLASS_TYPE_TRUENECRO, oPC)
+GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC));
if (nUnholy > 0)
{
return TRUE;
return FALSE;
}
else
{
return FALSE;
}
}

View File

@ -212,12 +212,9 @@ if(GetLocalInt(GetModule(), "MULTI")==TRUE)
ExecuteScript("powerimmortal", oPC);
}
//ExecuteScript("prc_rest", oPC);
ExecuteScript("prc_rest", oPC);
//Your code goes here. (This happens when the PC is done resting..)
ExecuteScript("prc_rest", OBJECT_SELF);
}
}
}

View File

@ -1,11 +1,16 @@
void main()
{
object oPC = GetPCSpeaker();
object oPC = GetPCSpeaker();
//Tell the OnPlayerRest Event Script we can rest...
SetLocalInt(oPC, "REST_STARTED", 1);
int iHD = GetHitDice(oPC);
//Make the PC start the XP2 Rest system..
AssignCommand(oPC, ActionRest(TRUE));
float fDelay = 10.5 + (IntToFloat(iHD)/2);
//Tell the OnPlayerRest Event Script we can rest...
SetLocalInt(oPC, "REST_STARTED", 1);
//Make the PC start the XP2 Rest system..
AssignCommand(oPC, ActionRest(TRUE));
DelayCommand(fDelay, SetLocalInt(oPC, "REST_STARTED", 0));
}

View File

@ -0,0 +1,15 @@
//::///////////////////////////////////////////////
//:: FileName x3_pl_tool01.nss
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 4/24/2008 3:37:39 PM
//:://////////////////////////////////////////////
#include "prc_class_const"
void main()
{
return;
}

Binary file not shown.