';
while ($tool = array_pop($tools))
{
if (isset($tool['itemId']))
$_ .= '
'.$tool['name'].'';
else if (isset($tool['id']))
$_ .= '
'.$tool['name'].'';
else
$_ .= $tool['name'];
if (!empty($tools))
$_ .= ', ';
else
$_ .= '
';
}
$xTmp[] = $_.'
';
}
if ($reagents)
{
$_ = Lang::$spell['reagents'].':';
while ($reagent = array_pop($reagents))
{
$_ .= '
'.$reagent[2].'';
if ($reagent[1] > 1)
$_ .= ' ('.$reagent[1].')';
if(!empty($reagents))
$_ .= ', ';
else
$_ .= '
';
}
$xTmp[] = $_.'
';
}
if ($reqItems)
$xTmp[] = Lang::$game['requires2'].' '.$reqItems;
if ($desc[0])
$xTmp[] = '