Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ instrumentEquipped
Method
instrumentEquipped
source/game/StarNpc.cpp:1071–1074 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1069
}
1070
1071
void Npc::instrumentEquipped(String const& instrumentKind) {
1072
if (canUseTool())
1073
m_songbook->keepAlive(instrumentKind, mouthPosition());
1074
}
1075
1076
void Npc::interact(InteractAction const&) {}
1077
Callers
1
update
Method · 0.45
Calls
1
keepAlive
Method · 0.45
Tested by
no test coverage detected