diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-29 20:01:27 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-29 20:01:27 +0100 |
commit | 9283e1eb66d6ff96b02f317e28cb6ff060953cdf (patch) | |
tree | c03d853ef620216f1c2299936004f56c6c3cee04 /frontend/cmd/view.cpp | |
parent | 7285f9f2c2622acff734e31314f92df9b25cae16 (diff) |
WIP load XML
Diffstat (limited to 'frontend/cmd/view.cpp')
-rw-r--r-- | frontend/cmd/view.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend/cmd/view.cpp b/frontend/cmd/view.cpp index 8b08a2c..7998a4a 100644 --- a/frontend/cmd/view.cpp +++ b/frontend/cmd/view.cpp @@ -7,6 +7,15 @@ FollowupAction Player::cmd_view(Argv argv) { return FollowupAction::NONE; } + if (argv[0] == "Zelf") { + lprtf("Je hebt %d levenspunten.\n", this->health_points); + lprtf("Je hebt een aanvalskans van %.0f%%.\n", this->attack_chance * 100); + // TODO: weapon + // TODO: armor + // TODO: gold + // TODO: inventory + } + return FollowupAction::NONE; } |