From 83dcbb19ec4d694f83a01640abc187f47856a94e Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 5 Jul 2015 14:07:43 -0400 Subject: [PATCH] v0.3.1: added a sort of tutorial for the new double-tap to search functionality, and searchign in general --- .../shatteredpixeldungeon/levels/SewerLevel.java | 7 +++++++ .../shatteredpixeldungeon/levels/features/Sign.java | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/SewerLevel.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/SewerLevel.java index 22afd1b53..3ffbb915d 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/SewerLevel.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/SewerLevel.java @@ -95,6 +95,13 @@ public class SewerLevel extends RegularLevel { } } } + + //hides all doors in the entrance room on floor 2, teaches the player to search. + if (Dungeon.depth == 2) + for (Room r : roomEntrance.connected.keySet()){ + Room.Door d = roomEntrance.connected.get(r); + map[d.x + d.y * WIDTH] = Terrain.SECRET_DOOR; + } placeSign(); } diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/features/Sign.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/features/Sign.java index 64c10e73a..cb0df38fc 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/features/Sign.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/features/Sign.java @@ -44,8 +44,9 @@ public class Sign { "Items found in the dungeon will often be unidentified. Some items will have unknown effects, others " + "may be upgraded, or degraded and cursed! Unidentified items are unpredictable, so be careful!", "Charging forward recklessly is a great way to get killed.\n\n" + - "Slowing down a bit to examine enemies and use the environment and items to your advantage can make a" + - " big difference.\n\nThe dungeon is full of traps and hidden passageways as well, keep your eyes open!", + "Slowing down a bit to examine enemies and use the environment and items to your advantage can make a " + + "big difference.\n\nThe dungeon is full of traps and hidden passageways as well, keep your eyes open.\n\n " + + "You can double tap on the examine button to search the area for secrets.", "Levelling up is important!\n\nBeing about the same level as the floor you are on is a good idea. " + "Hunger may keep you moving in search of more food, but don't be afraid to slow down a little and train." + "\n\n\nHunger and health are both resources, and using them well can mean starving yourself in order" +