create_entity{fast_replace=true} can fail to drop belts

This subforum contains all the issues which we already resolved.
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 524
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

create_entity{fast_replace=true} can fail to drop belts

Post by Mylon »

Case 1:

Image

If I do surface.create_entity{name="fast-transport-belt", position=game.player.selected.position, fast_replace=true} then a yellow belt item-on-ground is created. This behavior is expected.

Case 2:

Image

Same command, no yellow belt is created. Expected behavior: Yellow belt is created nearby.

This only seems to be a problem with belts. Other entities spill properly, even around and onto belts.

Rseding91
Factorio Staff
Factorio Staff
Posts: 14138
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: create_entity{fast_replace=true} can fail to drop belts

Post by Rseding91 »

Fixed for 0.15. You can work around the problem by adding the player=... option when using fast_replace to put the items into the player instead of dropping them.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”