Removing USE verb for wearable objects
duggold
10 Jun 2012, 14:40I am using the wearable library (good stuff!) and I see it extends objects with a wearable class. It adds the wear and remove verbs via this line:
BTW, I don't see the "listextend" type listed in the doc under attribute types. Can someone let me know what/how listextend type works? Thanks
How can I when adding the Wear and Remove verbs also REMOVE the default use verb? I can edit each object to remove it from their inventory verb list, but I want the wearable class to do this automatically for anything wearable (you can't use wearable objects, only put them on)
On the same subject, when the Wear and Remove verbs get added to the object, the inventory screen isn't wide enough to show the 2 new verbs. I need to manually widen the inventory pane while running the game. Is there a way to auto adjust that? New players would never know they can't see all the inventory verbs.
<inventoryverbs type="listextend">[Wear];[Remove]</inventoryverbs>
BTW, I don't see the "listextend" type listed in the doc under attribute types. Can someone let me know what/how listextend type works? Thanks
How can I when adding the Wear and Remove verbs also REMOVE the default use verb? I can edit each object to remove it from their inventory verb list, but I want the wearable class to do this automatically for anything wearable (you can't use wearable objects, only put them on)
On the same subject, when the Wear and Remove verbs get added to the object, the inventory screen isn't wide enough to show the 2 new verbs. I need to manually widen the inventory pane while running the game. Is there a way to auto adjust that? New players would never know they can't see all the inventory verbs.
Chase
21 Sept 2012, 04:11Hey, I wrote the extended version (The Pixie wrote the original). Sorry for the 'really' late replay. I don't frequent the forums much.
The "listextend" type extends a field. In this case the inventory verbs, but it can also be used for at least display verbs. It has not been used anywhere else far as I am aware. The basic function I can guess from the very minor peek I had at the source code is that it defines an extended field for that attribute, merging the values into the field on get.
In layman's terms, as far as I could gather it just adds the verbs into the inventory verb list, it seems to work in practice.
The "listextend" type extends a field. In this case the inventory verbs, but it can also be used for at least display verbs. It has not been used anywhere else far as I am aware. The basic function I can guess from the very minor peek I had at the source code is that it defines an extended field for that attribute, merging the values into the field on get.
In layman's terms, as far as I could gather it just adds the verbs into the inventory verb list, it seems to work in practice.