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.
20 lines
612 B
Plaintext
20 lines
612 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 = GetStringLowerCase(GetStringLeft(GetResRef(oItem), 2));
|
|
if (sCheck == "sd" || sCheck == "nw" || sCheck == "x2")
|
|
|
|
{
|
|
return TRUE;
|
|
}
|
|
|
|
return FALSE;
|
|
}
|