inserter pickup & drop position
Posted: Mon Sep 04, 2017 7:53 pm
I am trying to update the pickup and/or drop position of an inserter but the values do not change.
Statments f.e :
I get the same value before and after
Do I need additional code to really update ?
Statments f.e :
Code: Select all
if player.selected.type == "inserter" then'
player.print("before"..player.selected.pickup_position.y)
player.selected.pickup_position.y = player.selected.pickup_position.y -1
player.print("after"..player.selected.pickup_position.y)
end
Do I need additional code to really update ?