Alright, I've installed it to the story JS.
It's struggling to display the inventory details though.
For example, I use this code to set an item in the story passage:
<<set $playerInventory.cloak = {
name: "Gun",
quantity: 1,
bullets: 8,
weight: 1.0,
description: "Gun description." }>>
I have this in the storyCaption:
<h2>Inventory:</h2>
[[Inventory Details|Inventory Details]]
<ol>
<<for _key, _value range $playerInventory>>
<li>_key (_value.name)</li>
<</for>>
</ol>
and this in the Inventory Details passage:
INVENTORY
<<nobr>>
<ul>
<<for _key, _value range $playerInventory>>
<li>
(_value.name)
You have (_value.quantity) of these.
Current Capacity is(_value.bullets)Rounds / Charges
(_value.description)</li>
<</for>>
</ul>
<</nobr>>
But it doesn't display in the Inventory Details. :(
It also puts an extra line in on the storyCaption with 'inv' on it for some reason too.
Help and advice appreciated.