add non-controversial part of <Someone>'s "unpaid prices in inventory."
This commit is contained in:
@@ -530,6 +530,7 @@ add Tom Friedetzky's BUC-patch with some alterations to the original
|
|||||||
add wizard #poly and #levelchange (originally levelgain; Dylan O'Donnell),
|
add wizard #poly and #levelchange (originally levelgain; Dylan O'Donnell),
|
||||||
add Jason Short's additional lenses use patch
|
add Jason Short's additional lenses use patch
|
||||||
add new Gnomish Mines levels from Kelly Bailey's patch
|
add new Gnomish Mines levels from Kelly Bailey's patch
|
||||||
|
add Ken Arnold's patch to show unpaid item prices in inventory
|
||||||
jousting by players wielding a lance while riding
|
jousting by players wielding a lance while riding
|
||||||
Knights start with lance rather than spear
|
Knights start with lance rather than spear
|
||||||
can start game without a pet via pettype:none (Dylan O'Donnell)
|
can start game without a pet via pettype:none (Dylan O'Donnell)
|
||||||
|
|||||||
+5
-2
@@ -747,8 +747,11 @@ ring:
|
|||||||
Strcat(bp, " (alternate weapon; not wielded)");
|
Strcat(bp, " (alternate weapon; not wielded)");
|
||||||
}
|
}
|
||||||
if(obj->owornmask & W_QUIVER) Strcat(bp, " (in quiver)");
|
if(obj->owornmask & W_QUIVER) Strcat(bp, " (in quiver)");
|
||||||
if(obj->unpaid)
|
if(obj->unpaid) {
|
||||||
Strcat(bp, " (unpaid)");
|
long quotedprice = unpaid_cost(obj);
|
||||||
|
Sprintf(eos(bp), " (unpaid, %ld %s)",
|
||||||
|
quotedprice, currency(quotedprice));
|
||||||
|
}
|
||||||
if (!strncmp(prefix, "a ", 2) &&
|
if (!strncmp(prefix, "a ", 2) &&
|
||||||
index(vowels, *(prefix+2) ? *(prefix+2) : *bp)
|
index(vowels, *(prefix+2) ? *(prefix+2) : *bp)
|
||||||
&& (*(prefix+2) || (strncmp(bp, "uranium", 7)
|
&& (*(prefix+2) || (strncmp(bp, "uranium", 7)
|
||||||
|
|||||||
Reference in New Issue
Block a user