Inventory Repair


Repairs damaged items in your inventory automatically over time with repair packs.

Utilities
6 months ago
0.17 - 2.0
100K

b Check place_result on instant_repair

a day ago

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!

New response