+1
I want it for a long time
Search found 209 matches
- Fri Jan 18, 2019 1:15 pm
- Forum: Ideas and Suggestions
- Topic: Select stuff - see inputs/outputs (granular production reports)
- Replies: 6
- Views: 2227
- Tue Jan 15, 2019 6:58 pm
- Forum: Modding help
- Topic: [Solved]How to print frame size?
- Replies: 1
- Views: 604
Re: [Solved]How to print frame size?
Oh, I did not notice that it is available only for writing. However, I solved the problem by print maximal_width or minimal_width. But I hope 0.17 it will allow.
- Tue Jan 15, 2019 6:51 pm
- Forum: Modding help
- Topic: [Solved]How to print frame size?
- Replies: 1
- Views: 604
[Solved]How to print frame size?
I created a frame: local frame = player.gui.center.add { type = "frame", name = "frame",direction="horizontal"} frame.style.width = 800 frame.style.height = 500 and I want to read it width: Screenshot_1.jpg but I get the error that "LuaStyle doesn't contain key wid...
- Sat Dec 29, 2018 8:12 am
- Forum: News
- Topic: Friday Facts #275 - 0.17 Science changes
- Replies: 480
- Views: 153749
Re: Friday Facts #275 - 0.17 Science changes
This postcard lacks continuation.
- Sat Dec 22, 2018 6:40 pm
- Forum: Ideas and Suggestions
- Topic: Allow train signals to provide access to changing train content
- Replies: 4
- Views: 1327
Allow train signals to provide access to changing train content
TL;DR Allow train signals to provide access to change the contents of the train, and it is also possible to read its contents. What ? Since we already have the opportunity to turn on the red signal of the train signal according to the condition of the network, I also suggest adding a checkbox, whic...
- Fri Dec 21, 2018 4:30 pm
- Forum: News
- Topic: Friday Facts #274 - New fluid system 2
- Replies: 166
- Views: 71836
Re: Friday Facts #274 - New fluid system 2
Scorpiontron Confirmed!
- Fri Dec 21, 2018 4:13 pm
- Forum: News
- Topic: Friday Facts #274 - New fluid system 2
- Replies: 166
- Views: 71836
Re: Friday Facts #274 - New fluid system 2
Once an empty fluid system (connected network of fluidboxes - pipes, crafting machines etc.) touches either a fluid or a fluid filter, the system is locked onto that fluid. It is then not possible to connect it to another system with a different fluid. There are quite a few actions which can result...
- Wed Dec 19, 2018 12:47 pm
- Forum: General discussion
- Topic: Factorio annotated roadmap - 0.17+
- Replies: 68
- Views: 60993
Re: Factorio annotated roadmap - 0.17+
The filter-inserters will have a white and black list of items.
https://www.reddit.com/r/factorio/comme ... y/eaxzmlz/
https://www.reddit.com/r/factorio/comme ... y/eaxzmlz/
- Sat Dec 08, 2018 8:41 am
- Forum: News
- Topic: Friday Facts #272 - Mod GUI
- Replies: 78
- Views: 33227
Re: Friday Facts #272 - Mod GUI
Will there be a possibility in the GUI API writing underlined text? Or is underscore available only for links?
- Fri Nov 23, 2018 8:26 pm
- Forum: News
- Topic: Friday Facts #270 - HR Substation & Save/Load overview
- Replies: 99
- Views: 38956
Re: Friday Facts #270 - HR Substation & Save/Load overview
New substation looks too cartoony Maybe you should add more rust?
- Fri Nov 23, 2018 8:16 pm
- Forum: Modding help
- Topic: [Solved]Minimap interacts incorrectly with the slider
- Replies: 8
- Views: 1970
Re: [Solved]Minimap interacts incorrectly with the slider
Wow! Well done, guys!
- Thu Nov 22, 2018 10:08 pm
- Forum: Modding help
- Topic: [Solved]Minimap interacts incorrectly with the slider
- Replies: 8
- Views: 1970
Re: Minimap interacts incorrectly with the slider
frame.add{type = "minimap", name = "minimap", position = {0,0},surface_index=game.surfaces.nauvis.index,zoom=0.50} add() does not take zoom as an argument. You have to change the zoom level after creation. Otherwise the map is created with standard value of..something like 0.15?...
- Thu Nov 22, 2018 9:43 pm
- Forum: Modding help
- Topic: [Solved]Minimap interacts incorrectly with the slider
- Replies: 8
- Views: 1970
[Solved]Minimap interacts incorrectly with the slider
Hi, I can’t sync the slider value with the minimap zoom. The values of the slider and the zoom of the minimap are the same. But as soon as I start using the slider to zoom in, the zoom suddenly changes dramatically. What is the reason? slider.gif function slider_zoom() local frame = game.player.gui....
- Mon Nov 19, 2018 4:29 pm
- Forum: Modding help
- Topic: How to change the distance between gui elements
- Replies: 7
- Views: 2569
How to change the distance between gui elements
How to change the distance between gui elements. I want to shorten the distance to 0.
- Fri Nov 16, 2018 5:11 pm
- Forum: News
- Topic: Friday Facts #269 - Roadmap update & Transport belt perspective
- Replies: 192
- Views: 83815
Re: Friday Facts #269 - Roadmap update & Transport belt perspective
This belt is not enough engine
- Tue Nov 06, 2018 5:03 pm
- Forum: Modding help
- Topic: How can I refer to an GuiElement without listing all its child names?
- Replies: 4
- Views: 1192
Re: How can I refer to an GuiElement without listing all its child names?
I would like to ask again. Is there a simplified method for calling other elements if they are in another function?
Such as how to reduce it?
Such as how to reduce it?
Code: Select all
game.print(player.gui.center.frame_1.frame_2.frame_3.flow1.radiobutton.state)
- Tue Nov 06, 2018 3:44 pm
- Forum: Modding help
- Topic: How can I refer to an GuiElement without listing all its child names?
- Replies: 4
- Views: 1192
Re: How can I refer to an GuiElement without listing all its child names?
Thanks!DaveMcW wrote: ↑Tue Nov 06, 2018 3:35 pmCode: Select all
function on_click(event) event.element.enabled = false end
- Tue Nov 06, 2018 3:16 pm
- Forum: Modding help
- Topic: How can I refer to an GuiElement without listing all its child names?
- Replies: 4
- Views: 1192
How can I refer to an GuiElement without listing all its child names?
Instead of this: function on_click(event) local name = event.element.name for i, str in pairs(global.whatever) do if name == 'button'..i then player.gui.center.frame_1.frame_2.frame_3.flow['button'..i].enabled = false end end end Something like that: function on_click(event) local name = event.eleme...
- Sat Oct 06, 2018 8:58 pm
- Forum: Ideas and Suggestions
- Topic: Difference (or net production) graph in production graph / Combined view production minus consumption
- Replies: 21
- Views: 8060
Re: Difference (or net production) graph in production grapn
Just the right moment to add it. During GUI rewrite
- Fri Oct 05, 2018 9:36 pm
- Forum: Modding help
- Topic: Create a function that will work for 10 ticks when it is called.
- Replies: 5
- Views: 1635
Re: Create a function that will work for 10 ticks when it is called.
So, this way of adding a function to an event removes all other functions in this event. Is there a way around this? The only solution I found: function return_on_tick() script.on_event(defines.events.on_tick, function(event) function_one(event) function_two(event) function_three(event) end) end scr...