Lfun: show_data - show the data of an object Synopsis: int show_data(mixed flag) Description: You should always define this function to display all important variables of your object. The show_data function is called by the stat wizard command. The information returned is put out via write. That can be things like short/long-descriptions, classes and various variables, what ever you think is useful. Inherited generic objects (monster/weapons/armour etc.) already have a show_data function. You don't need to write an extra one. If you still want to have an own show_data() call ::show_data(arg) there. If there is any arg "flag", show_data also displays the stored properties of the object. Return value: The function show_data should always return 1 to be able to determine whether there is such a function. Examples: string colour; show_data(arg) { ::show_data(arg); printf("Colour:\t%s\n", colour); return 1; } Note: During the development of persistence the argument "flag" was added. Currently no 'stat' command supports this (see 'help w/stat' or any wizard tool). See also: w/stat, efun/write