Level One rework
Revamped Level One: North & Level One: Central to be as close to PnP as possible. Added Level One: Latrene 3 area. Added efreeti appearance from CEP3. Revamped efreeti bottle to be like PnP (no wishes, yet)
This commit is contained in:
23
_module/nss/is_big_no_rope.nss
Normal file
23
_module/nss/is_big_no_rope.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "prc_inc_nwscript"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Check if the PC's size is small, tiny, diminutive, or fine
|
||||
int nSize = PRCGetCreatureSize(oPC);
|
||||
|
||||
// Check if the size is medium or larger
|
||||
if (nSize == CREATURE_SIZE_MEDIUM || nSize == CREATURE_SIZE_LARGE ||
|
||||
nSize == CREATURE_SIZE_HUGE || nSize == 22 || nSize == 23)
|
||||
{
|
||||
// Check if the PC has either "itm_hemp_rope001" or "itm_silk_rope001"
|
||||
if (GetItemPossessedBy(oPC, "ITM_HEMP_ROPE001") == OBJECT_INVALID ||
|
||||
GetItemPossessedBy(oPC, "ITM_SILK_ROPE001") == OBJECT_INVALID)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
Reference in New Issue
Block a user