I’m using Emily Short’s “Power Sources” extension, which builds upon Sean Turner’s “Plugs and Sockets” extension, for a game I’m building. I’m trying to start the game with several items already plugged in to wall sockets. The documentation solves this problem by providing this snippet:
When play begins:
let spot be a random wall socket in the Salon;
if spot is a wall socket:
silently try plugging the lamp into spot.
The problem here is that the player needs to be in the room where this activity is happening for it to work. What about plugging in devices elsewhere, in rooms where the player is not present? Any ideas? Thanks in advance for your help.
http://inform7.com/extensions/Emily%20Short/Power%20Sources/index.html
-Max