Search found 21 matches

by scruffyvoltherder
Fri May 16, 2025 12:48 am
Forum: Modding help
Topic: cannot read recipe subgroup from data.raw
Replies: 3
Views: 225

Re: cannot read recipe subgroup from data.raw


local function process_recipe(name, recipe)

if not recipe.results or next(recipe.results) == nil then return end
if ends_with(name,"_rcomb") then return end


local new_recipe=table.deepcopy(recipe)
new_recipe.name=new_recipe.name.."_rcomb"
new_recipe.hide_from_signal_gui = false
new_recipe ...
by scruffyvoltherder
Thu May 15, 2025 11:31 pm
Forum: Modding help
Topic: Help with recipe signal
Replies: 0
Views: 50

Help with recipe signal

https://drive.google.com/file/d/18nKtbxmPWk0BAtApHkseCCmE_FGiyIyD/view?usp=sharing

I'm working on a recipe combinator for factorio 2.0. In this save file, The thrower bulk inserter signal cannot set the recipe on the assembler, but the primer inserter signal can.

When i remove space age form the ...
by scruffyvoltherder
Fri Apr 25, 2025 11:40 pm
Forum: Modding help
Topic: cannot read recipe subgroup from data.raw
Replies: 3
Views: 225

cannot read recipe subgroup from data.raw

I'm trying to copy recipes in data-final-fixes.lua, and I need to be able to read the subgroup. None of the recipes in data.raw["recipe"] have the subgroup member present. If I deepcopy a recipe, it still has the original subgroup. I can change the subgroup, but i need to be able to modify the ...
by scruffyvoltherder
Tue Mar 25, 2025 10:10 pm
Forum: Modding discussion
Topic: Circuit network change detection questions.
Replies: 0
Views: 120

Circuit network change detection questions.

I'm working on a PLC mod where I need to be able to tell when the signals change on an input point. I need to be able to detect the changes and read what the signal is even when the signal changes every tick.


03-25-2025, 14-47-32.png
The combinator labeled IO represents anything external ...
by scruffyvoltherder
Sun Mar 23, 2025 9:37 pm
Forum: Modding interface requests
Topic: Circuit network signal change events
Replies: 0
Views: 120

Circuit network signal change events

Basically a way to detect circuit network changes without having to resort to polling.

Register_On_Circuit_Network_Signal_Change(LuaCircuitNetwork) : registers a circuit network for notification whenever the signals on that network change

On_Circuit_Network_Signal_Change() : called when signals on ...
by scruffyvoltherder
Sun Mar 23, 2025 9:24 pm
Forum: Ideas and Suggestions
Topic: Recipe Combinator
Replies: 0
Views: 103

Recipe Combinator

TL;DR
A recipe combinator like the one from Crafting Combinator.


What?
Distinct recipes should have their own signals. The recipe combinator should show available recipes that produce a product, ingredients required for a recipe, products produced by a recipe, and which machines can produce a ...
by scruffyvoltherder
Sun Feb 09, 2025 12:53 am
Forum: Modding help
Topic: Scrolling table with static header?
Replies: 0
Views: 110

Scrolling table with static header?

I'm trying to create a table that can scroll, but the header on top stays in place. I tried putting my header labels in a flow, with a scroll-pane containing the table underneath it. I was going to try and set the header label widths to the elements inside the table, but I couldn't figure out a way ...
by scruffyvoltherder
Fri Jan 31, 2025 9:00 am
Forum: Show your Creations
Topic: Smart Autocrafter
Replies: 0
Views: 493

Smart Autocrafter

Mini Version https://factoriobin.com/post/1r31pj

Giant Version https://factoriobin.com/post/9ksm65

Mods used: AAI containers, Renai Transportation, Text PLates, Compakt Circuits, Project Cybersyn


by scruffyvoltherder
Thu Jan 30, 2025 7:26 am
Forum: Modding help
Topic: TabbedPane with tabs on bottom?
Replies: 1
Views: 166

TabbedPane with tabs on bottom?

Is there any way to make a tabbedpane with the tabs on the bottom end?
by scruffyvoltherder
Sun Jan 19, 2025 10:52 pm
Forum: Duplicates
Topic: Decider combinator erroneously passing signals
Replies: 1
Views: 232

Decider combinator erroneously passing signals

01-19-2025, 16-46-18.png
01-19-2025, 16-46-18.png (59.57 KiB) Viewed 232 times
The signal being output does not satisfy the condition
by scruffyvoltherder
Wed Jan 15, 2025 2:56 am
Forum: Ideas and Suggestions
Topic: Recipe Combinator
Replies: 0
Views: 257

Recipe Combinator

TL;DR
A recipe combinator like the one from Crafting Combinator

What?
01-14-2025, 20-42-34.png

Why?

Using "set recipe" and "read ingredients" on an assembler is a lot less powerful than the recipe combinator was. For items that could be produced by multiple recipes, you could filter them ...
by scruffyvoltherder
Thu Nov 28, 2024 3:45 am
Forum: Modding interface requests
Topic: Signal Change event
Replies: 0
Views: 196

Signal Change event

It would be really useful to have some sort of signal change notification so that a mod doesn't have to use up UPS by constantly polling. I'm thinking that the mod could call a function to register the LuaWireConnectors of entities that you care about. There would then be a global table of ...
by scruffyvoltherder
Tue Sep 17, 2024 6:16 am
Forum: Modding help
Topic: LuaItemStack.build_blueprint failing
Replies: 0
Views: 259

LuaItemStack.build_blueprint failing

This function should create a surface, and then paste the blueprint from bp_string. It creates the surface just fine, but there aren't any ghosts on the created surface. surface.create_entity works, build_blueprint doesn't. Any ideas what's happening?


function PLCbuilder.plc_surface(force ...
by scruffyvoltherder
Mon Jul 22, 2024 3:05 am
Forum: Ideas and Suggestions
Topic: Delay-line combinators
Replies: 4
Views: 974

Re: Delay-line combinators

If timed delay using a clock isn't a solution and the situation requires a brute force approach to propagation delay, what would the "delay line combinator" be doing if not using a clock to count down?

It would be just like a bunch of "Each+0=Each" combinators in a line. Basically just a brute ...
by scruffyvoltherder
Sat Jul 20, 2024 10:52 pm
Forum: Ideas and Suggestions
Topic: Delay-line combinators
Replies: 4
Views: 974

Re: Delay-line combinators

LackadaisyFrog wrote: Sat Jul 20, 2024 6:09 pm Compact signal delay has a solution here.
I've used timers like that before, but that doesn't work for certain applications. Sometimes you need a proper delay line.
by scruffyvoltherder
Sat Jul 20, 2024 5:21 am
Forum: Questions, reviews and ratings
Topic: mod causing hogh electrical network time usage.
Replies: 0
Views: 319

mod causing hogh electrical network time usage.

I've tracked a pretty high electrical network usage to the mod "integrated circuitry fixed". Whenever I get rid of all the compact combinators, the time usage goes way down. At first I thought that the mod was creating a bunch of separate electrical networks, but "show-energy-sources-networks ...
by scruffyvoltherder
Sat Jul 20, 2024 4:20 am
Forum: News
Topic: Friday Facts #419 - Display Panel & Inserter pickup fixes
Replies: 119
Views: 32574

Re: Friday Facts #419 - Display Panel & Inserter pickup fixes

That new display panel is pretty cool. Perhaps it should also have an *Each* condition where it can show several icons at once.
by scruffyvoltherder
Tue Jul 16, 2024 1:02 am
Forum: Ideas and Suggestions
Topic: Delay-line combinators
Replies: 4
Views: 974

Delay-line combinators

TL;DR
An adjustable delay line combinator, to allow for signal propogation timing to be adjusted.


What ?

Just an adjustable delay line. equivalent to a line of Each+0=Each arithmetic combinators.

Why ?

It would be a compact way of solving circuit problems caused by timing, without having ...
by scruffyvoltherder
Sun Jul 07, 2024 4:07 am
Forum: Implemented mod requests
Topic: Don't return zero-value signals in get_merged_signals
Replies: 2
Views: 630

Don't return zero-value signals in get_merged_signals

Instead of returning a signal with a count of 0, could get_merged_signals() instead leave the signal out of the list, and if there aren't any non-zero signals, just return nil?
zero_signal.png

My idea to detect changes is to have the iopoint linked to a lamp on a hidden surface, and the lamp ...
by scruffyvoltherder
Sun Jul 07, 2024 3:43 am
Forum: Modding interface requests
Topic: LuaCircuitNetwork.signals_changed
Replies: 8
Views: 2598

Re: LuaCircuitNetwork.signals_changed

+1

This would be very useful

Go to advanced search