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

Function taking_off

src/invent.c:1671–1675  ·  view source on GitHub ↗

match the prompt for either 'T' or 'R' command */

Source from the content-addressed store, hash-verified

1669
1670/* match the prompt for either 'T' or 'R' command */
1671staticfn boolean
1672taking_off(const char *action)
1673{
1674 return !strcmp(action, "take off") || !strcmp(action, "remove");
1675}
1676
1677staticfn void
1678mime_action(const char *word)

Callers 2

ggetobjFunction · 0.85
askchainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected