mix ... with ...

Tomsa
If you have two objects, say gin and vermouth, how do you make the command "mix ... with ..." equal to "use ... on ..." (in order to make a Martini)? Do I edit the use script to point to a procedure?

Redsun
make another object called martini or whatever and once one object is used on the
other object, move them two objects and give the player the martini object.

Tomsa
No, that was not the answer I was looking for.
What I want to know is, how do I make Quest understand, that "use gin on vermouth" and "mix gin with vermouth" is the same thing? That is, I want to be able to type "mix ... with ..." in order to make the martini.

Thanatos
Just make both of your mix and use commands to equal the same outcome of the Martini. What I mean is making identical triggers, just changing the words around from 'use' to 'mix' or vice versa. This should work.

eg

Mix Gin with Vermoth = Martini
Use Gin on Vermoth = Martini

Just make those two commands the same, change the words, whala.

paul_one
Erm, I don't know the QDK way to do this, but:

command <mix #@obj# with #@obj2#; mix #@obj# and #@obj2#> exec <use #@obj# on #@obj2#>


Will mean both mix commands work, and they actually call "use" instead.

Thanatos
Apparently you don't need to crawl before you walk, Paul :mrgreen:

paul_one
Actually - interesting story - my niece is in such a rush to join in with the rest of the family, that she is indeed SKIPPING crawling, and going straight to walking!!

She tried crawling, and then immediately tried to push up, and has been standing/trying to walk (obviously with help) since... Perhaps my gene pool is just screwed?

AAAAnyway, if you can translate into QDK actions, then please do - I don't use it myself.

Alex
Paul, you're close, but it should be:


command <mix #@obj# with #@obj2#; mix #@obj# and #@obj2#> exec <use #obj# on #obj2#>


since you don't want to use the exec command with the displayed version of the object name, you want the internal one - otherwise you might end up displaying a disambiguation menu twice.

paul_one
Ahh yes, cheers Alex.

I think I've run into that multiple times, and did think of one reason why I WANTED the proper name to go all the way through - but I forget now.

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

Support

Forums