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