[DGD] Melville - Attention: Stephen Schmidt

Vampyr Twilight vampyr at fragments.net
Mon Jan 20 09:15:11 CET 2003


Another note on Melville, why am I only able to add up to two exits per
room?

    set_exits ( ([ "south" : "/world/druid_park_west_20", "east"  :
"/world/druid_park_path_1", "north" : "/world/druid_park_path_6" ]) );

The above loads fine but the second someone steps into the room, they rip
the fabric of space, and the driver coughs out the following error:
--Bad argument 2 for kfun -
--Object: /world/start, program: /inherit/room, line 63

The line in question is:  all_but_last = exits - exits[map_sizeof(exits)-1]
;

This however works fine:
    set_exits ( ([ "south" : "/world/druid_park_west_20", "east"  :
"/world/druid_park_path_1" ]) );

Is this an issue with the version of DGD required for Melville, or is it an
unseen limit imposed on the mapping in the room.c inherit?

Any suggestions are greatly appreciated, since two exits per room is not so
fun.  ;-)


Thanks,
-V. Twilight


_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list