Jump to content

Script merged syntax error


Recommended Posts

Error [mod0000_mergedfiles]game\gui\_old\components\guienchantinginventorycomponent.ws(20): Unexpected end of file found after '{' at line 12

 

{
CheckItem(item);
// override
return super.ShouldShowItem(item) && (catName== 'steelsword' || catName== 'silversword' || catName== 'armor' || catName == 'boots' || catName == 'gloves' || catName == 'pants') && !_inv.ItemHasTag(item, 'SecondaryWeapon');
// override
CheckItem(item);
}
private function CheckItem(item : SItemUniqueId)
{
var catName : name;
// Check if the item is a pants, boots or gloves item and set slots count to 2
catName = _inv.GetItemCategory(item);
if (catName == 'boots' || catName == 'pants' || catName == 'gloves')
{
REQUIRED_SLOTS_COUNTS = 0;
}
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...