mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-29 16:57:56 +00:00
new Crossroads variant: thematic crossroads
This commit is contained in:
@@ -2064,6 +2064,7 @@ EX namespace heat {
|
||||
EX double absheat(cell *c) {
|
||||
if(c->land == laCocytus) return HEAT(c) -.6;
|
||||
if(c->land == laIce || c->land == laBlizzard || c->land == laEclectic) return HEAT(c) -.4;
|
||||
if(c->land == laThematicHeat) return HEAT(c) - 0.2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -2167,6 +2168,8 @@ EX namespace heat {
|
||||
hmod += xrate*.1;
|
||||
if(ct->land == laVolcano)
|
||||
hmod += xrate * (ct->wall == waMagma ? .4 : .2);
|
||||
else if(c->land == laThematicHeat && !isThematic(ct->land) && !isIcyLand(ct->land) && ct->land != laBarrier)
|
||||
hmod += xrate * .3;
|
||||
}
|
||||
|
||||
for(cell* ct: ls) {
|
||||
@@ -2215,7 +2218,7 @@ EX namespace heat {
|
||||
addMessage(XLAT("%The1 melts away!", c->monst));
|
||||
fallMonster(c);
|
||||
}
|
||||
if(c->wall == waIcewall && HEAT(c) > .4)
|
||||
if(c->wall == waIcewall && HEAT(c) > (c->land == laThematicHeat ? .2 : .4))
|
||||
drawParticles(c, MELTCOLOR, 4, 60),
|
||||
c->wall = waNone, kills[0]++;
|
||||
if(c->wall == waFrozenLake && HEAT(c) > (c->land == laCocytus ? .6 : .4))
|
||||
|
Reference in New Issue
Block a user