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

Function takeoff_ok

src/do_wear.c:3471–3475  ·  view source on GitHub ↗

getobj callback for T command */

Source from the content-addressed store, hash-verified

3469
3470/* getobj callback for T command */
3471staticfn int
3472takeoff_ok(struct obj *obj)
3473{
3474 return equip_ok(obj, TRUE, FALSE);
3475}
3476
3477/* getobj callback for blessed destroy armor.
3478 suggest any worn armor, even if covered by other armor */

Callers

nothing calls this directly

Calls 1

equip_okFunction · 0.85

Tested by

no test coverage detected