Jump to content
Skip to content

Feature Suggestions

Adding onOpenPersonalnventory API

MrAngry83

By MrAngry83

226 views 0 comments

Hi IGCN Team,
Would it be possible to add a Lua API hook that fires when a player opens the inventory window?

Currently the onItemRepair hook is triggered after the repair is processed, so the durability we read is already the post-repair value.

If we could receive an event when the inventory window opens, we could cache the item state (durability, options, money, ruud... etc.) beforehand and determine more reliably whether an item was already at maximum durability and can be attracted much more valuable things from this API.

Edited by MrAngry83

Recommended Comments

There are no comments to display.

×
×
  • Create New...

Important Information


We use technologies, such as cookies, to customize content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy.