So, I've started writing a text adventure in Python, and already have the first map idea figured out, but I don't know where to start with defining a variable for each room. I know about the simple stuff, such as (represented as it would be in IDLE)
>>x = 4
>>x+1
5
but have tried searching for defining a variable for more than one line. In my case, I'm trying to define a room (with the name room1 ) with
print "You are standing in a restroom. There is a doorway to the north, the east, west, and south walls have human-sized hole blown in them."
I was trying to get this, and the best I can think of based on my research is
room1 = {print "YYou are standing in a restroom. There is a doorway to the north, the east, west, and south walls have human-sized hole blown in them."
, but as all of my educated guesses so far have gone, I was wrong. I'd post the rest of the code I've got written, but it's just an automated printing of the story.