Robot World


Ability to customize the performance of your robots, such as speed, range, battery size, and more. Setting to use robots early. Setting to enable quick start mode. New robotics technologies. And more!

Overhaul
5 years ago
0.16 - 0.17
86

i Make the setings also affect Bob's robots

5 years ago

Now it seems that the mod settings (like Robot Carry multiplier, Robot speed multiplier) only affects the default robots and not the robots from bobs mods (and Angel's Industries). Would be nice if they did.
Also would be nice if the mod settings like "Enable early robots" has some kind of tooltips saying what they do.

Anyway, great mod.

5 years ago
(updated 5 years ago)

I'm not a coder but I've tested the following fix and it seems to work (i.e. I logged in and the bob's robots had increased speed):

In the file data-final-fixes.lua, repeat the section starting on line 3 down to line 16 but replacing the items with the bob's bots. For example:

Line 3
data.raw["logistic-robot"]["logistic-robot"].max_energy = 2000 * settings.startup["robot-battery-size-multiplier"].value .. "kJ"

is repeated as follows:

data.raw["logistic-robot"]["bob-logistic-robot-2"].max_energy = 2000 * settings.startup["robot-battery-size-multiplier"].value .. "kJ"

You'd need to duplicate this for each level of Bob's logistic bots and construction bots (i.e. 2, 3, 4, and 5) and the three levels of Bob's roboports (i.e. 2,3, and 4). Bob's does not have a level 5 roboport.

The names follow this format:
["bob-logistic-robot-2"]
["bob-construction-robot-2"]
["bob-roboport-2"]

5 years ago

I did that, for all 5 logistic robots, but only first 2 are affected, the rest have same speed and cargo as tier 2.
Maybe they are named differently in recipes?
I wonder why mod creator can't fix this, as every second player is using bobs mods.

5 years ago

Managed to solve it:

data.raw["logistic-robot"]["bob-logistic-robot-2"].max_energy = 2000 * settings.startup["robot-battery-size-multiplier"].value .. "kJ"
data.raw["logistic-robot"]["bob-logistic-robot-2"].energy_per_move = 5 * settings.startup["robot-energy-usage-multiplier"].value .. "kJ"
data.raw["logistic-robot"]["bob-logistic-robot-2"].energy_per_tick = "0kW"
data.raw["logistic-robot"]["bob-logistic-robot-2"].max_payload_size = data.raw["logistic-robot"]["bob-logistic-robot-2"].max_payload_size * settings.startup["robot-carry-size-multiplier"].value
data.raw["logistic-robot"]["bob-logistic-robot-2"].speed = data.raw["logistic-robot"]["bob-logistic-robot-2"].speed * settings.startup["robot-speed-multiplier"].value
data.raw["logistic-robot"]["bob-logistic-robot-2"].max_health = data.raw["logistic-robot"]["bob-logistic-robot-2"].max_health * settings.startup["robot-health-multiplier"].value

5 years ago

For anyone having this problem and is too lazy to do this themselves.
Open data-final-fixes.lua either in your data map in steam folder or in appdata\roaming\factorio\mods\robotworld
and paste the following over at line 3 till line 22. These include robot 1 till 3 logistics and construction and same for roboport.

data.raw["logistic-robot"]["logistic-robot"].max_energy = 2000 * settings.startup["robot-battery-size-multiplier"].value .. "kJ"
data.raw["logistic-robot"]["logistic-robot"].energy_per_move = 5 * settings.startup["robot-energy-usage-multiplier"].value .. "kJ"
data.raw["logistic-robot"]["logistic-robot"].energy_per_tick = "0kW"
data.raw["logistic-robot"]["logistic-robot"].max_payload_size = data.raw["logistic-robot"]["logistic-robot"].max_payload_size * settings.startup["robot-carry-size-multiplier"].value
data.raw["logistic-robot"]["logistic-robot"].speed = data.raw["logistic-robot"]["logistic-robot"].speed * settings.startup["robot-speed-multiplier"].value
data.raw["logistic-robot"]["logistic-robot"].max_health = data.raw["logistic-robot"]["logistic-robot"].max_health * settings.startup["robot-health-multiplier"].value

data.raw["logistic-robot"]["bob-logistic-robot-2"].max_energy = 2000 * settings.startup["robot-battery-size-multiplier"].value .. "kJ"
data.raw["logistic-robot"]["bob-logistic-robot-2"].energy_per_move = 5 * settings.startup["robot-energy-usage-multiplier"].value .. "kJ"
data.raw["logistic-robot"]["bob-logistic-robot-2"].energy_per_tick = "0kW"
data.raw["logistic-robot"]["bob-logistic-robot-2"].max_payload_size = data.raw["logistic-robot"]["logistic-robot"].max_payload_size * settings.startup["robot-carry-size-multiplier"].value
data.raw["logistic-robot"]["bob-logistic-robot-2"].speed = data.raw["logistic-robot"]["logistic-robot"].speed * settings.startup["robot-speed-multiplier"].value
data.raw["logistic-robot"]["bob-logistic-robot-2"].max_health = data.raw["logistic-robot"]["logistic-robot"].max_health * settings.startup["robot-health-multiplier"].value

data.raw["logistic-robot"]["bob-logistic-robot-3"].max_energy = 2000 * settings.startup["robot-battery-size-multiplier"].value .. "kJ"
data.raw["logistic-robot"]["bob-logistic-robot-3"].energy_per_move = 5 * settings.startup["robot-energy-usage-multiplier"].value .. "kJ"
data.raw["logistic-robot"]["bob-logistic-robot-3"].energy_per_tick = "0kW"
data.raw["logistic-robot"]["bob-logistic-robot-3"].max_payload_size = data.raw["logistic-robot"]["logistic-robot"].max_payload_size * settings.startup["robot-carry-size-multiplier"].value
data.raw["logistic-robot"]["bob-logistic-robot-3"].speed = data.raw["logistic-robot"]["logistic-robot"].speed * settings.startup["robot-speed-multiplier"].value
data.raw["logistic-robot"]["bob-logistic-robot-3"].max_health = data.raw["logistic-robot"]["logistic-robot"].max_health * settings.startup["robot-health-multiplier"].value

data.raw["construction-robot"]["construction-robot"].max_energy = 2000 * settings.startup["robot-battery-size-multiplier"].value .. "kJ"
data.raw["construction-robot"]["construction-robot"].energy_per_move = 5 * settings.startup["robot-energy-usage-multiplier"].value .. "kJ"
data.raw["construction-robot"]["construction-robot"].energy_per_tick = "0kW"
data.raw["construction-robot"]["construction-robot"].max_payload_size = data.raw["construction-robot"]["construction-robot"].max_payload_size * settings.startup["robot-carry-size-multiplier"].value
data.raw["construction-robot"]["construction-robot"].speed = data.raw["construction-robot"]["construction-robot"].speed* settings.startup["robot-speed-multiplier"].value
data.raw["construction-robot"]["construction-robot"].max_health = data.raw["construction-robot"]["construction-robot"].max_health * settings.startup["robot-health-multiplier"].value

data.raw["construction-robot"]["bob-construction-robot-2"].max_energy = 2000 * settings.startup["robot-battery-size-multiplier"].value .. "kJ"
data.raw["construction-robot"]["bob-construction-robot-2"].energy_per_move = 5 * settings.startup["robot-energy-usage-multiplier"].value .. "kJ"
data.raw["construction-robot"]["bob-construction-robot-2"].energy_per_tick = "0kW"
data.raw["construction-robot"]["bob-construction-robot-2"].max_payload_size = data.raw["construction-robot"]["construction-robot"].max_payload_size * settings.startup["robot-carry-size-multiplier"].value
data.raw["construction-robot"]["bob-construction-robot-2"].speed = data.raw["construction-robot"]["construction-robot"].speed* settings.startup["robot-speed-multiplier"].value
data.raw["construction-robot"]["bob-construction-robot-2"].max_health = data.raw["construction-robot"]["construction-robot"].max_health * settings.startup["robot-health-multiplier"].value

data.raw["construction-robot"]["bob-construction-robot-3"].max_energy = 2000 * settings.startup["robot-battery-size-multiplier"].value .. "kJ"
data.raw["construction-robot"]["bob-construction-robot-3"].energy_per_move = 5 * settings.startup["robot-energy-usage-multiplier"].value .. "kJ"
data.raw["construction-robot"]["bob-construction-robot-3"].energy_per_tick = "0kW"
data.raw["construction-robot"]["bob-construction-robot-3"].max_payload_size = data.raw["construction-robot"]["construction-robot"].max_payload_size * settings.startup["robot-carry-size-multiplier"].value
data.raw["construction-robot"]["bob-construction-robot-3"].speed = data.raw["construction-robot"]["construction-robot"].speed* settings.startup["robot-speed-multiplier"].value
data.raw["construction-robot"]["bob-construction-robot-3"].max_health = data.raw["construction-robot"]["construction-robot"].max_health * settings.startup["robot-health-multiplier"].value

data.raw["roboport"]["roboport"].energy_source.buffer_capacity = "1MJ"
data.raw["roboport"]["roboport"].energy_source.input_flow_limit = 5 * settings.startup["roboport-charging-rate-multiplier"].value .. "MW"
data.raw["roboport"]["roboport"].charging_energy = 1 * settings.startup["roboport-charging-rate-multiplier"].value .. "MW"
data.raw["roboport"]["roboport"].energy_usage = "0kW"
data.raw["roboport"]["roboport"].logistics_radius = data.raw["roboport"]["roboport"].logistics_radius * settings.startup["roboport-logistics-radius-multiplier"].value
data.raw["roboport"]["roboport"].construction_radius = data.raw["roboport"]["roboport"].construction_radius * settings.startup["roboport-construction-radius-multiplier"].value

data.raw["roboport"]["bob-roboport-2"].energy_source.buffer_capacity = "1MJ"
data.raw["roboport"]["bob-roboport-2"].energy_source.input_flow_limit = 5 * settings.startup["roboport-charging-rate-multiplier"].value .. "MW"
data.raw["roboport"]["bob-roboport-2"].charging_energy = 1 * settings.startup["roboport-charging-rate-multiplier"].value .. "MW"
data.raw["roboport"]["bob-roboport-2"].energy_usage = "0kW"
data.raw["roboport"]["bob-roboport-2"].logistics_radius = data.raw["roboport"]["roboport"].logistics_radius * settings.startup["roboport-logistics-radius-multiplier"].value
data.raw["roboport"]["bob-roboport-2"].construction_radius = data.raw["roboport"]["roboport"].construction_radius * settings.startup["roboport-construction-radius-multiplier"].value

data.raw["roboport"]["bob-roboport-3"].energy_source.buffer_capacity = "1MJ"
data.raw["roboport"]["bob-roboport-3"].energy_source.input_flow_limit = 5 * settings.startup["roboport-charging-rate-multiplier"].value .. "MW"
data.raw["roboport"]["bob-roboport-3"].charging_energy = 1 * settings.startup["roboport-charging-rate-multiplier"].value .. "MW"
data.raw["roboport"]["bob-roboport-3"].energy_usage = "0kW"
data.raw["roboport"]["bob-roboport-3"].logistics_radius = data.raw["roboport"]["roboport"].logistics_radius * settings.startup["roboport-logistics-radius-multiplier"].value
data.raw["roboport"]["bob-roboport-3"].construction_radius = data.raw["roboport"]["roboport"].construction_radius * settings.startup["roboport-construction-radius-multiplier"].value

New response