v0.6.0: floor 2 entrance doors are now only hidden for newer players
This commit is contained in:
parent
44245c5a75
commit
0a050c9fbf
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
package com.shatteredpixel.shatteredpixeldungeon.levels;
|
package com.shatteredpixel.shatteredpixeldungeon.levels;
|
||||||
|
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.Badges;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.Bones;
|
import com.shatteredpixel.shatteredpixeldungeon.Bones;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
||||||
|
@ -139,8 +140,8 @@ public abstract class RegularLevel extends Level {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//teaches players about secret doors
|
//teaches new players about secret doors
|
||||||
if (Dungeon.depth == 2) {
|
if (Dungeon.depth == 2 && !Badges.isUnlocked(Badges.Badge.BOSS_SLAIN_1)) {
|
||||||
for (Room r : roomEntrance.connected.keySet()) {
|
for (Room r : roomEntrance.connected.keySet()) {
|
||||||
Room.Door d = roomEntrance.connected.get(r);
|
Room.Door d = roomEntrance.connected.get(r);
|
||||||
if (d.type == Room.Door.Type.REGULAR)
|
if (d.type == Room.Door.Type.REGULAR)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user