Requiring an item to be in inventory before acting

scullison
16 Dec 2012, 17:37
Please pardon a potentially simple question from a newbie. It seems as though, by default, actions upon items can be taken within their room whether they 're in inventory or not. I would like to require that items be taken into inventory before they will respond to verbs. How is this done?

Thank you, Quest community, for your wisdom.

Steve

sgreig
17 Dec 2012, 02:06
In a nutshell, you'd make a script that checks to see if the item is in the player's inventory first.

leftycool
23 Dec 2012, 05:13
When you add a script or command, click 'if' and then from the dropdown select 'if object is in player inventory'.
I cant post a screenshot, but I'm sure you can find it if you poke around :)

you can also select 'if player is not carrying' for the reverse effect.