Code: Select all
data.raw["car"]["car"].collision_mask = {}
data.raw["item-request-proxy"]["item-request-proxy"].collision_mask = {}
I also made a mod to request fuel when the car runs out.
Code: Select all
car.surface.create_entity{ name = "item-request-proxy", position = car.position, target = car, force = car.force, modules = {["nuclear-fuel"] = 1} }