Search found 127 matches

by sdgmlj
Sun Jan 02, 2022 3:35 am
Forum: Modding help
Topic: Is there any way to make the maximum connection distance of poles exceed 64
Replies: 4
Views: 1135

Re: Is there any way to make the maximum connection distance of poles exceed 64

DaveMcW wrote:
Sat Jan 01, 2022 5:40 pm
Not in data.lua

In control.lua you can connect 2 poles close together, then teleport one as far as you want.
I couldn't understand.

I only know that "maximum_wire_distance = 64" is the maximum number. I want a larger number. Can you tell me the specific operation? Thank you
by sdgmlj
Sat Jan 01, 2022 4:57 pm
Forum: Modding help
Topic: Is there any way to make the maximum connection distance of poles exceed 64
Replies: 4
Views: 1135

Is there any way to make the maximum connection distance of poles exceed 64

It seems that the maximum number is limited to 64. Is there any way to exceed this number?
I just don't like inserting a lot of poles
by sdgmlj
Sun Dec 26, 2021 4:00 am
Forum: Modding help
Topic: Ask for a grammar
Replies: 8
Views: 2591

Re: Ask for a grammar

Can it be implemented in "settings. Lua"? It should be in control.lua Here is an example of a mod using notched sliders: https://github.com/raiguard/Factorio-QuickItemSearch/blob/master/src/scripts/gui/logistic-request.lua#L95 That file is required in control.lua: https://github.com/raigu...
by sdgmlj
Sat Dec 25, 2021 9:19 am
Forum: Modding help
Topic: Ask for a grammar
Replies: 8
Views: 2591

Re: Ask for a grammar

Thank you. I think you understand it wrong. I mean: I want to implement this drag bar in my own mod. How to add it grammatically Maybe I didn't express it clearly enough. Thank you Oh, I should have seen what forum it was in. I am not sure what you mean by 'grammatically'. Here is an example of a s...
by sdgmlj
Sat Dec 25, 2021 9:09 am
Forum: Modding help
Topic: Ask for a grammar
Replies: 8
Views: 2591

Re: Ask for a grammar

Can it be implemented in "settings. Lua"? I the following paragraph is invalid: { type = "int-setting", name = "setting6", setting_type = "startup", default_value = 7, minimum_value = 3, maximum_value = 32, discrete_slider = true, discrete_values = true, value...
by sdgmlj
Sat Dec 25, 2021 6:50 am
Forum: Modding help
Topic: Ask for a grammar
Replies: 8
Views: 2591

Re: Ask for a grammar

Thank you. I think you understand it wrong. I mean: I want to implement this drag bar in my own mod. How to add it grammatically

Maybe I didn't express it clearly enough. Thank you
by sdgmlj
Fri Dec 24, 2021 10:30 am
Forum: Modding help
Topic: Ask for a grammar
Replies: 8
Views: 2591

Ask for a grammar

I want to add a drag bar in the setting interface. How do I do it? Thank you
屏幕截图 2021-12-24 182749.jpg
屏幕截图 2021-12-24 182749.jpg (26.41 KiB) Viewed 2591 times

Go to advanced search