Hello!
Is it possible to show count of quest items I have in the quest log? I am using my own inventory system. For example, I need to find 5 stones, so, if I open quest log, I will see 2/5 (if I have 2 stones).
Show items count in quest log
Re: Show items count in quest log
Yes. Write a C# function returns the amount of an item in your inventory. For example, maybe it would be called GetItemCount(itemName). Then register it with Lua.
In your quest text, use the [lua(code)] markup tag, such as:
In your quest text, use the [lua(code)] markup tag, such as:
- Entry 1: [lua(GetItemCount("Stone"))] / 5 Stones
Re: Show items count in quest log
Thank you very much
Re: Show items count in quest log
Glad to help!