v0.3.2: lots of wandmaker quest implementation
This commit is contained in:
@@ -82,14 +82,7 @@ public class PrisonLevel extends RegularLevel {
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void createItems() {
|
||||
super.createItems();
|
||||
|
||||
Wandmaker.Quest.spawn( this, roomEntrance );
|
||||
return Wandmaker.Quest.spawn( this, roomEntrance, rooms );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -23,6 +23,7 @@ package com.shatteredpixel.shatteredpixeldungeon.levels.painters;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Assets;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.keys.IronKey;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.quest.CeremonialCandle;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.levels.Level;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.levels.Room;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.levels.Terrain;
|
||||
@@ -45,6 +46,13 @@ public class RitualSitePainter extends Painter {
|
||||
vis.pos(c.x - 1, c.y - 1);
|
||||
|
||||
level.customTiles.add(vis);
|
||||
|
||||
level.addItemToSpawn(new CeremonialCandle());
|
||||
level.addItemToSpawn(new CeremonialCandle());
|
||||
level.addItemToSpawn(new CeremonialCandle());
|
||||
level.addItemToSpawn(new CeremonialCandle());
|
||||
|
||||
CeremonialCandle.ritualPos = c.x + (Level.WIDTH * c.y);
|
||||
}
|
||||
|
||||
public static class RitualMarker extends CustomTileVisual{
|
||||
|
||||
Reference in New Issue
Block a user