be given a requested number of heads.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8439 c06c8d41-db1a-0410-9941-cceddc491573
V6MJ46WTZVSZVTUF7Y5FDDAHD54QMWW4XNUNU6MKHPXUXT7RVG7QC mitm[thing_created].base_type = OBJ_CORPSES;mitm[thing_created].sub_type = CORPSE_BODY;mitm[thing_created].plus = mon;mitm[thing_created].plus2 = 0;mitm[thing_created].special = 210;mitm[thing_created].colour = mons_class_colour(mon);;mitm[thing_created].quantity = 1;mitm[thing_created].flags = 0;mitm[thing_created].orig_monnum = mon + 1;
if (mon >= MONS_DRACONIAN_CALLER && mon <= MONS_DRACONIAN_SCORCHER){mpr("You can't make a draconian corpse by it's job.");mon = MONS_DRACONIAN;}monsters dummy;dummy.type = mon;if (mons_genus(mon) == MONS_HYDRA){dummy.number = _debug_prompt_for_int("How many heads?", false);}if (fill_out_corpse(&dummy, mitm[thing_created], true) == -1){mpr("Failed to create corpse.");mitm[thing_created].clear();return;}