Changeset 549

Show
Ignore:
Timestamp:
09/12/07 14:05:32 (1 year ago)
Author:
takkaria
Message:

Add an indication of maximum capacity in the inventory display. (#358)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/cmd3.c

    r526 r549  
    3737 
    3838        /* Prompt for a command */ 
    39         prt("(Inventory) Command: ", 0, 0); 
     39        prt(format("(Inventory) Burden %d.%dlb (%d%% capacity). Command: ", 
     40            p_ptr->total_weight / 10, p_ptr->total_weight % 10, 
     41            (10 * p_ptr->total_weight) / (6 * adj_str_wgt[p_ptr->stat_ind[A_STR]])), 0, 0); 
    4042 
    4143        /* Hack -- Get a new command */