Page 1 of 1

[Resolved] Robot placing tile - Issue

Posted: Mon Jan 29, 2018 5:47 pm
by TheSAguy
Hi,

This is probably not a BUG! I've asked on the forums and no one seems to know why the behavior though... So I thought I'd post it here so a dev could take a look. - Low Priority :mrgreen:

for now.[/color]
I have a problem, when placing my Musk floors using robots. The hidden wires don't connect.
The issue does not happen with player placing the floors.

I've attached a save that's ready to go with this problem. <-- Can't post of Forums, so on Dropbox

Here is an image of player placing the floors:
Image
Player Code
Robot Placed tiles:
Image
Robot Code
As you can see, the wires are not connecting as they should.
Thanks

Re: Robot placing tile - Issue

Posted: Tue Jan 30, 2018 2:31 am
by Rseding91
Can you please upload the mod that's having the problem(s)?

Re: Robot placing tile - Issue

Posted: Tue Jan 30, 2018 3:50 am
by Rseding91
Thanks for the report. You've simply typod your robot version of the function where it doesn't add 0.5 to each tile position before making the electric poles. Considering the 2 functions are near identical in contents I think it would make more sense if you just made 1 function that took a surface, force, and the tiles and did the work in that so you don't have a copy-paste of the same code.

Since there's no game bug here I'm going to move this to mod-help.

Re: Robot placing tile - Issue

Posted: Tue Jan 30, 2018 5:07 pm
by TheSAguy
Thanks a lot Rseding!
Was driving me nuts.

Thanks Again!!