MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / instrumentEquipped

Method instrumentEquipped

source/game/StarPlayer.cpp:2354–2357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2352}
2353
2354void Player::instrumentEquipped(String const& instrumentKind) {
2355 if (canUseTool())
2356 m_songbook->keepAlive(instrumentKind, mouthPosition());
2357}
2358
2359void Player::interact(InteractAction const& action) {
2360 starAssert(!isSlave());

Callers

nothing calls this directly

Calls 1

keepAliveMethod · 0.45

Tested by

no test coverage detected