mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
product:: land validity
This commit is contained in:
parent
c5fec49cb6
commit
45659d0432
@ -679,6 +679,15 @@ EX land_validity_t& land_validity(eLand l) {
|
||||
|
||||
using namespace lv;
|
||||
|
||||
if(prod) {
|
||||
if(among(l, laPrincessQuest, laPrairie, laMirrorOld, laMirror, laDual, laWarpCoast, laKraken, laBrownian, laWhirlpool, laWestWall, laHive, laClearing, laWhirlwind, laBlizzard, laBull, laTerracotta, laCrossroads5,
|
||||
laEndorian, laDungeon, laMountain))
|
||||
return lv::not_implemented;
|
||||
if(among(l, laReptile, laDragon, laTortoise))
|
||||
return lv::bad_graphics;
|
||||
return *PIU(&land_validity(l));
|
||||
}
|
||||
|
||||
#if !CAP_FIELD
|
||||
if(among(l, laPrairie, laBlizzard, laVolcano))
|
||||
return disabled;
|
||||
|
Loading…
Reference in New Issue
Block a user