Morrowind Mod:XSetQuality

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

A function added by MWSE.

XSetQuality sets the quality of alchemical apparatus, lockpick, probe, and repair tool items. Returns 1 if successful, 0 if failed.

In v0.9.4a, this function didn't work with lockpicks. This is fixed in the MWSE update released by Merzasphor.

Syntax[edit]

success (long): ref->xSetQuality quality (float)

Example[edit]

long success
long itemRef
float quality

set quality to 100
setx success to itemRef->XSetQuality quality

See Also[edit]

xGetOwner
xGetWeight
xGetValue
xGetEncumb
xGetCondition
xGetMaxCondition
xGetCharge
xGetMaxCharge
xSetValue
xSetWeight
xGetQuality
xSetCondition
xSetMaxCondition
xSetCharge
xSetMaxChargeMWSE by Merzasphor