|
|
|
@ -103,22 +103,11 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|
|
|
|
tintin_rooms.insert(tintin_room.vnum, tintin_room);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (vnum, room) in tintin_rooms {
|
|
|
|
|
for (_vnum, room) in tintin_rooms {
|
|
|
|
|
println!("{}", room);
|
|
|
|
|
|
|
|
|
|
for exit in room.exits {
|
|
|
|
|
println!(
|
|
|
|
|
"E {{{}}} {{{}}} {{{}}} {{{}}} {{{}}} {{{}}} {{{}}} {{{}}} {{{}}}",
|
|
|
|
|
exit.vnum,
|
|
|
|
|
exit.name,
|
|
|
|
|
exit.cmd,
|
|
|
|
|
exit.dir,
|
|
|
|
|
exit.flags,
|
|
|
|
|
exit.data,
|
|
|
|
|
exit.weight,
|
|
|
|
|
exit.color,
|
|
|
|
|
exit.decay
|
|
|
|
|
);
|
|
|
|
|
println!("{}", exit);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
println!();
|
|
|
|
|