Battledale_PRC8/_module/nss/idcust_righthand.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

69 lines
2.3 KiB
Plaintext

#include "prc_misc_const"
int StartingConditional()
{
object oPlayer = GetPCSpeaker();
object oItem = GetItemInSlot( INVENTORY_SLOT_RIGHTHAND, oPlayer);
int nType = GetBaseItemType( oItem);
//weapons
if( nType== BASE_ITEM_BASTARDSWORD ||
nType== BASE_ITEM_BATTLEAXE ||
nType== BASE_ITEM_CLUB ||
nType== BASE_ITEM_DAGGER ||
nType== BASE_ITEM_DART ||
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_HEAVYCROSSBOW ||
nType== BASE_ITEM_HEAVYFLAIL ||
nType== BASE_ITEM_KAMA ||
nType== BASE_ITEM_KATANA ||
nType== BASE_ITEM_KUKRI ||
nType== BASE_ITEM_LIGHTCROSSBOW ||
nType== BASE_ITEM_LIGHTFLAIL ||
nType== BASE_ITEM_LIGHTHAMMER ||
nType== BASE_ITEM_LIGHTMACE ||
nType== BASE_ITEM_LONGBOW ||
nType== BASE_ITEM_LONGSWORD ||
nType== BASE_ITEM_MAGICSTAFF ||
nType== BASE_ITEM_MORNINGSTAR ||
nType== BASE_ITEM_QUARTERSTAFF ||
nType== BASE_ITEM_RAPIER ||
nType== BASE_ITEM_SCIMITAR ||
nType== BASE_ITEM_SCYTHE ||
nType== BASE_ITEM_SHORTBOW ||
nType== BASE_ITEM_SHORTSPEAR ||
nType== BASE_ITEM_SHORTSWORD ||
nType== BASE_ITEM_SICKLE ||
nType== BASE_ITEM_SLING ||
nType== BASE_ITEM_TWOBLADEDSWORD ||
nType==BASE_ITEM_WARHAMMER ||
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
) //then
{
return TRUE;
}
else
return FALSE;
}