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

Function welded

src/wield.c:1050–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1048}
1049
1050int
1051welded(struct obj *obj)
1052{
1053 if (obj && obj == uwep && will_weld(obj)) {
1054 set_bknown(obj, 1);
1055 return 1;
1056 }
1057 return 0;
1058}
1059
1060void
1061weldmsg(struct obj *obj)

Callers 15

dowieldFunction · 0.85
doswapweaponFunction · 0.85
doquiver_coreFunction · 0.85
wield_toolFunction · 0.85
stealFunction · 0.85
cursedFunction · 0.85
canwearobjFunction · 0.85
accessory_or_armor_onFunction · 0.85
glibrFunction · 0.85
stuck_ringFunction · 0.85
select_offFunction · 0.85
ballreleaseFunction · 0.85

Calls 1

set_bknownFunction · 0.85

Tested by

no test coverage detected