All pastes #733122 Raw Edit

Stuff

public text v1 · immutable
·published 2007-10-11 15:20 UTC
rendered paste body
#World Editor
print 'Currently editing ' + worldname
print '01. Add Room'
print '02. Edit Room'
print '03. List Rooms'
print '04. Main Menu'
choiceEditor = raw_input('Choice: ')

if (choiceEditor = 1) or (choiceEditor = 2):
	roomCheck = 'n'
	while (roomCheck == 'n'):
		roomName = raw_input('Name of Room: ')
		roomExits = raw_input('Exits: ')
		roomContents = raw_input('Contents: ')
		roomDescription = raw_input('Description: \n\
		Enter lines of text to describe your room. Enter @\n\
		to end the description, and continue\n\ ')
		roomCheck = raw_input('Is this room correct?(y/n): ')
	if (choiceEditor = 1):
		newRoom = [roomName, roomExits, roomContents, roomDescription]
	elif (choiceEditor = 2):
		newRoom = [roomName, roomExits, roomContents, roomDescription]