v2.2.0: opened up new blacksmith quest as it is now fully playable
This commit is contained in:
+3
-9
@@ -41,7 +41,6 @@ import com.shatteredpixel.shatteredpixeldungeon.windows.WndQuest;
|
||||
import com.watabou.noosa.Game;
|
||||
import com.watabou.utils.Bundle;
|
||||
import com.watabou.utils.Callback;
|
||||
import com.watabou.utils.DeviceCompat;
|
||||
import com.watabou.utils.Random;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -373,15 +372,10 @@ public class Blacksmith extends NPC {
|
||||
rooms.add(new BlacksmithRoom());
|
||||
spawned = true;
|
||||
|
||||
//currently the new quest is disabled in production as it is incomplete
|
||||
if (DeviceCompat.isDebug()){
|
||||
//type = 1+Random.Int(3);
|
||||
type = CRYSTAL;
|
||||
//currently only the crystal quest is ready to play
|
||||
//we still roll for quest type however, to ensure seed consistency
|
||||
type = 1+Random.Int(1);
|
||||
alternative = false;
|
||||
} else {
|
||||
type = OLD;
|
||||
alternative = Random.Int(2) == 0;
|
||||
}
|
||||
|
||||
given = false;
|
||||
|
||||
|
||||
-4
@@ -34,7 +34,6 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.traps.BurningTrap;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.tiles.CustomTilemap;
|
||||
import com.watabou.noosa.Tilemap;
|
||||
import com.watabou.utils.DeviceCompat;
|
||||
import com.watabou.utils.Point;
|
||||
import com.watabou.utils.Random;
|
||||
|
||||
@@ -80,8 +79,6 @@ public class BlacksmithRoom extends StandardRoom {
|
||||
} while (level.heaps.get( npc.pos ) != null);
|
||||
level.mobs.add( npc );
|
||||
|
||||
//currently the new quest is disabled in production as it is incomplete
|
||||
if (DeviceCompat.isDebug()) {
|
||||
int entrancePos;
|
||||
do {
|
||||
entrancePos = level.pointToCell(random( 2 ));
|
||||
@@ -98,7 +95,6 @@ public class BlacksmithRoom extends StandardRoom {
|
||||
Dungeon.branch + 1,
|
||||
LevelTransition.Type.BRANCH_ENTRANCE));
|
||||
Painter.set(level, entrancePos, Terrain.EXIT);
|
||||
}
|
||||
|
||||
for(Point p : getPoints()) {
|
||||
int cell = level.pointToCell(p);
|
||||
|
||||
Reference in New Issue
Block a user