ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/apply.C
(Generate patch)

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.176 by root, Sun Dec 28 06:59:27 2008 UTC vs.
Revision 1.177 by root, Sun Dec 28 07:23:52 2008 UTC

1271static void 1271static void
1272apply_sign (object *op, object *sign, int autoapply) 1272apply_sign (object *op, object *sign, int autoapply)
1273{ 1273{
1274 if (sign->has_dialogue ()) 1274 if (sign->has_dialogue ())
1275 { 1275 {
1276 op->statusmsg (form ("Maybe you should I<talk> to the %s instead?", &sign->name)); 1276 op->statusmsg (format ("Maybe you should I<talk> to the %s instead?", &sign->name));
1277 return; 1277 return;
1278 } 1278 }
1279 1279
1280 if (!sign->msg) 1280 if (!sign->msg)
1281 { 1281 {
1282 op->statusmsg ("Nothing is written on it."); 1282 op->contr->infobox (MSG_CHANNEL ("examine"),
1283 format ("T<%s>\n\n Nothing %sis written on it.",
1284 &sign->name,
1285 sign->name == sign->arch->name ? "" : "else "));
1283 return; 1286 return;
1284 } 1287 }
1285 1288
1286 if (sign->stats.food) 1289 if (sign->stats.food)
1287 { 1290 {
1288 if (sign->last_eat >= sign->stats.food) 1291 if (sign->last_eat >= sign->stats.food)
1289 { 1292 {
1290 if (!sign->move_on) 1293 if (!sign->move_on)
1291 op->statusmsg ("You cannot read it anymore."); 1294 op->failmsg ("You cannot read it anymore.");
1292 1295
1293 return; 1296 return;
1294 } 1297 }
1295 1298
1296 if (!QUERY_FLAG (op, FLAG_WIZPASS)) 1299 if (!QUERY_FLAG (op, FLAG_WIZPASS))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines