MCPcopy 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
68bool InstrumentItem::usable() const {
69 return true;
70}
71
72void InstrumentItem::activate() {
73 owner()->interact(InteractAction{InteractActionType::OpenSongbookInterface, owner()->entityId(), {}});

Callers 1

tickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected