Hiding recipes from the main character screen
Hiding recipes from the main character screen
Hi,
I created Whistle Stop Factories that feature machines that have a 100 crafting speed, but can be increased to 1000+ speed using beacons, which runs into a problem: Machines can't complete more than 1 recipe per tick, so regardless of the speed has a max output of 60 items/second.
So, to get around this, I've created 50x recipes which have 50x the output, 50x the input, and 50x the time, but these recipes really clutter up the character menus. I've put them all into their own categories, but it is still a bunch of categories that can't be handcrafted and are not really used by anything except one screen.
Would it be possible to hide item-groups or individual recipes from the character screen? I'm open to other workarounds, but I assume the 1 recipe per tick limitation would be a harder issue to tackle.
I created Whistle Stop Factories that feature machines that have a 100 crafting speed, but can be increased to 1000+ speed using beacons, which runs into a problem: Machines can't complete more than 1 recipe per tick, so regardless of the speed has a max output of 60 items/second.
So, to get around this, I've created 50x recipes which have 50x the output, 50x the input, and 50x the time, but these recipes really clutter up the character menus. I've put them all into their own categories, but it is still a bunch of categories that can't be handcrafted and are not really used by anything except one screen.
Would it be possible to hide item-groups or individual recipes from the character screen? I'm open to other workarounds, but I assume the 1 recipe per tick limitation would be a harder issue to tackle.
Re: Hiding recipes from the main character screen
Ok, I'll look into implementing this.
Can you give me a sample mod to test with?
Can you give me a sample mod to test with?
If you want to get ahold of me I'm almost always on Discord.
Re: Hiding recipes from the main character screen
Avacado wrote:Would it be possible to hide item-groups or individual recipes from the character screen? I'm open to other workarounds, but I assume the 1 recipe per tick limitation would be a harder issue to tackle.
I think it can be tested on advenced crafting (recipe category) or on engine unit (recipe).Rseding91 wrote:Ok, I'll look into implementing this.
Can you give me a sample mod to test with?
Player can't build it and it can be hidden.
- Ranakastrasz
- Smart Inserter
- Posts: 2174
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: Hiding recipes from the main character screen
Players can't build it but it is not hidden last time I checked.darkfrei wrote:I think it can be tested on advenced crafting (recipe category) or on engine unit (recipe).
Player can't build it and it can be hidden.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: Hiding recipes from the main character screen
Hi Rseding91,
Please see the attached mod for testing. I've added a property "hidden_from_char_screen = true" to
Please see the attached mod for testing. I've added a property "hidden_from_char_screen = true" to
- A recipe (electric-engine-unit)
- An item group (combat)
- A recipe category (advanced-crafting)
- Attachments
-
- CharHiddenTest_0.0.1.zip
- (1.11 KiB) Downloaded 141 times
Re: Hiding recipes from the main character screen
Dear Dev's
i also would request such a feature in Factorio for a mod quite similar to Avacado's one.
It uses the same techniques and offers support for DeadLockStacking Belts which brings currently around 12+12 additional recipes included in different crafting categories. None of these should be hand-craftable or visible in the Inventory / Crafting menu.
Thanks in Advance !
i also would request such a feature in Factorio for a mod quite similar to Avacado's one.
It uses the same techniques and offers support for DeadLockStacking Belts which brings currently around 12+12 additional recipes included in different crafting categories. None of these should be hand-craftable or visible in the Inventory / Crafting menu.
Thanks in Advance !
Re: Hiding recipes from the main character screen
Bump.
I had a sort of clunky work around where I disable the recipes and then enable them when a Whistle Stop factory GUI is open, but:
* I had to make this optional, because it breaks other mods like Crafting Combinator, which is a popular mod to use with Whistle Stop
* In 0.17 there is an issue where sometimes the recipes aren't being hidden (sometimes, inconsistently) that I've been unable to troubleshoot, I think may be caused by something other mods are doing, so may even be very difficult for me to fix.
I had a sort of clunky work around where I disable the recipes and then enable them when a Whistle Stop factory GUI is open, but:
* I had to make this optional, because it breaks other mods like Crafting Combinator, which is a popular mod to use with Whistle Stop
* In 0.17 there is an issue where sometimes the recipes aren't being hidden (sometimes, inconsistently) that I've been unable to troubleshoot, I think may be caused by something other mods are doing, so may even be very difficult for me to fix.
Re: Hiding recipes from the main character screen
Thanks for replying !
I tried something similar in Jun. 18. It did not work well and i decided that i'm not familiar enough with the Factorio Modding API to see all side effects like:
It is also quite ugly and one of the main reasons for *not* publishing this mod already.
I tried something similar in Jun. 18. It did not work well and i decided that i'm not familiar enough with the Factorio Modding API to see all side effects like:
- Performance (especially with many recipes)
- Multiplayer (imagine player A opens a assembling machine. While the GUI is shown, player B opens a chest and the recipe gets disabled)
- all problems you already mention
It is also quite ugly and one of the main reasons for *not* publishing this mod already.
Re: Hiding recipes from the main character screen
Okay, added hide_from_player_crafting for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Hiding recipes from the main character screen
yes, read the changelog
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.