r/Inform7 • u/Dex21772 • Aug 12 '26
Using things that are on other worn things...
Hello Inform Gurus,
I have a newbie question... in my game the player finds a lanyard(defined as wearable and a supporter), and later a keycard(called keycard) which the player can put on the lanyard. All good, works fine. My issue comes when the player is wearing the lanyard and the keycard is on the lanyard. At this point the keycard is no longer immediately available to the player. "Insert keycard in slot" results in the response "You can't see anything called "keycard" right now." How can I make the keycard immediately accessible to the player for inserting into slots(containers) while still on the lanyard that is being worn?
Thanks!
4
u/IHeartBadCode Aug 12 '26
Likely what you want is to just modify how the card is accessible to you. You just want to say that the keycard is something you can get your fingers on without go though the middle man of taking it.
It really depends on how you want to go about it. But hopefully this gives you some rough ideas on where to go.
1
u/secret_o_squirrel Aug 12 '26
How are you connecting the keycard to the lanyard? All you need to do is ‘the keycard is a part of the lanyard’ and then both will be visible when the lanyard is worn.