mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 17:27:57 +00:00
Chaos variant of the Prairie
This commit is contained in:
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) {
|
||||
|
Reference in New Issue
Block a user