Removing Built-In Display Verbs

XanMag
I would like to remove the built-in listed display verbs, especially the 'take' verb, in the objects pane on the right during game play. I'm okay with the 'look at' remaining, but if it were gone too I would not complain.

I know I can manually go through and click and remove them, but I have a LOT of objects. I also realize that I COULD have done this with each object as I added them, but that's a whole other story. Is there an option somewhere in the GUI (or code I can alter) to remove the verbs in one fell swoop? I do NOT want to remove the pane, just the built-in verbs attached to them.

Thanks!

OurJud
Would it not be feasible to open up the game's entire code and use the 'find' feature to quickly sift through them.

Or am I talking through my arse?

The Pixie
Do the show library thing, and find "defaultobject", click the Copy button. Look for the "displayverbs" attribute, and remove "Take" from it.

Be aware that this is changing a fundamental part of Quest. If a later version changes the "defaultobject" for some reason, your "defaultobject" will not get changed, which could (or will) lead to obscure bugs.

XanMag
It would be easier/quicker to click on each object in the tree of stuff, click object tab, click 'take' display verb, click delete. Click next object, click 'take' display verb, click delete. Repeat 300+ times. I just don't want to do the 300+ repeats.

By the way, the 'c' and the 'l' are way to close together with this font/font size. 'click' looks too much like 'dick'. :oops:

EDIT: I will try your suggestion when I get home. Is that worth the risk? Does anyone have an alternative suggestion?

OurJud
XanMag wrote:Does anyone have an alternative suggestion?

Find the Doc's Delorean, set the time for 10 minutes before you started on the game and tell yourself to delete them each time you create an object. Come back to the present and hey presto!

XanMag
But I need 1.21 jigawatts. I don't have that kind of power.

XanMag
The Pixie wrote:"Do the show library thing..."


I don't know how to do that. :(

HegemonKhan
can't you just uncheck the global 'automatically generate object display verbs list' in the 'game' Object's 'room description' Tab ???

(though this does mean you'll have to add in all the Verbs you want yourself for each Object ~ you can use Object Types to reduce *some* of this work or if really fancy use scripting to reduce a lot of the work, and having to work with lists via 'displayverbs', of course)

XanMag
That 'automatically generate object display list' generates the verb list for the non-built-in verbs like open, use, climb, etc. 'Take' and 'look at' are permanently linked to every object you add to the game. Or so I believe.

HegemonKhan
well.. you could make a script that iterates through every single Object in the game, removing (or setting the boolean to false) 'take' and 'look' at the start of the game... laughs:

foreach (x, AllObjects()) {
-> list remove (x.displayverbs, "take")
-> list remove (x.displayverbs, "look")

OurJud
XanMag wrote:

"The Pixie"

"Do the show library thing..."


I don't know how to do that. :(


Left pane, very bottom 'Filter >> Show library elements' (or words to that effect) then use the search field right at the very top of the left pane to search for defaultobject

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums