Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1050
int
1051
welded(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
1060
void
1061
weldmsg(struct obj *obj)
Callers
15
dowield
Function · 0.85
doswapweapon
Function · 0.85
doquiver_core
Function · 0.85
wield_tool
Function · 0.85
steal
Function · 0.85
cursed
Function · 0.85
canwearobj
Function · 0.85
accessory_or_armor_on
Function · 0.85
glibr
Function · 0.85
stuck_ring
Function · 0.85
select_off
Function · 0.85
ballrelease
Function · 0.85
Calls
1
set_bknown
Function · 0.85
Tested by
no test coverage detected