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:
parent
a0f91faf67
commit
15623fd84d
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user