1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

CLI -land-info to list validity for every land

This commit is contained in:
Zeno Rogue 2023-03-24 23:18:30 +01:00
parent a0f91faf67
commit 15623fd84d

View File

@ -1283,6 +1283,13 @@ EX land_validity_t& land_validity(eLand l) {
return ok;
}
auto ar = arg::add3("-land-info",
[] {
for(int li=0; li<landtypes; li++) {
eLand l = eLand(li);
println(hlog, dnameof(l), " : ", land_validity(l).msg);
}
});
/*
int checkLands() {
for(int i=0; i<landtypes; i++) {