Changeset 512

Show
Ignore:
Timestamp:
08/12/07 09:41:09 (1 year ago)
Author:
takkaria
Message:

#329:

  • Fix lack of space: "It might have hidden powers.It was dropped by xxx on dungeon level xxx".
  • Fix odd things getting colourised in object use descriptions (e.g. the % in "30% or 30HP").
  • "the arrow disappears" -> "the arrow breaks" when breakage occurs
  • Drain points from sustained stats with the gain-one-lose-one stat potions.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/obj-info.c

    r471 r512  
    568568        do 
    569569        { 
    570                 if (isdigit((unsigned char) *desc) || isdigit((unsigned char) *(desc + 1))
     570                if (isdigit((unsigned char) *desc)
    571571                        text_out_c(TERM_L_GREEN, "%c", *desc); 
    572572                else 
     
    810810 
    811811        /* Dump origin info */ 
     812        new_paragraph = TRUE; 
    812813        describe_origin(o_ptr); 
    813814 
  • trunk/src/object2.c

    r466 r512  
    31323132        { 
    31333133                /* Message */ 
    3134                 msg_format("The %s disappear%s.", 
    3135                            o_name, (plural ? "" : "s")); 
    3136  
    3137                 /* Debug */ 
    3138                 if (p_ptr->wizard) msg_print("Breakage (breakage)."); 
     3134                msg_format("The %s break%s.", o_name, PLURAL(plural)); 
    31393135 
    31403136                /* Failure */ 
     
    32353231        { 
    32363232                /* Message */ 
    3237                 msg_format("The %s disappear%s.", 
    3238                            o_name, (plural ? "" : "s")); 
     3233                msg_format("The %s disappear%s.", o_name, PLURAL(plural)); 
    32393234 
    32403235                /* Debug */ 
     
    32823277        { 
    32833278                /* Message */ 
    3284                 msg_format("The %s disappear%s.", 
    3285                            o_name, (plural ? "" : "s")); 
     3279                msg_format("The %s disappear%s.", o_name, PLURAL(plural)); 
    32863280 
    32873281                /* Debug */ 
  • trunk/src/spells2.c

    r507 r512  
    174174 
    175175        /* Sustain */ 
    176         if (sust
     176        if (sust && !perma
    177177        { 
    178178                /* Message */