Search found 1337 matches
- Wed Sep 11, 2024 1:48 am
- Forum: Documentation Improvement Requests
- Topic: mod settings prototypes in the json docs
- Replies: 0
- Views: 38
mod settings prototypes in the json docs
The Factorio Modding Toolkit can't type check mod settings like this: { type = "int-setting", name = "my-mod-setting", setting_type = "runtime-per-user", default_value = -1, minimum_value = -1, maximum_value = 7, } Seemingly because prototype-api.json doesn't have a typ...
- Wed Sep 04, 2024 4:51 pm
- Forum: Railway Setups
- Topic: 3 and 4 way intersections
- Replies: 302
- Views: 181607
Re: 3 and 4 way intersections
This is rectangular instead of square to get the shared diagonal signals to line up?Jouster500 wrote: ↑Mon Aug 26, 2024 1:45 am"Inverted Diamond", "Inside Roundabout" ("In-and-about?" Not 100% on the name yet)
- Sat Aug 17, 2024 11:55 am
- Forum: Won't implement
- Topic: moving/stalled state of a belt transport line
- Replies: 6
- Views: 1332
Re: moving/stalled state of a belt transport line
It sounds like the active flag will be partially helpful. I'll still need to check belt contents manually, but I won't have to check as many of them.
- Mon Jul 01, 2024 10:43 am
- Forum: Modding interface requests
- Topic: Some identifier linking mined entity events with mined item events
- Replies: 18
- Views: 2124
Re: Some identifier linking mined entity events with mined item events
How can I handle the situation where an entity gets moved, like with Picker Dollies or another mod or script?
- Tue Jun 25, 2024 4:58 pm
- Forum: Modding interface requests
- Topic: Some identifier linking mined entity events with mined item events
- Replies: 18
- Views: 2124
Re: Some identifier linking mined entity events with mined item events
Sorry, I meant on_player_mined_entity, which fires right before the entity is destroyed. So, using on_entity_destroyed, I could register every belt, and keep a table of their locations, then when one is destroyed I'd know where it was previously located? That's a good idea. A lot of data storage tha...
- Sat Jun 22, 2024 2:53 am
- Forum: Modding interface requests
- Topic: Some identifier linking mined entity events with mined item events
- Replies: 18
- Views: 2124
Re: Some identifier linking mined entity events with mined item events
This is for https://mods.factorio.com/mod/belt-overflow When a belt is destroyed, I need to recalculate whether any nearby belts might now be places items could back up. All of my calculations for that depend on the destroyed belt being gone, but it isn't when the destroyed event happens, and it is ...
- Fri May 17, 2024 5:00 pm
- Forum: Modding interface requests
- Topic: Some identifier linking mined entity events with mined item events
- Replies: 18
- Views: 2124
Re: Some identifier linking mined entity events with mined item events
To be clear, my "real goal" here is to be able to identify what entity was just destroyed as soon as possible after the entity gets destroyed.
- Tue May 07, 2024 3:19 pm
- Forum: Modding interface requests
- Topic: Some identifier linking mined entity events with mined item events
- Replies: 18
- Views: 2124
Re: Some identifier linking mined entity events with mined item events
Are you suggesting that when I mine two entities in the same tick I will always get the mined entity event for one, then the mined item event for the same one, then the mined entity event for the other, then the mined item event for the other? I'm not sure how to test this assumption; experiments wo...
- Thu May 02, 2024 6:17 pm
- Forum: Won't implement
- Topic: Requesting O(1) lookup of entities by type or name
- Replies: 10
- Views: 3796
Re: Requesting O(1) lookup of entities by type or name
Still wishing for this feature. It would simplify so many mods, and eliminate bugs in a lot of them.
- Thu May 02, 2024 6:12 pm
- Forum: Modding interface requests
- Topic: Some identifier linking mined entity events with mined item events
- Replies: 18
- Views: 2124
Re: Some identifier linking mined entity events with mined item events
Yes, but when that event fires the entity is still in the world, so none of my checks are valid yet. I need to run my checks after the entity is destroyed, and on_player_mined_item seems to be the only event that triggers at that point.
- Tue Feb 27, 2024 6:08 pm
- Forum: General discussion
- Topic: Quality level names poll
- Replies: 92
- Views: 13110
Re: Quality level names poll
I want five names with sequential starting letters, preferably not starting at A or ending at Z to allow for expansion later.
Common
D
Enhanced
Fine
Great
Normal
Optimized
Pristine
Q
Refined
etc
Common
D
Enhanced
Fine
Great
Normal
Optimized
Pristine
Q
Refined
etc
- Tue Feb 27, 2024 6:05 pm
- Forum: Ideas and Suggestions
- Topic: Train scheduling 2.0
- Replies: 6
- Views: 846
Re: Train scheduling 2.0
FYI you can overlap train stations already. I do this in some of my tiny rail grid factories. Put 3 stops on the same rail right next to each other. Name them "Iron Dropoff" "Stone Dropoff" etc. Then line the track with inserters to unload all the possible wagon locations. Balanc...
- Mon Feb 05, 2024 2:27 am
- Forum: Questions, reviews and ratings
- Topic: Train Mods Roundup
- Replies: 5
- Views: 14213
Re: Train Mods Roundup
I'm making a Fast Trains mod. will you are it here when I am done with it and it has been uploaded to the mod portal? Probably not. This list covers mostly mods that provide new UI and gameplay mechanics. There are far too many mods that just modify/add train entities to ever cover with a writeup l...
- Fri Jan 19, 2024 7:10 am
- Forum: Ideas and Suggestions
- Topic: Make inserter speeds simpler (for 2.0?)
- Replies: 3
- Views: 623
- Tue Jan 16, 2024 4:23 pm
- Forum: News
- Topic: Friday Facts #393 - Putting things on top of other things
- Replies: 231
- Views: 59546
Re: Friday Facts #393 - Putting things on top of other things
My kingdom for a way to detect when a belt is stopped!Unknow0059 wrote: ↑Tue Jan 16, 2024 2:39 pmThis is cool, but someone bothered to add colors to items in belts so their movement is easier to see, but no one stopped the belts from animating for stopped belts?
- Fri Dec 29, 2023 5:33 pm
- Forum: Gameplay Help
- Topic: Is a train junction parallel multiplexer possible?
- Replies: 7
- Views: 1214
Re: Is a train junction parallel multiplexer possible?
It's easy to avoid collisions, by having chain signals prior to the junction, and rail signals after the junction. That "locks" the junction itself, for one train at a time. The question is: is it possible to build a MUX junction, that multiple trains can use simultaneously (assuming they...
- Tue Dec 26, 2023 2:20 am
- Forum: Documentation Improvement Requests
- Topic: Add scenarios to factorio-data git repo
- Replies: 0
- Views: 384
Add scenarios to factorio-data git repo
I found myself asking when the pvp scenario was added and when certain parts of it were changed, then discovered that https://github.com/wube/factorio-data/tree/master/base only has migrations and prototypes. It would be nice if scenarios were tracked there as well. campaigns and tutorials would be ...
- Sat Dec 09, 2023 9:49 pm
- Forum: Resolved Requests
- Topic: Specify meaning of alternative numbered key "tuple"s for struct types
- Replies: 4
- Views: 942
Re: Specify meaning of alternative numbered key "tuple"s for struct types
I understand the order answer for the second example, but not for the first. Do you mean that a tuple that takes one string and one number will always be the first string and first number in the sorted fields?
- Sat Dec 09, 2023 9:48 pm
- Forum: Documentation Improvement Requests
- Topic: Indicate unique fields or combinations of fields
- Replies: 0
- Views: 342
Indicate unique fields or combinations of fields
I think that prototype type and prototype name form a unique key. If so, it would be helpful to have that called out in the API docs, ditto for other similar unique single fields or combinations of types/fields.
- Wed Nov 15, 2023 3:29 am
- Forum: Resolved Requests
- Topic: Specify meaning of alternative numbered key "tuple"s for struct types
- Replies: 4
- Views: 942
Specify meaning of alternative numbered key "tuple"s for struct types
ItemProductPrototype :: struct or {ItemID, uint16} https://lua-api.factorio.com/latest/types/ItemProductPrototype.html When using the `{ItemID, uint16}` version, what does the second value represent? In this case I think it's `amount`, but that's not specified anywhere in the docs. SpawnPoint :: st...