Page 1 of 1

recipe with item durability?

Posted: Fri Oct 13, 2017 3:02 pm
by Pzyckoh
I was wondering if it was possible to use up an amount of charge/health/durability on a craft cycle.
similar to how ammo is used on shooting.
for example:
{
{"bobbin-thread", 0.1},
{"cloth",5}
}

would make one item. but the bobbin would remain in the machine just with 10% less durability and is destroyed upon reaching 0%

Re: recipe with item durability?

Posted: Fri Oct 13, 2017 10:28 pm
by eradicator
I don't think you can use durability like that. You could however use probability instead which would statistically - over the long run - have the same effect.

{type = "item", name = "bobbin-thread", probability = 0.1}