MCPcopy 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
1071void Npc::instrumentEquipped(String const& instrumentKind) {
1072 if (canUseTool())
1073 m_songbook->keepAlive(instrumentKind, mouthPosition());
1074}
1075
1076void Npc::interact(InteractAction const&) {}
1077

Callers 1

updateMethod · 0.45

Calls 1

keepAliveMethod · 0.45

Tested by

no test coverage detected