Hallucinatory liquids for water damage messages

This commit is contained in:
Patric Mueller
2021-04-20 13:38:34 +02:00
parent 2d2c584c96
commit f5904824e2
+2 -2
View File
@@ -3928,12 +3928,12 @@ water_damage(
} else if (Is_container(obj) } else if (Is_container(obj)
&& (!Waterproof_container(obj) || (obj->cursed && !rn2(3)))) { && (!Waterproof_container(obj) || (obj->cursed && !rn2(3)))) {
if (carried(obj)) if (carried(obj))
pline("Some water gets into your %s!", ostr); pline("Some %s gets into your %s!", hliquid("water"), ostr);
water_damage_chain(obj->cobj, FALSE); water_damage_chain(obj->cobj, FALSE);
return ER_DAMAGED; /* contents were damaged */ return ER_DAMAGED; /* contents were damaged */
} else if (Waterproof_container(obj)) { } else if (Waterproof_container(obj)) {
if (carried(obj)) { if (carried(obj)) {
pline_The("water slides right off your %s.", ostr); pline_The("%s slides right off your %s.", hliquid("water"), ostr);
makeknown(obj->otyp); makeknown(obj->otyp);
} }
/* not actually damaged, but because we /didn't/ get the "water /* not actually damaged, but because we /didn't/ get the "water