by Tdarcos » Tue Nov 29, 2016 3:44 am
I'm doing something wrong but I'm not sure what. I have a map that I want to put on the wall so the player can read it. But TADS won't put the map in the room. I did it before but I'm doing something wrong. It is simply not there. Also, when I misspelled the command
instead of
, the map shows up in the display but it's not there.
Code: Select all
Control_Center: Room 'You\'re in the control center.'
"You can go in any of the twelve directions from here."
north = setitem(Control_map, Closet )
south = setitem(Control_map, Bathroom )
east = setitem(Control_map, Meter_Room )
west = setitem(Control_map, Bedroom )
northeast= setitem(Control_map, Control_NE )
northwest= setitem(Control_map, Control_NW )
southeast = setitem(Control_map, Control_SE )
southwest = setitem(Control_map, Control_SW )
up = setitem(Control_map, Attic )
down = setitem(Control_map, Basement )
out = Courtyard
;
+ Control_map: Readable, Fixture 'room map' 'map'
"Try READ MAP to do so."
specialDesc = "A map is nailed to the wall"
readDesc = "From Control Center (Reverse Direction or OUT returns to center):\n
NORTH to Closet\n
SOUTH to Bathroom\n
EAST to Meter Room\n
WEST to Bedroom\n
NORTHEAST to Northeast Control Area\n
NORTHWEST to Northwest Control Area\n
SOUTHEAST to Southeast Control Area\n
SOUTHWEST to Southwest Control Area\n
UP to Attic\n
DOWN to Basement\n
OUT to Courtyard\n
IN to Kitchen\n
From Courtyard:\n
NORTH to Courtyard North\n
SOUTH to Courtyard South\n
From Courtyard North:\n
NORTHWEST to Courtyard Northwest\n
NORTHEAST to Courtyard Northeast\n
SOUTH to Courtyard\n
From Courtyard South:\n
SOUTHWEST to Courtyard Southwest\n
SOUTHEAST to Courtyard Southeast\n
NORTH to Courtyard"
;
I tried making it a plain object and then specifying the location but that doesn't work either. The samples that the game inserts do work so I'm doing something wrong but I'm not sure what.
I'm doing something wrong but I'm not sure what. I have a map that I want to put on the wall so the player can read it. But TADS won't put the map in the room. I did it before but I'm doing something wrong. It is simply not there. Also, when I misspelled the command [code]location = vontrol_Center[/code] instead of
[code]location = Control_Center[/code], the map shows up in the display but it's not there.
[code]
Control_Center: Room 'You\'re in the control center.'
"You can go in any of the twelve directions from here."
north = setitem(Control_map, Closet )
south = setitem(Control_map, Bathroom )
east = setitem(Control_map, Meter_Room )
west = setitem(Control_map, Bedroom )
northeast= setitem(Control_map, Control_NE )
northwest= setitem(Control_map, Control_NW )
southeast = setitem(Control_map, Control_SE )
southwest = setitem(Control_map, Control_SW )
up = setitem(Control_map, Attic )
down = setitem(Control_map, Basement )
out = Courtyard
;
+ Control_map: Readable, Fixture 'room map' 'map'
"Try READ MAP to do so."
specialDesc = "A map is nailed to the wall"
readDesc = "From Control Center (Reverse Direction or OUT returns to center):\n
NORTH to Closet\n
SOUTH to Bathroom\n
EAST to Meter Room\n
WEST to Bedroom\n
NORTHEAST to Northeast Control Area\n
NORTHWEST to Northwest Control Area\n
SOUTHEAST to Southeast Control Area\n
SOUTHWEST to Southwest Control Area\n
UP to Attic\n
DOWN to Basement\n
OUT to Courtyard\n
IN to Kitchen\n
From Courtyard:\n
NORTH to Courtyard North\n
SOUTH to Courtyard South\n
From Courtyard North:\n
NORTHWEST to Courtyard Northwest\n
NORTHEAST to Courtyard Northeast\n
SOUTH to Courtyard\n
From Courtyard South:\n
SOUTHWEST to Courtyard Southwest\n
SOUTHEAST to Courtyard Southeast\n
NORTH to Courtyard"
;
[/code]
I tried making it a plain object and then specifying the location but that doesn't work either. The samples that the game inserts do work so I'm doing something wrong but I'm not sure what.