Reverse Factory

by Kryzeth

Reverse Factory machine will recycle (uncraft) nearly any item placed inside. Supports the recycling of most, if not all, modded items. Fully featured integration with Bobs Mods, Industrial Revolution, and Fantario (independently, not simultaneously)

Content
14 days ago
0.13 - 2.0
66.9K
Manufacturing

i [Implemented] check for non-stackable items in recipes

15 days ago

Failed to load mods: Error while running setup for recipe prototype "rf-armour-control-unit" (recipe): Recipe item-product "copper-wire" is not stackable but has a max count of 5.

15 days ago

Due to object being the short cut bar wire not cable?

14 days ago

Hm, which mod is adding this armour-control-unit? That does appear to be the case though, recipes should probably not be using "copper-wire", a non-stackable hotbar-only item, as part of their list of ingredients.

14 days ago
(updated 14 days ago)

That is Power armour replacer a mod i made tho the wire was converted to cable as it was me simply forgetting that -cables not wire. are the right intermediate item

14 days ago

point was just in you mod to maybe make it not crash should some others do the same. no need to chnage anything regarding my mod.

14 days ago
(updated 14 days ago)

As much as I feel like this is just covering up for other people's mistakes, I suppose it is possible that somebody adds a non-stackable item in the game, and for some reason, creates a recipe that contains multiples of that non-stackable item, which would then cause this error.

While the only other case where this would naturally occur is with armor and possibly vehicles/spidertrons (which I already have covered by other logic), I suppose I can add yet another ingredient check, just to ensure the game doesn't crash for people making silly decisions like this.

This change will likely increase loading times by some slight amount, but no clue how much; the lookups probably aren't too slow, and I didn't notice a difference even with Space Age enabled, so it's probably fine, but still thought I'd mention it.

Anyways, if a non-stackable item is detected, the returned item count will be clamped to 0 or 1, depending on efficiency and how many of the item were being used in the original recipe (it rounds up from 0.5 and clamps down to 1 when above that limit). Implemented in v9.0.37

14 days ago

THANKS

New response