MCPcopy Index your code
hub / github.com/NetHack/NetHack / max_capacity

Function max_capacity

src/hack.c:4390–4396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4388}
4389
4390int
4391max_capacity(void)
4392{
4393 int wt = inv_weight();
4394
4395 return (wt - (2 * gw.wc));
4396}
4397
4398boolean
4399check_capacity(const char *str)

Callers 1

carry_countFunction · 0.85

Calls 1

inv_weightFunction · 0.85

Tested by

no test coverage detected