Keniras Random Recipes

by Kenira

Randomizes recipes (amount of ingredients and products, crafting time) as well as many other things that can be toggled individually like belt speed, crafting speeds, energy consumption, weapon damage...

23 days ago
0.15 - 2.0
1.20K

g Stack size randomization

a month ago
(updated a month ago)

This frequently breaks things, but even when disabled, things still break. Like the spidertron remote.

a month ago

Can't reproduce this error. Spidertron remotes work as expected in tests, even with stack sizes being randomized.

I'd like to fix this, but i need more info to do so because i can't fix what i can't replicate: What breaks, and how exactly? If there are any error messages, please post those. Also, what random seed are you using? Do you play with any other mods?

Alternatively, you can also send a savegame with the issues since that includes things like mods and settings.

25 days ago
(updated 25 days ago)

It keeps randomizing mod item stack sizes even when the option is disabled.

It also randomizes the mech armor stack sizes, despite the stack size option being disabled. This makes the game unplayable in many situations.

Can't reproduce this error. Spidertron remotes work as expected in tests, even with stack sizes being randomized.

I'd like to fix this, but i need more info to do so because i can't fix what i can't replicate: What breaks, and how exactly? If there are any error messages, please post those. Also, what random seed are you using? Do you play with any other mods?

Alternatively, you can also send a savegame with the issues since that includes things like mods and settings.

I can't send savegames because the game won't finish loading.

it seems that the issue is that the recipes themselves output more items, but that the recipes don't allow them to do that

25 days ago
(updated 25 days ago)

Good news is that the blacklist seems to work now.

25 days ago
(updated 25 days ago)

It would be really helpful if you could send a save. It sounds like you can get into the game at least using the blacklist, and i just can't do much without reproducing it. Alternatively, please at least tell me the random seed and the rest of your options, like screenshots of all the mod settings would be helpful. Also, which version of the game and the mod you're using. I really need hard info to work with here, as i keep asking for.

Just from looking at the code, i can't do much because to me it looks like stack sizes will not in fact get randomized if the setting is disabled, and i simply cannot reproduce the issues. And i simply can't help if you don't provide a save, or the info i'm asking for.

It would be really helpful if you could send a save. It sounds like you can get into the game at least using the blacklist, and i just can't do much without reproducing it. Alternatively, please at least tell me the random seed and the rest of your options, like screenshots of all the mod settings would be helpful. Also, which version of the game and the mod you're using. I really need hard info to work with here, as i keep asking for.

Just from looking at the code, i can't do much because to me it looks like stack sizes will not in fact get randomized if the setting is disabled, and i simply cannot reproduce the issues. And i simply can't help if you don't provide a save, or the info i'm asking for.

You see, when the game broke it meant i couldn't enter the game past the mod loading. There are no saves, because i couldn't start any games in this situation. The problem wasn't actually the stack sizes themselves, but the fact that the recipes would yield more than 1 item per recipe for the unstackable items. By setting the randomization settings to high range and low difficulty, this would for example make it so the mech armor recipe gave 3 mech armors at a time, which doesn't work since it's unstackable. The mech armor was appearantly not in the armor group, so the armor blacklist didn't cover it. Adding it to the same list as artillery ammo did however work. The same goes for the modded recipes.

As for the versions, i always kept both as up to date as i could.

With high range and low difficulty, this issue was consistent enough that the randomization seed would not really matter.

Adding mech armor and the other items directly to the same blacklist as artillery ammo fixed the issues. My suggestion here would be to have the mod automatically detect the unstackable tag, and not randomize the product count per recipe for those items, rather than just the item's stack size itself. I assume you ran into this issue with artillery ammo as well as the armors, hence the specific blacklist for those items.

New response