Updated PoA crafting for new weapon types
Updated PoA crafting for new weapon types
This commit is contained in:
parent
8b1d4bda2e
commit
ce7820a25a
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,9 +1,12 @@
|
|||||||
|
//:: gc_ac_is_ok
|
||||||
|
|
||||||
|
#include "prc_misc_const"
|
||||||
|
|
||||||
int StartingConditional()
|
int StartingConditional()
|
||||||
{
|
{
|
||||||
object oPC = GetPCSpeaker();
|
object oPC = GetPCSpeaker();
|
||||||
int nType = GetLocalInt(oPC, "CRAFT_TYPE");
|
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 the item they are trying to craft is not legal show this line..
|
||||||
if(nType == BASE_ITEM_BASTARDSWORD ||
|
if(nType == BASE_ITEM_BASTARDSWORD ||
|
||||||
nType == BASE_ITEM_BATTLEAXE ||
|
nType == BASE_ITEM_BATTLEAXE ||
|
||||||
@ -46,7 +49,22 @@ int StartingConditional()
|
|||||||
nType == BASE_ITEM_LIGHTCROSSBOW ||
|
nType == BASE_ITEM_LIGHTCROSSBOW ||
|
||||||
nType == BASE_ITEM_LONGBOW ||
|
nType == BASE_ITEM_LONGBOW ||
|
||||||
nType == BASE_ITEM_SHORTBOW ||
|
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)
|
||||||
|
|
||||||
//If it's a weapon don't show the line!
|
//If it's a weapon don't show the line!
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
|
//:: gc_is_a_wpn
|
||||||
|
#include "prc_misc_const"
|
||||||
|
|
||||||
int StartingConditional()
|
int StartingConditional()
|
||||||
{
|
{
|
||||||
object oPC = GetPCSpeaker();
|
object oPC = GetPCSpeaker();
|
||||||
int nType = GetLocalInt(oPC, "CRAFT_TYPE");
|
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 the item they are trying to craft is not legal show this line..
|
||||||
if(nType== BASE_ITEM_BASTARDSWORD ||
|
if(nType== BASE_ITEM_BASTARDSWORD ||
|
||||||
nType== BASE_ITEM_BATTLEAXE ||
|
nType== BASE_ITEM_BATTLEAXE ||
|
||||||
@ -45,7 +47,22 @@ int StartingConditional()
|
|||||||
nType == BASE_ITEM_LIGHTCROSSBOW ||
|
nType == BASE_ITEM_LIGHTCROSSBOW ||
|
||||||
nType == BASE_ITEM_LONGBOW ||
|
nType == BASE_ITEM_LONGBOW ||
|
||||||
nType == BASE_ITEM_SHORTBOW ||
|
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;
|
return TRUE;
|
||||||
|
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
|
//:: gc_is_meleewpn
|
||||||
|
|
||||||
|
#include "prc_misc_const"
|
||||||
|
|
||||||
int StartingConditional()
|
int StartingConditional()
|
||||||
{
|
{
|
||||||
object oPC = GetPCSpeaker();
|
object oPC = GetPCSpeaker();
|
||||||
int nType = GetLocalInt(oPC, "CRAFT_TYPE");
|
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 the item they are trying to craft is not legal show this line..
|
||||||
if(nType == BASE_ITEM_BASTARDSWORD ||
|
if(nType == BASE_ITEM_BASTARDSWORD ||
|
||||||
nType == BASE_ITEM_BATTLEAXE ||
|
nType == BASE_ITEM_BATTLEAXE ||
|
||||||
@ -38,7 +41,22 @@ int StartingConditional()
|
|||||||
nType == BASE_ITEM_WHIP ||
|
nType == BASE_ITEM_WHIP ||
|
||||||
nType == BASE_ITEM_DART ||
|
nType == BASE_ITEM_DART ||
|
||||||
nType == BASE_ITEM_SHURIKEN ||
|
nType == BASE_ITEM_SHURIKEN ||
|
||||||
nType== BASE_ITEM_THROWINGAXE)
|
nType == BASE_ITEM_THROWINGAXE ||
|
||||||
|
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;
|
return TRUE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user