Battledale_PRC8/_module/nss/gc_ac_is_ok.nss
Jaysyn904 4dba880acb Added ACP v4.1
Added ACP v4.1. Full compile.  Updated module name.  Updated release archive.
2024-09-08 18:23:43 -04:00

75 lines
2.3 KiB
Plaintext

#include "prc_misc_const"
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 the item they are trying to craft is not legal show this line..
if(nType== BASE_ITEM_BASTARDSWORD ||
nType== BASE_ITEM_BATTLEAXE ||
nType== BASE_ITEM_CLUB ||
nType== BASE_ITEM_DAGGER ||
nType== BASE_ITEM_DIREMACE ||
nType== BASE_ITEM_DOUBLEAXE ||
nType== BASE_ITEM_DWARVENWARAXE ||
nType== BASE_ITEM_GREATAXE ||
nType== BASE_ITEM_GREATSWORD ||
nType== BASE_ITEM_HALBERD ||
nType== BASE_ITEM_HANDAXE ||
nType== BASE_ITEM_HEAVYFLAIL ||
nType== BASE_ITEM_KAMA ||
nType== BASE_ITEM_KATANA ||
nType== BASE_ITEM_KUKRI ||
nType== BASE_ITEM_LIGHTFLAIL ||
nType== BASE_ITEM_LIGHTHAMMER ||
nType== BASE_ITEM_LIGHTMACE ||
nType== BASE_ITEM_LONGSWORD ||
nType== BASE_ITEM_MORNINGSTAR ||
nType== BASE_ITEM_QUARTERSTAFF ||
nType== BASE_ITEM_RAPIER ||
nType== BASE_ITEM_SCIMITAR ||
nType== BASE_ITEM_SCYTHE ||
nType== BASE_ITEM_SHORTSPEAR ||
nType== BASE_ITEM_SHORTSWORD ||
nType== BASE_ITEM_SICKLE ||
nType== BASE_ITEM_TRIDENT ||
nType== BASE_ITEM_TWOBLADEDSWORD ||
nType== BASE_ITEM_WARHAMMER ||
nType== BASE_ITEM_WHIP ||
nType== BASE_ITEM_ARROW ||
nType== BASE_ITEM_BOLT ||
nType== BASE_ITEM_BULLET ||
nType== BASE_ITEM_DART ||
nType== BASE_ITEM_SHURIKEN ||
nType== BASE_ITEM_THROWINGAXE ||
nType== BASE_ITEM_HEAVYCROSSBOW ||
nType== BASE_ITEM_LIGHTCROSSBOW ||
nType== BASE_ITEM_LONGBOW ||
nType== BASE_ITEM_SHORTBOW ||
nType== BASE_ITEM_SLING ||
nType== BASE_ITEM_LIGHT_LANCE ||
nType== BASE_ITEM_HEAVY_PICK ||
nType== BASE_ITEM_LIGHT_PICK ||
nType== BASE_ITEM_SAI ||
nType== BASE_ITEM_NUNCHAKU ||
nType== BASE_ITEM_FALCHION ||
nType== BASE_ITEM_SAP ||
nType== BASE_ITEM_KATAR ||
nType== BASE_ITEM_HEAVY_MACE ||
nType== BASE_ITEM_MAUL ||
nType== BASE_ITEM_DOUBLE_SCIMITAR ||
nType== BASE_ITEM_GOAD ||
nType== BASE_ITEM_EAGLE_CLAW ||
nType== BASE_ITEM_ELVEN_LIGHTBLADE ||
nType== BASE_ITEM_ELVEN_THINBLADE ||
nType== BASE_ITEM_ELVEN_COURTBLADE)
//If it's a weapon don't show the line!
return FALSE;
//Otherwise show them the line
return TRUE;
}