Page 1 of 1

Object Class and set_item_quality

Posted: Fri Jun 22, 2018 3:36 am
by Knight Captain
A year and a half ago I wrote new code for the alchemist burner, to allow both the red and blue burners to go on/off to the correct color. The code uses get_item_quality and set_item_quality to keep track.

The Usecode documentation may have a mistake. It says that UI_set_item_quality will return a boolean (0|1) rather than the specific value. This doesn't appear to be the case. UI_get_item_quality returns an integer.

To get the new code to work, I had to change the Shape's Object Class in Exult Studio. Originally it was set to "Quality Flags" which did not work for this, but changing that class to just "Quality" allows the same code to work as expected.

Is this behavior a bug?
And should the documentation be changed?

Re: Object Class and set_item_quality

Posted: Fri Jun 22, 2018 1:06 pm
by Dominus
Please file a bug report.

Re: Object Class and set_item_quality

Posted: Sun Nov 25, 2018 9:24 am
by Knight Captain