For example, something like:
(objSetItemProperty obj item 'enhancement mods)

Sometimes, for items that may or may not be installed, it would be nice to either cleanly remove any enhancement, especially bad ones that item damage does not remove (item damage only removes good enhancements), or completely replace the previous enhancement. Also, it would be nice to have the set property functions return the enhanced item instead of merely the enhancement, True, or Nil only.

Currently, (shpEnhanceItem obj item) may not always accept mods, and it does not return the item if successful, meaning it may not be possible to enhance it again if the changed item cannot be found.

Also (objAddItemEnhancement ...) does not always work, and it does not return the enhanced item when it does.

george moromisato 24 Oct 2019:

Fixed in 1.9 Alpha 2. You can now use the 'enhancement property to get and set enhancements.