[ScryMUD] SVN Commit Info r727 - branches/version-2-1/mud/grrmud/server
scrymud at wanfear.com
scrymud at wanfear.com
Thu Dec 2 05:06:57 PST 2004
Author: eroper
Date: 2004-12-02 05:06:57 -0800 (Thu, 02 Dec 2004)
New Revision: 727
Modified:
branches/version-2-1/mud/grrmud/server/command2.cc
Log:
Cosmetic changes to "list".
Don't suppose anyone knows what the "hack" var that changes 1 to -1 for shop
inventory id (for non vnum viewing players)?
--Khaav
Modified: branches/version-2-1/mud/grrmud/server/command2.cc
===================================================================
--- branches/version-2-1/mud/grrmud/server/command2.cc 2004-12-02 12:58:09 UTC (rev 726)
+++ branches/version-2-1/mud/grrmud/server/command2.cc 2004-12-02 13:06:57 UTC (rev 727)
@@ -1970,13 +1970,13 @@
if (pc.shouldShowVnums()) {
if (obj_ptr->in_list || (item_counts[id_num] == 1)) {
- Sprintf(buf, " [%i][%i]%P06 %S%P50%i %S", id_num,
+ Sprintf(buf, " [%i][lvl: %i]%P06 %S%P50%i %S", id_num,
obj_ptr->getLevel(),
&(obj_ptr->short_desc), price,
&restrict_buf);
}
else {
- Sprintf(buf, " [%i][min lvl: %i]%P06 [qty: %i]%P12 %S%P50%i %S", id_num,
+ Sprintf(buf, " [%i][lvl: %i]%P06 [qty: %i]%P12 %S%P50%i %S", id_num,
obj_ptr->getLevel(),
item_counts[id_num], &(obj_ptr->short_desc), price,
&restrict_buf);
@@ -1989,14 +1989,14 @@
hack = -1;
}
if (obj_ptr->in_list || (item_counts[id_num] == 1)) {
- Sprintf(buf, " [%i][min lvl: %i]%P12 %S%P50%i %S", hack,
+ Sprintf(buf, " [%i][lvl: %i]%P12 %S%P50%i %S", hack,
obj_ptr->getLevel(),
&(obj_ptr->short_desc),
price,
&restrict_buf);
}
else {
- Sprintf(buf, " [%i][min lvl: %i] [qty: %i]%P12 %S%P50%i %S", hack,
+ Sprintf(buf, " [%i][lvl: %i] [qty: %i]%P12 %S%P50%i %S", hack,
obj_ptr->getLevel(),
item_counts[id_num],
&(obj_ptr->short_desc), price,
More information about the ScryMUD
mailing list