D2S/Item parser in progress. Still need to debug cubemain.txt doc generator output colulmns. Saving code for now

This commit is contained in:
Hash Borgir
2022-06-20 19:27:08 -06:00
parent 521dfe12c6
commit 822e3dcbd8
19 changed files with 482 additions and 1242 deletions

View File

@@ -814,6 +814,28 @@ class D2ItemData {
"min" => $return['min' . $counter],
"max" => $return['max' . $counter],
];
} else if ($v['prop1'] == 'sock' ||
$v['prop2'] == 'sock' ||
$v['prop3'] == 'sock' ||
$v['prop4'] == 'sock' ||
$v['prop5'] == 'sock' ||
$v['prop6'] == 'sock' ||
$v['prop7'] == 'sock') {
$params = [
'string1' => "Sockets",
'string2' => "",
'gstring1' => "",
'gstring2' => "",
'descfunc' => "9",
'descval' => "1",
'dgrp' => "",
'dgrpfunc' => "",
'dgrpval' => "",
"prop" => $return['prop' . $counter],
"par" => $return['par' . $counter],
"min" => $return['min' . $counter],
"max" => $return['max' . $counter],
];
} else {
$params = [
'string1' => $v['desc']['string1'],