Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ kill
Method
kill
source/game/StarPlayer.cpp:467–469 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
465
}
466
467
void Player::kill() {
468
m_statusController->setResource(
"health"
, 0);
469
}
470
471
bool Player::wireToolInUse() const {
472
return (bool)as<WireTool>(m_tools->primaryHandItem());
Callers
2
suicide
Method · 0.80
Wait
Method · 0.80
Calls
1
setResource
Method · 0.45
Tested by
1
Wait
Method · 0.64