Hey there, first post for me.
I got into making something in Inform7 when I went to see a talk at a local Game Jam which gave me the inspiration to write a Text Adventure.
Thing is, I’m not too clued up on it, even if I’ve done a little bit of programming in other languages in past.
Making a long story short, I’m writing a text adventure which is a morbid, yet comedic Sci-Fi story about a man who was fortunate, or maybe unfortunate, be be elected by his new Alien overlords not to be eaten, but rather to work to prepare food for the aliens, in other words cut up and prepare other humans for the consumption of this newly ruling alien race on earth. The Story starts off with the character starting a new day at work, and he’s got to prepare a human carcass for his employers at the factory. The player has to push a lever so that the hooks on the ceiling of the cold room move to bring the body into the room. The problem is I can’t quite figure out how to make an object (in this case the body) move from one room to the other without picking it up.
Here’s something I made, but I get errors.
[code]Before printing the banner text, say “You might think you have the worst job in the worst, but it can’t be as bad as mine…[paragraph break]”
After printing the banner text, say “[line break]You begin your day in one of the many chiller rooms at the Glutton Food Corporation head factory. Time to cut up some bodies…”
The Cold Room is a room. “In the cold and misty room, there are a set of hooks suspended on the ceiling. The hooks are on a track that makes a circuit. The track leads to two doors, they are closed. There is a lever by the door and a lit sign saying ‘Incoming Stock’”.
Incoming Stock is a room. In Incoming Stock is a body.
South of Incoming Stock is The Cold Room.
North of The Cold Room is nowhere
There is a Lever in The Cold Room.
Before taking the Lever:
say “It’s a lever that’s bolted to the floor, you can’t take it[line break]”;
Stop the action.
before pulling the lever:
say “It appears that you can’t pull the lever, maybe you have to push it[line break]”;
Stop the action.
before pushing the Lever, say “Pushing the lever causes the hooks on the ceiling to move and the doors open. One body appears through the door hung on a hook, a woman, with her hair shaved off, and ready to prepare.[line break]”.
Move Corpse from Incoming Stock to The Cold Room.[/code]
Inform7 appear to have an issue when I try to use “move” in “Move Corpse from Incoming Stock to The Cold Room.” as a verb, even though I’ve seen this used in a few examples. Either the grammar is incorrect, or I’m doing something incredibly stupid that I can not see. So what am I doing wrong here? Sorry if this sounds super nooby, but I’m struggling to find examples to things I want. Oh, and by the way, yes the path from incoming stock to the cold room is one way, I want the body to come out, but I don’t want the player to go into it.