1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-13 13:47:37 +00:00

further cleanup

This commit is contained in:
Zeno Rogue
2019-08-09 23:24:33 +02:00
parent 05bd7a905c
commit 65c4e6a31c
12 changed files with 88 additions and 236 deletions

View File

@@ -8,9 +8,9 @@ namespace hr {
EX bool safety = false;
eLand lastland;
EX eLand lastland;
int lastexplore;
EX int lastexplore;
EX bool randomPatternsMode = false;
EX int randompattern[landtypes];
@@ -34,7 +34,7 @@ EX bool notDippingFor(eItem i) {
return v >= hrand(10) + 10;
}
bool notDippingForExtra(eItem i, eItem x) {
EX bool notDippingForExtra(eItem i, eItem x) {
if(peace::on) return false;
if(chaosmode > 1) return true;
int v = items[i] - min(items[x], currentLocalTreasure);