Hallucinatory liquids for water, lava, and acid
This commit is contained in:
20
src/do.c
20
src/do.c
@@ -103,7 +103,8 @@ boolean pushing;
|
||||
You("find yourself on dry land again!");
|
||||
} else if (lava && distu(rx, ry) <= 2) {
|
||||
int dmg;
|
||||
You("are hit by molten lava%c", Fire_resistance ? '.' : '!');
|
||||
You("are hit by molten %s%c",
|
||||
hliquid("lava"), Fire_resistance ? '.' : '!');
|
||||
burn_away_slime();
|
||||
dmg = d((Fire_resistance ? 1 : 3), 6);
|
||||
losehp(Maybe_Half_Phys(dmg), /* lava damage */
|
||||
@@ -379,18 +380,21 @@ register struct obj *obj;
|
||||
You_hear("loud noises coming from the drain.");
|
||||
break;
|
||||
case RIN_SUSTAIN_ABILITY: /* KMH */
|
||||
pline_The("water flow seems fixed.");
|
||||
pline_The("%s flow seems fixed.", hliquid("water"));
|
||||
break;
|
||||
case RIN_GAIN_STRENGTH:
|
||||
pline_The("water flow seems %ser now.",
|
||||
pline_The("%s flow seems %ser now.",
|
||||
hliquid("water"),
|
||||
(obj->spe < 0) ? "weak" : "strong");
|
||||
break;
|
||||
case RIN_GAIN_CONSTITUTION:
|
||||
pline_The("water flow seems %ser now.",
|
||||
pline_The("%s flow seems %ser now.",
|
||||
hliquid("water"),
|
||||
(obj->spe < 0) ? "less" : "great");
|
||||
break;
|
||||
case RIN_INCREASE_ACCURACY: /* KMH */
|
||||
pline_The("water flow %s the drain.",
|
||||
pline_The("%s flow %s the drain.",
|
||||
hliquid("water"),
|
||||
(obj->spe < 0) ? "misses" : "hits");
|
||||
break;
|
||||
case RIN_INCREASE_DAMAGE:
|
||||
@@ -456,10 +460,12 @@ register struct obj *obj;
|
||||
pline_The("sink seems to blend into the floor for a moment.");
|
||||
break;
|
||||
case RIN_FIRE_RESISTANCE:
|
||||
pline_The("hot water faucet flashes brightly for a moment.");
|
||||
pline_The("hot %s faucet flashes brightly for a moment.",
|
||||
hliquid("water"));
|
||||
break;
|
||||
case RIN_COLD_RESISTANCE:
|
||||
pline_The("cold water faucet flashes brightly for a moment.");
|
||||
pline_The("cold %s faucet flashes brightly for a moment.",
|
||||
hliquid("water"));
|
||||
break;
|
||||
case RIN_PROTECTION_FROM_SHAPE_CHAN:
|
||||
pline_The("sink looks nothing like a fountain.");
|
||||
|
||||
Reference in New Issue
Block a user