Mega Bot Start


Start with Power/Mech Armor, Roboports and Robots. Works with Space Age and Quality. Compatible with other mods including Bob's Warfare/Logistics/Personal Equipment and Krastorio 2.

Utilities
a month ago
0.15 - 2.0
35.5K
Armor

g Gamecrash on PlayerCreate with ne newest Experimental Factorio Version

7 years ago

title

7 years ago
(updated 7 years ago)

I get this error message:

The mod Mega Bot Start caused a non-recoverable error.
Please report this error to the mod author.

Error while running event MegaBotStart::on_player_created (ID 24)
real number expected got nil.
stack traceback:
MegaBotStart/control.lua:31: in function <MegaBotStart/control.lua:1>
stack traceback:
[C]: in function 'get_inventory'
MegaBotStart/control.lua:31: in function <MegaBotStart/control.lua:1>

7 years ago
(updated 7 years ago)

local grid = player.get_inventory(defines.inventory.player_armor)[1].grid

defines.inventory.player_armor doesn't exist. Should be replaced with defines.inventory.character_armor.
https://lua-api.factorio.com/latest/defines.html#defines.inventory

7 years ago

thankyou twisteddiana

6 years ago

Update is done.

New response