I think that does exactly what it says on the tin. To emulate pasting a ghost upgrade over an existing entity you want to do:
local entity = game.player.selected
entity.order_upgrade{
target = "steel-chest",
force = "entity.force",
player = game.player
}
Now, if you are wanting to brute ...
Search found 49 matches
- Mon Aug 18, 2025 6:45 pm
- Forum: Not a bug
- Topic: [2.0.64] Ghost fast replacing will directly replace entities
- Replies: 6
- Views: 554
- Mon Aug 18, 2025 5:51 pm
- Forum: Implemented mod requests
- Topic: Loaders ignore automated insertion limit
- Replies: 6
- Views: 897
Loaders ignore automated insertion limit
Loaders ignore the automated insertion limit and will fill up an assembler to the the hard limit (stack size + 4 * hand-stack) (iirc).
It was eluded to in https://forums.factorio.com/viewtopic.php?p=668370#p668370 that this might be something deserving of a "fix", thus I'm posting this as a bug. If ...
It was eluded to in https://forums.factorio.com/viewtopic.php?p=668370#p668370 that this might be something deserving of a "fix", thus I'm posting this as a bug. If ...
- Tue Jul 29, 2025 2:22 am
- Forum: Resolved Problems and Bugs
- Topic: [boskid][2.0.60] Loaders stop taking asteroid chunks from collector
- Replies: 1
- Views: 764
[boskid][2.0.60] Loaders stop taking asteroid chunks from collector
A loader attached to an asteroid collector will (if full) initially output to both lanes of a belt. It will stop outputting asteroid chunks if one lane gets backed up.
Conditions:
- One lane is backed up / blocked. See attached screen shot.
- Initial flow on free lane is interrupted (empty ...
Conditions:
- One lane is backed up / blocked. See attached screen shot.
- Initial flow on free lane is interrupted (empty ...
- Fri Jul 11, 2025 8:52 pm
- Forum: Resolved Problems and Bugs
- Topic: [2.0.24] Loaders configured for stacking don't properly fill the belt
- Replies: 4
- Views: 1555
- Sun Mar 30, 2025 5:49 pm
- Forum: Implemented mod requests
- Topic: LogisticSection::set_slot is dangerous (easily crashes mods)
- Replies: 2
- Views: 598
LogisticSection::set_slot is dangerous (easily crashes mods)
In 2.x a logistic section can only contain a given filter once. For historical context, 1.x allowed duplicate signals to be created in a control behavior and it summed the values. This now happens between duplicate signals across unique logistic sections on the same combinator.
The built in chooser ...
The built in chooser ...
- Wed Mar 26, 2025 5:56 pm
- Forum: Resolved Problems and Bugs
- Topic: [boskid][2.0.42] Pretty printer for LuaPlayer has the wrong value for index
- Replies: 1
- Views: 1610
[boskid][2.0.42] Pretty printer for LuaPlayer has the wrong value for index
I believe this is only a minor cosmetic issue, but figured I'd report it anyway.
When doing game.print() on a LuaPlayer object it pretty prints some of the members (index, name, controller, position, surface, and connected). In that display it shows the index as '0' when the index is actually 1. If ...
When doing game.print() on a LuaPlayer object it pretty prints some of the members (index, name, controller, position, surface, and connected). In that display it shows the index as '0' when the index is actually 1. If ...
- Sun Feb 23, 2025 3:03 am
- Forum: Not a bug
- Topic: [2.0.35] 1.1 BP converted during game load is converted differently than pasting via BP string
- Replies: 3
- Views: 485
Re: [2.0.35] 1.1 BP converted during game load is converted differently than pasting via BP string
Look like a similar thing to viewtopic.php?p=662942#p662942 where LuaRecord::contents was being created as a compacted list without keys which resulted in LuaRecord::get_active_index() to point to non-existing keys in LuaRecord::contents.
- Sun Feb 23, 2025 2:55 am
- Forum: Not a bug
- Topic: [2.0.35] 1.1 BP converted during game load is converted differently than pasting via BP string
- Replies: 3
- Views: 485
Re: [2.0.35] 1.1 BP converted during game load is converted differently than pasting via BP string
I'm not sure I understand your response here, as it really doesn't apply to what I demonstrated.
Are you saying there are two different formats with in 2.0.35, or that 1.1.x and 2.x are two different formats? If it is the latter, yeah that's clear. What isn't clear is why 2.x generates two ...
Are you saying there are two different formats with in 2.0.35, or that 1.1.x and 2.x are two different formats? If it is the latter, yeah that's clear. What isn't clear is why 2.x generates two ...
- Sun Feb 23, 2025 12:51 am
- Forum: Not a bug
- Topic: [2.0.35] 1.1 BP converted during game load is converted differently than pasting via BP string
- Replies: 3
- Views: 485
[2.0.35] 1.1 BP converted during game load is converted differently than pasting via BP string
A 1.1 blueprint in a players storage, game inventory, or game library are all converted upon load into 2.x. Filters in constant combinators have their location (index) changed. All filters in the combinator are compacted into a 1 indexed, sequential list with no gaps. If you export that BP on 1.1 ...
- Sun Feb 23, 2025 12:15 am
- Forum: Resolved Problems and Bugs
- Topic: [2.0.35] Crash after mod error on updating BP in library (SingleBlueprintRecord check fails)
- Replies: 1
- Views: 1470
[2.0.35] Crash after mod error on updating BP in library (SingleBlueprintRecord check fails)
This is a crash of the factorio binary after an error in a mod crashes the mod / save game.
It specifically happens when attempting to update a blueprint in a players library, and not when attempting to update a blueprint in the game library. While attempting to update the BP in the game library ...
It specifically happens when attempting to update a blueprint in a players library, and not when attempting to update a blueprint in the game library. While attempting to update the BP in the game library ...
- Sat Feb 15, 2025 5:39 pm
- Forum: Implemented mod requests
- Topic: LuaRecord::get_active_index not usable
- Replies: 1
- Views: 368
LuaRecord::get_active_index not usable
LuaRecord::get_active_index() was added in 2.0.29, presumably to allow working with blueprint book stored in players or game libraries. This LuaRecord is also now ( 2.0.34 ) the way we interact with updated blueprints in on_player_setup_blueprint (https://forums.factorio.com/88100).
If picking up a ...
If picking up a ...
- Thu Feb 13, 2025 10:34 pm
- Forum: Ideas and Suggestions
- Topic: Add setting to hide unresearched items/recipes in factoriopdia
- Replies: 33
- Views: 6368
Re: Add setting to hide unresearched items/recipes in factoriopdia
+1
Wholeheartedly yes. This capability from Recipe Book is sorely missed.
Wholeheartedly yes. This capability from Recipe Book is sorely missed.
- Sat Jan 11, 2025 3:21 pm
- Forum: Ideas and Suggestions
- Topic: Add spoilage priority to loaders
- Replies: 5
- Views: 990
Re: Add spoilage priority to loaders
@Koub
Which conversation did you merge this into. I think viewtopic.php?f=6&t=123696 used to be one, but it appears to have been removed.
- Thu Jan 02, 2025 4:54 am
- Forum: Won't implement
- Topic: Feature flags improvement
- Replies: 24
- Views: 3723
Re: Feature flags improvement
It doesn't need to be official, but more just officially recommended as the one and only "enable feature flags" mod so there's only one mod that other mods need to check for and there aren't fifty different mods for the same thing
Why would the other mods be checking for a mod when they should ...
- Mon Dec 30, 2024 4:04 pm
- Forum: Won't implement
- Topic: Feature flags improvement
- Replies: 24
- Views: 3723
Re: Feature flags improvement
Exactly. If there are only non-SA mods enabled, SA binary will behave exactly the same as non SA binary to make it possible for MP games to be possible between SA and non-SA binaries. As such there is nothing to change here. If all features would be enabled by default in SA binary then cross ...
- Thu Dec 26, 2024 1:12 am
- Forum: Won't implement
- Topic: Feature flags improvement
- Replies: 24
- Views: 3723
Feature flags improvement
The idea that certain engine capabilities are locked behind feature flags is a great idea and I support their use. Where the current implementation falls down is an inability to interrogate their presence.
The current implementation of feature flags does not indicate weather or not a feature exists ...
The current implementation of feature flags does not indicate weather or not a feature exists ...
- Thu Dec 19, 2024 6:10 pm
- Forum: Resolved Requests
- Topic: [2.0.27] Surface.create_entitty / InventoryFilter API documentation
- Replies: 3
- Views: 964
Re: 2.0.27 surface.create_entitty / InventoryFilter API documentation
Bah, yeah, this should go there then. I figured there had to be. I was looking in the wrong parent.robot256 wrote: Thu Dec 19, 2024 5:55 pm Good catch. FYI there is a separate subforum for documentation issues: viewforum.php?f=233

- Thu Dec 19, 2024 4:24 pm
- Forum: Resolved Requests
- Topic: [2.0.27] Surface.create_entitty / InventoryFilter API documentation
- Replies: 3
- Views: 964
[2.0.27] Surface.create_entitty / InventoryFilter API documentation
The surface.create_entity documentation indicates that the 'filters | request_filters' keys take a parameter of type 'array[InventoryFilter](?)' when the type is inserter, loader, or logistics-container.
logistics-container:
request_filters :: array[InventoryFilter]?
loaders:
filters :: array ...
logistics-container:
request_filters :: array[InventoryFilter]?
loaders:
filters :: array ...
- Fri Dec 06, 2024 1:07 am
- Forum: Not a bug
- Topic: [2.0.24] Loaders show wrong max energy consumption
- Replies: 4
- Views: 540
Re: [2.0.24] Loaders show wrong max energy consumption
Thanks for the added explanation. Was just wrapping my head around that and doing the additional maths too. I understand now. Thanks for putting up with me. 

- Fri Dec 06, 2024 12:51 am
- Forum: Not a bug
- Topic: [2.0.24] Loaders show wrong max energy consumption
- Replies: 4
- Views: 540
Re: [2.0.24] Loaders show wrong max energy consumption
But all the different speed loaders should show the same value? Was that a compromise that came in with the fix for 118529? Prior to that the showed reasonable values.