Bravest New World

by TBC_x

RTS-like scenario for Factorio. Player character is removed, all work must be done by bots. Complete rewrite of Brave New World by candidae and Sladki.

Scenarios
4 months ago
2.0
600

b [ANSWERED] Crash with Krastorio 2 Spaced Out

a day ago

The error appears just as the camera zooms in onto the pod that's landed on the planet and then game kicks me to the main menu. Running 5.2.1 with Space Age, and Krastorio 2 Spaced Out. Would love if these two mods worked together.

=====================================

The scenario level caused a non-recoverable error.
Please report this error to the scenario author.

Error while running event level::on_nth_tick(41)
level/bnw-force.lua:656: attempt to concatenate field 'name' (a nil value)
stack traceback:
level/bnw-force.lua:656: in function 'place_bot_spawner'
level/bnw-force.lua:756: in function 'stage'
level/control.lua:326: in function <level/control.lua:324>
(...tail calls...)
level/statemachine.lua:93: in function 'transition'
level/statemachine.lua:85: in function '?'
level/bnw-force.lua:215: in function 'trigger'
level/control.lua:427: in function 'func'
level/wiretap.lua:121: in function 'handle_event'
level/wiretap.lua:17: in function <level/wiretap.lua:16>

a day ago

Thank you for the bug report.

Run this command to add compatibility with Krastorio 2's vehicle equipment. Run it before the first drop pod lands. You don't need to run it again.

/c local r, b, c, d, l;
 d = true;
 l = {};
 r = {["personal-roboport-mk2-equipment"] = "kr-vehicle-roboport-equipment"};
 b = remote.call("bravest-new-world-scenario-config", "get_bot_spawner_equipment");
 for _,a in ipairs(b) do if r[a.item] then a.item = r[a.item] end end;
 for _,a in ipairs(b) do if a.item == "kr-vehicle-roboport-equipment" then if d then d = false; l[#l + 1] = a end else l[#l + 1] = a; end end
 remote.call("bravest-new-world-scenario-config", "set_bot_spawner_equipment", l)
b = remote.call("bravest-new-world-scenario-config", "get_misc_settings");
b.bot_spawner_fuel.name = "kr-fuel";
b = remote.call("bravest-new-world-scenario-config", "set_misc_settings", b);
a day ago

That worked wonderfully! Thank you!

New response