R2T1 wrote:Was there an item put up to make the changes?
Perhaps if the main game toggle can still be there but an individual verb toggle to over-ride it could be added?
"Auto generate object display verb list" is a really useful option, but it should be possible to exclude specific verbs when using it."
Pertex wrote:I have created a pull request but I think it's not that what you want to have."Auto generate object display verb list" is a really useful option, but it should be possible to exclude specific verbs when using it."
The list is auto generated while runtime, so you don't now which verbs will be in the list when you create your game.
Pertex wrote:But if this object is a container, open and close would be shown by default which can't be changed. With my solution it would be possible to remove ALL verbs from the menu which are added to the verb list. Would that be ok?
Pertex wrote:I checked in some changes so
{does this mean you just added something to Quest?}
you can choose only the verbs from the verblist in the hyperlink menu or all autogenerated verbs exclude the verbs in the verbs list
{so, (option A) verblist ONLY,
(option B) everything BUT verblist,
correct?}
HegemonKhan wrote:my problem is with verbs you want created after something happens (such as via a script for an "event" in the game), such as for example:
with Pixie's Spell Library, you're not suppose to be able to have the verb "cast" until you learn the spell (the "spell learning" script adds in or creates the "cast" verb), but with autogenerate on, the "cast" verb is displayed immediately, before you use the "learn" verb.
<type name="spell">
<inventoryverbs type="list">Learn</inventoryverbs>
<displayverbs type="list">Learn</displayverbs>
<drop type="boolean">false</drop>
<take type="boolean">false</take>
<usedefaultprefix type="boolean">false</usedefaultprefix>
<learn type="script"><![CDATA[
if (not this.parent = player) {
this.parent = player
this.inventoryverbs = Split ("Cast", " ")
msg (DynamicTemplate("SpellLearnt", this))
}
else {
msg ("[SpellAlreadyKnown]")
}
]]></learn>
</type>