Please consider this minor change to object recharging

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Max Stats
    Swordsman
    • Jun 2010
    • 324

    Please consider this minor change to object recharging

    I wanted to see if this change to the recharge function would be considered. It simply adds a confirmation before recharging an item that still has charges in it. It seems to me that a player is unlikely to really want to recharge such an item, and it is more likely an error where an item with zero charges was intended. Here is the diff to spells2.c:

    Code:
    1585c1585
    < 
    ---
    > 	
    1587a1588,1592
    > 	/* Verify charging if the item is not empty */ 
    > 	if (obj_has_charges(o_ptr)) {
    > 		s = "This item still has charges. Are you sure you want to recharge it? ";
    > 		if (!get_check(s)) return (FALSE);
    > 	}
    If beauty is in the eye of the beholder, then why are beholders so freaking ugly?
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎