Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
31
_module/nss/x2_im_can_ca.nss
Normal file
31
_module/nss/x2_im_can_ca.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
#include "prc_x2_itemprop"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
object oA = GetItemInSlot(INVENTORY_SLOT_CHEST,GetPCSpeaker());
|
||||
if (!GetIsObjectValid(oA))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (GetIsDM(GetPCSpeaker())||GetIsDMPossessed(GetPCSpeaker()))
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (!GetHasSkill(SKILL_CRAFT_WEAPON,GetPCSpeaker()))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
if (GetPlotFlag(oA))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
if (!GetHasSkill(SKILL_CRAFT_ARMOR,GetPCSpeaker()))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
Reference in New Issue
Block a user