mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-24 18:37:39 +00:00
slime destroyed by lava; winter picks up ice-encased items
This commit is contained in:
8
game.cpp
8
game.cpp
@@ -2467,8 +2467,8 @@ void checkTide(cell *c) {
|
||||
if(c->land == laVolcano) {
|
||||
int id = lavatide(c, 0);
|
||||
if(id < 96) {
|
||||
if(c->wall == waNone || isWateryOrBoat(c) || c->wall == waVinePlant) {
|
||||
if(isWateryOrBoat(c))
|
||||
if(c->wall == waNone || isWateryOrBoat(c) || c->wall == waVinePlant || isAlch(c)) {
|
||||
if(isWateryOrBoat(c) || isAlch(c))
|
||||
playSound(c, "steamhiss");
|
||||
c->wall = waMagma;
|
||||
if(itemBurns(c->item)) {
|
||||
@@ -7299,6 +7299,10 @@ bool movepcto(int d, int subdir, bool checkonly) {
|
||||
cwt.c->wall = waIcewall;
|
||||
}
|
||||
|
||||
if(items[itOrbWinter])
|
||||
forCellEx(c3, c2) if(c3->wall == waIcewall && c3->item)
|
||||
markOrb(itOrbWinter), collectItem(c3);
|
||||
|
||||
movecost(cwt.c, c2);
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user