Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ usable
Method
usable
source/game/items/StarInstrumentItem.cpp:68–70 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
}
67
68
bool InstrumentItem::usable() const {
69
return true;
70
}
71
72
void InstrumentItem::activate() {
73
owner()->interact(InteractAction{InteractActionType::OpenSongbookInterface, owner()->entityId(), {}});
Callers
1
tick
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected