Added Skullkeep Mystic Forge / Combine system., modified to use a single forge and combine for all item types. Added new Magesmith shop & NPC in Town of Ascension. Full compile. Updated release archive.
27 lines
758 B
Plaintext
27 lines
758 B
Plaintext
/////::///////////////////////////////////////////////
|
|
/////:: forge_guildcheck script - check to make sure not splitting a guild item
|
|
/////:: Written by Winterknight on 2/17/06
|
|
/////:://////////////////////////////////////////////
|
|
#include "nw_i0_tool"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oForge = GetNearestObjectByTag("forge_custom",OBJECT_SELF,1);
|
|
object oItem = GetFirstItemInInventory(oForge);
|
|
string sCheck = GetStringLeft(GetTag(oItem), 5);
|
|
if (sCheck == "HELM_" ||
|
|
sCheck == "ARMR_" ||
|
|
sCheck == "SHLD_" ||
|
|
sCheck == "ammy_" ||
|
|
sCheck == "ring_" ||
|
|
sCheck == "WEAP_" ||
|
|
sCheck == "BOOT_" ||
|
|
sCheck == "BELT_")
|
|
|
|
{
|
|
return TRUE;
|
|
}
|
|
|
|
return FALSE;
|
|
}
|