MCPcopy Create free account
hub / github.com/NetHack/NetHack / mkzoo

Function mkzoo

src/mkroom.c:243–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243staticfn void
244mkzoo(int type)
245{
246 struct mkroom *sroom;
247
248 if ((sroom = pick_room(FALSE)) != 0) {
249 sroom->rtype = type;
250 /* room does not get stocked at this time - it will get stocked at the
251 * end of makelevel() */
252 sroom->needfill = FILL_NORMAL;
253 }
254}
255
256staticfn void
257mk_zoo_thronemon(coordxy x, coordxy y)

Callers 2

do_mkroomFunction · 0.85
mkshopFunction · 0.85

Calls 1

pick_roomFunction · 0.85

Tested by

no test coverage detected