some pline()-like function usage

This commit is contained in:
nhmall
2023-03-08 19:12:52 -05:00
parent d9b43ce357
commit ecf74d5308
14 changed files with 26 additions and 26 deletions

View File

@@ -4144,7 +4144,7 @@ acid_damage(struct obj* obj)
) {
if (!Blind) {
if (victim == &gy.youmonst)
pline("Your %s.", aobjnam(obj, "fade"));
Your("%s.", aobjnam(obj, "fade"));
else if (vismon)
pline("%s %s.", s_suffix(Monnam(victim)),
aobjnam(obj, "fade"));
@@ -4232,7 +4232,7 @@ water_damage(
#endif
) return 0;
if (in_invent)
pline("Your %s %s.", ostr, vtense(ostr, "fade"));
Your("%s %s.", ostr, vtense(ostr, "fade"));
obj->otyp = SCR_BLANK_PAPER;
obj->dknown = 0;
@@ -4254,7 +4254,7 @@ water_damage(
return 0;
}
if (in_invent)
pline("Your %s %s.", ostr, vtense(ostr, "fade"));
Your("%s %s.", ostr, vtense(ostr, "fade"));
if (obj->otyp == SPE_NOVEL) {
obj->novelidx = 0;
@@ -4322,7 +4322,7 @@ water_damage(
return ER_DESTROYED;
} else if (obj->odiluted) {
if (in_invent)
pline("Your %s %s further.", ostr, vtense(ostr, "dilute"));
Your("%s %s further.", ostr, vtense(ostr, "dilute"));
obj->otyp = POT_WATER;
obj->dknown = 0;
@@ -4333,7 +4333,7 @@ water_damage(
return ER_DAMAGED;
} else if (obj->otyp != POT_WATER) {
if (in_invent)
pline("Your %s %s.", ostr, vtense(ostr, "dilute"));
Your("%s %s.", ostr, vtense(ostr, "dilute"));
obj->odiluted++;
if (in_invent)