ID:178991
 
Ok, this is getting quite annoying, every time I try to do rooms, I get the same stupid errors. I tried doing just what Dan did in the MUD demo, I put this-

room/soft_coded
room1
name = "Room"
roomid = 1
north_exit = .room2
room2
name = "Room 2"
south_exit = .room1

And I get five errors-

Rooms.dm:3:error:name:bad var
Rooms.dm:4:error:roomid:bad var
Rooms.dm:5:error:north_exit:bad var
Rooms.dm:7:error:name:bad var
Rooms.dm:8:error:south_exit:bad var

What in the world is wrong with this?????


turf/room/soft_coded
room1
name = "Room"
roomid = 1
north_exit = room2
room2
name = "Room 2"
south_exit = room1

make sure you set the vars as follows:

mob
var
then whatever here

also, why do you have just room/soft_coded?
shouldn't there be a turf or mob infront?
I think so.
- Raekwon
In response to RaeKwon
Ok, I changed it to this.

turf/room
room1
name = "Room"
desc = "The beginning"
var
roomid = 1
mob
var
north_exit = .room2
room2
name = "Room 2"
mob
var
south_exit = .room1

I didn't get any errors this time, but it won't start me out in room1, but the MUD demo said that roomid = 1 would start you in that room... What do I do about this one?