Steve's Random crafting

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Arkhangels

New Member
Jul 29, 2019
6
0
0
I've been checking the Steve's Inventory Manager and after watching some tutorials I ended up with a doubt.

Is it possible for a trigger to pick and run a random operation line?
For example, what if I wanted that every X seconds a random crafting operation is done. For that I imagine I'd have some inputs and several crafting recipes. But how could the selection of which crafting to choose be random?
I've though about using the variables but they exist for containers, so I couldn't figure out if somehow it could work for different random operations.

This doubt appeared after watching a video where Vswe (SIM creator) uses armor stands and his mod to pick a random set of armor when standing on a pressure plate.
I thought: what if on Crash Landing I could step on a pressure plate and receive a random set of food items to eat (therefore always changing my meals).

Anyone experienced in this mod has any idea if it is possible or not, and how could one do it?
 

rhjoerg

New Member
Jul 29, 2019
1
0
0
Untested: MFRs Programmable RedNet Controller has a "Randomizer". The value (or a combination of multiple such values) could be sent to a Redstone Receiver.
 

madnewmy

New Member
Jul 29, 2019
1,119
0
0
Well if you want food in CL, landstryder made somethig interesting in ep 23 or so. He walked over a player-SFM interactor that i forgot the name and it would give him, if he didn't had any, one of each feast

Might want to go see that
 
  • Like
Reactions: Arkhangels

Arkhangels

New Member
Jul 29, 2019
6
0
0
Well if you want food in CL, landstryder made somethig interesting in ep 23 or so. He walked over a player-SFM interactor that i forgot the name and it would give him, if he didn't had any, one of each feast
Might want to go see that

Thanks, I'll check that.
By the way, I've tried to contact Vswe to suggest the random output operation for the SFM but he never responded (expected).
Right now I'm considering crafting every possible larger meal and put each time a couple of them on the player's inventory, instead of trying to randomize it.
 

madnewmy

New Member
Jul 29, 2019
1,119
0
0
Well if you whitelist the output with what you want and how many, it will craft you maximum this number
Ex:
Output whitelisted to 5 bread, it will have 0-5 bread in the inventory