aboutsummaryrefslogtreecommitdiff
path: root/frontend/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/cmd')
-rw-r--r--frontend/cmd/view.cpp9
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;
}