> I've noticed that if I buy a bunch of stuff from a table (like > alchemical elements), they don't have a material type, but if I leave > them in my apartment and come back after the map has been saved, the > material type is set. This means that newly-bought items don't merge > with older items (and they're indestructible). > > Is this something that is easily fixed? I had the same problem while checking the Python plugin. The attached patch fixed the problem for me, but I don't know if using a fixed difficulty (5) is correct. -------------- next part -------------- Index: common/arch.c =================================================================== RCS file: /cvsroot/crossfire/crossfire/common/arch.c,v retrieving revision 1.29 diff -w -c -5 -r1.29 arch.c *** common/arch.c 27 Oct 2003 07:24:13 -0000 1.29 --- common/arch.c 20 Jan 2005 22:30:37 -0000 *************** *** 571,580 **** --- 571,581 ---- return NULL; } op=get_object(); copy_object(&at->clone,op); op->arch=at; + set_materialname(op, 5, NULL); return op; } /* * Creates an object. This function is called by get_archetype()