mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 20:29:17 +00:00
Chaos variant of the Prairie
This commit is contained in:
parent
2b1aebb9b4
commit
2402dfeac9
10
landgen.cpp
10
landgen.cpp
@ -168,6 +168,16 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
switch(c->land) {
|
||||
|
||||
case laPrairie: // -------------------------------------------------------------
|
||||
|
||||
if(d == 7 && chaosmode) {
|
||||
if(hrand_monster(9000) < items[itGreenGrass] - (prairie::isriver(cwt.at) ? 40 : 0))
|
||||
c->monst = moGadfly;
|
||||
if(hrand_monster(100) < 5) c->monst = moSleepBull;
|
||||
if(hrand(800) < 10) {
|
||||
c->item = itGreenGrass;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
#if CAP_FIELD
|
||||
if(d == 7) {
|
||||
|
Loading…
Reference in New Issue
Block a user