1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-25 23:12:20 +00:00

ru:: teleport cheat now brings you to life and max HP

This commit is contained in:
Zeno Rogue 2025-08-23 16:58:55 +02:00
parent 0d64d9cca2
commit f6deb8f073

View File

@ -93,7 +93,7 @@ void editmap_frame() {
dialog::display();
});
if(keypressed('f')) floodfill_pick(mousepx / block_x, mousepy / block_y);
if(keypressed('t')) { m.where = xy(mousepx, mousepy); m.vel = xy(0, 0); current_room->edited = true; }
if(keypressed('t')) { m.where = xy(mousepx, mousepy); m.vel = xy(0, 0); current_room->edited = true; m.existing = true; m.hp = m.max_hp(); }
}
/* new w, velocity multiplier, neighbor id */