[done] Merge damaged items

This is the place to request new mods or give ideas about what could be done.
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

[done] Merge damaged items

Post by darkfrei »

From message:
viewtopic.php?f=16&t=51886&p=305872#p305672
BlakeMW wrote:
bobingabout wrote: Yup, I'm not sure if it was in 0.11 or 0.12 where they changed it so that mining 2 damaged entities would merge the two into a single healthier item.

AFAIK, Tools, Armor and Ammo have always used this behaviour.
Damaged things like turrets actually get put in their own "damaged items stack" so you have stacks of healthy items and stacks of damaged items. Within a damaged items stack the damage is averaged out (i.e. add a 25% hp item to a 75% hp item and you get two 50% hp items), you'll never get less items by combining stacks of damaged items. It is items with durability (rather than hitpoints) which have the merging behavior.
Last edited by darkfrei on Fri Sep 01, 2017 1:09 pm, edited 1 time in total.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5406
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Merge damaged items

Post by Klonan »

darkfrei wrote:From message:
viewtopic.php?f=16&t=51886&p=305872#p305672
BlakeMW wrote:
bobingabout wrote: Yup, I'm not sure if it was in 0.11 or 0.12 where they changed it so that mining 2 damaged entities would merge the two into a single healthier item.

AFAIK, Tools, Armor and Ammo have always used this behaviour.
Damaged things like turrets actually get put in their own "damaged items stack" so you have stacks of healthy items and stacks of damaged items. Within a damaged items stack the damage is averaged out (i.e. add a 25% hp item to a 75% hp item and you get two 50% hp items), you'll never get less items by combining stacks of damaged items. It is items with durability (rather than hitpoints) which have the merging behavior.
This is already done in 0.15:

Post Reply

Return to “Ideas and Requests For Mods”