How can i change settings for drones with my mod in others mods?
I tried to do everything myself but could not understand how to do it

Here's how I ended up:
Code: Select all
if data.raw.item ["cargo-robot"] and data.raw.item ["cargo-robot-2"] and data.raw.item ["angels-construction-robot"] then
bobmods.lib.entity.add_speed ("bob-construction-robot-2", 0.3)
bobmods.lib.entity.add_speed ("bob-construction-robot-3", 0.3)
bobmods.lib.entity.add_speed ("bob-construction-robot-4", 0.3)
bobmods.lib.entity.add_speed ("bob-construction-robot-5", 0.3)
angelsmod.industries.entities.add_speed ("cargo-robot", 0.3)
angelsmod.industries.entities.add_speed ("cargo-robot-2", 0.3)
angelsmod.industries.entities.add_speed ("angels-construction-robot", 0.3)
angelsmod.industries.entities.set_energy_per_tick ("cargo-robot", "0J")
angelsmod.industries.entities.set_energy_per_tick ("cargo-robot-2", "0J")
angelsmod.industries.entities.set_energy_per_tick ("angels-construction-robot", "0J")
angelsmod.industries.entities.set_energy_per_move ("cargo-robot", "0J")
angelsmod.industries.entities.set_energy_per_move ("cargo-robot-2", "0J")
angelsmod.industries.entities.set_energy_per_move ("angels-construction-robot", "0J")
end