v1.3.0: added a second torch spawn to large floors with darkness chal

This commit is contained in:
Evan Debenham
2022-06-20 15:38:25 -04:00
parent 4c4268a0c2
commit 071f295e1d

View File

@@ -237,6 +237,10 @@ public abstract class Level implements Bundlable {
case 4:
feeling = Feeling.LARGE;
addItemToSpawn(Generator.random(Generator.Category.FOOD));
//add a second torch to help with the larger floor
if (Dungeon.isChallenged(Challenges.DARKNESS)){
addItemToSpawn( new Torch() );
}
break;
case 5:
feeling = Feeling.TRAPS;