24 lines
693 B
Plaintext
24 lines
693 B
Plaintext
|
#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;
|
||
|
}
|