Hello! I have tried to make a flying fortress that changes room 2617's (The entrance to the fort) link south from none to something each season. The code look like this and is called every tick in comm.c void move_fort(void) { extern struct time_info_data time_info; if (time_info.month > 4 && time_info.month < 8) { CREATE(world[766].dir_option[0], struct room_direction_data, 1); world[766].dir_option[0]->general_description = NULL; world[766].dir_option[0]->keyword = NULL; world[766].dir_option[0]->to_room = 2617; CREATE(world[2617].dir_option[2], struct room_direction_data, 1); world[2617].dir_option[2]->general_description = NULL; world[2617].dir_option[2]->keyword = NULL; world[2617].dir_option[2]->to_room = 766; } else if (time_info.month > 7 && time_info.month < 12) { ... .. . But, it won't set the link south. I have logged the whole function, and all logs go through. What can be wrong? ()CHRISTOFFER:>...... +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST