How do you hide a verb and then make it visible under certain conditions?

0 votes
35 views
asked Jun 29 in Authoring by tyconger192
edited Jun 30 by Alex

I want to know how I can make it so a player can pull up a carpet with a utility knife, but can have the option to pull up the carpet only after he/she/it has obtained the utility knife. Likewise I would like to know how to allow the player to be given the option to move the utility knife into a dresser only if that player is in a room with the dresser and carrying the utility knife.

1 Answer

0 votes
answered Jun 29 by hegemonkhan (161 points)

a lot of these things that seem simple to people new to game making ~ coding, actually aren't so simple to do (regardless of the software~kit~engine you're using), such as this, as it is a bit complex~advanced and uses some knowledge+use of coding too, but here you go:

http://forum.textadventures.co.uk/viewtopic.php?f=18&t=5023
http://forum.textadventures.co.uk/viewtopic.php?f=18&t=4953

if you need any help or explanation, ask, and we'll try to help you further.

commented Jun 30 by hegemonkhan (161 points)
even if you actually go through most of the entire tutorial and you're successful at doing everything in it, unfortunately, it's still a big jump into game making, as the next step after the tutorial is in understanding Attributes and the 'if' Script (and its logic required), as especially when Attributes and the 'if' Script are used together, lets you do 90% of anything~everything that you want to do in your game. As of yet, there's no real good guides that help you into this transition, in learning about Attribute and the 'if Script usage~implementation, at nearly the endless amount of things that it allows you to do.

I would first take a stab at this, just for an introduction into using Attributes and the 'if' Script:

http://docs.textadventures.co.uk/quest/guides/character_creation.html

and then after you got that (the above link) down, then you need to jump into learning about Attributes and the 'if' Script fully, before you can then jump into game making, and~or learning the more advanced things, that you can study via all the other guides and the quest documentation.

the guides:

http://docs.textadventures.co.uk/quest/guides/
http://forum.textadventures.co.uk/viewforum.php?f=18

the documentation:

http://docs.textadventures.co.uk/quest/
This site is now closed.
As of 1st November 2015, this site is a read-only archive. For more information see the intfiction forum post

Welcome to IF Answers, a site for questions and answers about Interactive Fiction.

Technical questions about interactive fiction development tools such as Inform, Twine, Quest, QuestKit, Squiffy, Adrift, TADS etc. are all on-topic here.

Non-technical questions about interactive fiction are also on-topic. These questions could be about general IF design, specific games, entering the IF Comp etc.
...