Changed folder name.
Changed folder name.
This commit is contained in:
18
_module/nss/gc_is_ab_ok.nss
Normal file
18
_module/nss/gc_is_ab_ok.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
int nType = GetLocalInt(oPC, "CRAFT_TYPE");
|
||||
|
||||
//If the item they are trying to craft is not legal show this line..
|
||||
if(nType == BASE_ITEM_HEAVYCROSSBOW ||
|
||||
nType == BASE_ITEM_LIGHTCROSSBOW ||
|
||||
nType == BASE_ITEM_LONGBOW ||
|
||||
nType == BASE_ITEM_SHORTBOW ||
|
||||
nType == BASE_ITEM_SLING ||
|
||||
nType == BASE_ITEM_GLOVES)
|
||||
return TRUE;
|
||||
|
||||
//Otherwise if they pass, then don't show this line
|
||||
return FALSE;
|
||||
}
|
Reference in New Issue
Block a user