mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-20 06:03:01 +00:00
prevent_spawn_treasure in daily
This commit is contained in:
parent
e2c0a86468
commit
9286134502
1
hyper.h
1
hyper.h
@ -3289,6 +3289,7 @@ namespace daily {
|
||||
void turnoff();
|
||||
void showMenu();
|
||||
int find_daily_lbid(int id);
|
||||
bool prevent_spawn_treasure_on(cell *c);
|
||||
}
|
||||
|
||||
enum eOrbLandRelation {
|
||||
|
@ -281,6 +281,9 @@ bool haveKraken() {
|
||||
|
||||
eItem wanderingTreasure(cell *c) {
|
||||
eLand l = c->land;
|
||||
#if CAP_DAILY
|
||||
if(daily::on && daily::prevent_spawn_treasure_on(c)) return itNone;
|
||||
#endif
|
||||
if(l == laEFire) return itFireShard;
|
||||
if(l == laEWater) return itWaterShard;
|
||||
if(l == laEAir) return itAirShard;
|
||||
|
Loading…
Reference in New Issue
Block a user