Updated PoA crafting for new weapon types

Updated PoA crafting for new weapon types
This commit is contained in:
Jaysyn904
2023-10-20 17:50:49 -04:00
parent 8b1d4bda2e
commit ce7820a25a
7 changed files with 15989 additions and 76 deletions

View File

@@ -1,9 +1,11 @@
//:: gc_is_a_wpn
#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 ||
@@ -45,7 +47,22 @@ int StartingConditional()
nType == BASE_ITEM_LIGHTCROSSBOW ||
nType == BASE_ITEM_LONGBOW ||
nType == BASE_ITEM_SHORTBOW ||
nType == BASE_ITEM_SLING)
nType == BASE_ITEM_SLING ||
nType == BASE_ITEM_HEAVY_PICK || //:: New PRC weapons
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 )
return TRUE;