[Dominik][0.17.66] Fluid mixing by lua create_entity{"pipe-to-ground"}

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 1821
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

[Dominik][0.17.66] Fluid mixing by lua create_entity{"pipe-to-ground"}

Post by boskid »

Ref: 74116

Issue:
  1. create_pipe_1.png
    create_pipe_1.png (43.18 KiB) Viewed 1534 times
    save
  2. Code: Select all

    /c game.surfaces["nauvis"].create_entity{name="pipe-to-ground", position={0.5,0.5}, direction=defines.direction.west, force="player"}
  3. Fluid mixing:
    create_pipe_2.png
    create_pipe_2.png (40.74 KiB) Viewed 1534 times

----
i will sneak here this complementary issue of traveling block, most likely "wont fix" that would be fixed with "deferred fix block" :D
74614-removing-undpipe-changes-block-point.gif
74614-removing-undpipe-changes-block-point.gif (54.94 KiB) Viewed 1515 times

Dominik
Former Staff
Former Staff
Posts: 658
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: [Dominik][0.17.66] Fluid mixing by lua create_entity{"pipe-to-ground"}

Post by Dominik »

Added a check.
Building by script is just handled totally separately from building by hand...

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 1821
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [Dominik][0.17.66] Fluid mixing by lua create_entity{"pipe-to-ground"}

Post by boskid »

Dominik wrote:
Tue Aug 20, 2019 2:21 pm
Added a check.
Building by script is just handled totally separately from building by hand...
I know. In one of my tests i had to simulate true player's build action (74624) and found this (thanks Bilka):

Code: Select all

player.cursor_stack.set_stack{name="pipe-to-ground", count=1}
player.build_from_cursor{position=p, direction=dir}

Post Reply

Return to “Resolved Problems and Bugs”