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

Function make_glib

src/potion.c:460–468  ·  view source on GitHub ↗

set or clear "slippery fingers" */

Source from the content-addressed store, hash-verified

458
459/* set or clear "slippery fingers" */
460void
461make_glib(int xtime)
462{
463 disp.botl |= (!Glib ^ !!xtime);
464 set_itimeout(&Glib, xtime);
465 /* may change "(being worn)" to "(being worn; slippery)" or vice versa */
466 if (uarmg)
467 update_inventory();
468}
469
470void
471self_invis_message(void)

Callers 12

special_throne_effectFunction · 0.85
potion_dipFunction · 0.85
Gloves_offFunction · 0.85
nh_timeoutFunction · 0.85
fix_curse_troubleFunction · 0.85
wiz_intrinsicFunction · 0.85
polymonFunction · 0.85
consume_tinFunction · 0.85
use_towelFunction · 0.85
use_lampFunction · 0.85
use_greaseFunction · 0.85
wash_handsFunction · 0.85

Calls 2

set_itimeoutFunction · 0.85
update_inventoryFunction · 0.85

Tested by

no test coverage detected