/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Forsettii's Quest Builder System. Version 1.0 Created for Layonara Online Forsettii Forsettii@yahoo.com April 7, 2004 Quest Style 8 : Checks for the 8 items (Used for Solo Quests) Variables: Quest_Name - Same as Journal Entry item_col_1 - These are the items needed for this 8 part Quest. item_col_2 item_col_3 item_col_4 item_col_5 item_col_6 item_col_7 item_col_8 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */ #include "nw_i0_tool" int StartingConditional() { string sName = GetLocalString(OBJECT_SELF, "quest_name"); object oPC = GetPCSpeaker(); // Inspect local variables if((GetLocalInt(oPC, sName) == 1)) { string sGet_Item = GetLocalString(OBJECT_SELF, "item_col_1"); if(!HasItem(GetPCSpeaker(), sGet_Item)) return FALSE; return TRUE; } else if((GetLocalInt(oPC, sName) == 2)) { string sGet_Item = GetLocalString(OBJECT_SELF, "item_col_2"); if(!HasItem(GetPCSpeaker(), sGet_Item)) return FALSE; return TRUE; } else if((GetLocalInt(oPC, sName) == 3)) { string sGet_Item = GetLocalString(OBJECT_SELF, "item_col_3"); if(!HasItem(GetPCSpeaker(), sGet_Item)) return FALSE; return TRUE; } else if((GetLocalInt(oPC, sName) == 4)) { string sGet_Item = GetLocalString(OBJECT_SELF, "item_col_4"); if(!HasItem(GetPCSpeaker(), sGet_Item)) return FALSE; return TRUE; } else if((GetLocalInt(oPC, sName) == 5)) { string sGet_Item = GetLocalString(OBJECT_SELF, "item_col_5"); if(!HasItem(GetPCSpeaker(), sGet_Item)) return FALSE; return TRUE; } else if((GetLocalInt(oPC, sName) == 6)) { string sGet_Item = GetLocalString(OBJECT_SELF, "item_col_6"); if(!HasItem(GetPCSpeaker(), sGet_Item)) return FALSE; return TRUE; } else if((GetLocalInt(oPC, sName) == 7)) { string sGet_Item = GetLocalString(OBJECT_SELF, "item_col_7"); if(!HasItem(GetPCSpeaker(), sGet_Item)) return FALSE; return TRUE; } else if((GetLocalInt(oPC, sName) == 8)) { string sGet_Item = GetLocalString(OBJECT_SELF, "item_col_8"); if(!HasItem(GetPCSpeaker(), sGet_Item)) return FALSE; return TRUE; } else return FALSE; }