From 08dccbdb08a07199e066726de3415a6b91b32418 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 14 May 2025 13:04:38 +0200 Subject: [PATCH] ru:: more start-game hints --- rogueviz/ru/classes.cpp | 1 + rogueviz/ru/entity.cpp | 1 + rogueviz/ru/map.ru | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/rogueviz/ru/classes.cpp b/rogueviz/ru/classes.cpp index b42cd602..630705fd 100644 --- a/rogueviz/ru/classes.cpp +++ b/rogueviz/ru/classes.cpp @@ -441,6 +441,7 @@ struct hint : public entity { int state; xy size; xy siz() override { return size; } + hint() { state = 0; } string glyph() override { return " "; } color_t color() override { return 0; } void act() override; diff --git a/rogueviz/ru/entity.cpp b/rogueviz/ru/entity.cpp index 3d813740..89c840d0 100644 --- a/rogueviz/ru/entity.cpp +++ b/rogueviz/ru/entity.cpp @@ -358,6 +358,7 @@ void snake::attacked(int dmg) { void hint::act() { bool cur = intersect(get_pixel_bbox(), m.get_pixel_bbox()); + if(gframeid < 300) cur = 0; if(cur && !state) { addMessage(hint_text); } diff --git a/rogueviz/ru/map.ru b/rogueviz/ru/map.ru index e9a9588c..546f0054 100644 --- a/rogueviz/ru/map.ru +++ b/rogueviz/ru/map.ru @@ -114,6 +114,12 @@ HINT 306 292 12 12 Attack the door with your dagger to open it. HINT 296 292 12 12 Collect your dagger and press [key:dagger]. +HINT 344 275 12 60 +Press [key:move left] and [key:move right] to move. +HINT 205 286 12 12 +Press [key:jump] to climb the ladder. +HINT 197 210 12 12 +Press [key:fall] to drop down. ITEM 382 287 dagger You collect your trusty dagger from the drawer.