Repairs damaged items in your inventory automatically over time with repair packs.
Providing the player with new tools or adjusting the game interface, without fundamentally changing gameplay.
On line 149 of control.lua (inside instant_repair), could you change
if item_stack.valid_for_read then
to
if item_stack.valid_for_read and item_stack.prototype.place_result then
similar to how it's done in find_damaged_item?
I want to use the health value for cosmetic purposes, and I assume you had that same consideration when writing find_damaged_item. Thanks!