91
Script Debug / Re: Pre-AoS Bod Script
« on: May 07, 2012, 05:21:04 AM »Quote
-edit-
So it is determining if things are exceptional by this line
if except in %kind
I have no idea where it should be searching for %kind as Ive dont recall ever seeing this string..or how I would go about getting around this.
Noticed that the script has some brace issues: there is an unmatched closing brace near line 1024, and if that is fixed, opening braces become unbalanced after line 1299. Anyway, looked at %kind and this is how it is set:
%kind is set to % . %temp1 on line 629
%temp1 is set to makekind , %t on line 626
thence see lines 1116-1121 to see how %makekindXXX is built
set %temp1 %mat , %except
set %temp2 makenum , %order
set %temp3 makekind , %order
set %temp4 maketype , %order
set % . %temp2 #menures
set % . %temp3 %temp1
So %kind is just mirroring what was specified in the menu with the exceptional button, and didn't notice any code in sub smelt to differentiate between a regular item and an exceptional one. The only thing that will cancel the smelt routine is if 'mark' is in the journal; is it expecting a description or system message in the journal?