Coal Powered


Mod removes electricity transfers (no production, no consuption, no storage).

Overhaul
3 years ago
0.17 - 1.1
225

g Internal name of the Portable Generator

2 years ago

Hi,

In your mod, you probably remove portable solar panel (solar-panel-equipment)) and portable fusion reactor (fusion-reactor-equipment). I makes impossible to add starting bots at all, even Nanobots.

But, because the scaling can go pretty far in Coal Powered in Marathon mode, I would like early robots.
My question is:

What is the internal name of the portable generator to at least give it to myself by factorio commands?

2 years ago

/c game.player.insert{name="portable-generator-equipment", count=1}

I found it.

2 years ago

Ok I will start my marathon hardcore gameplay with this push:

/c local player = game.player
player.insert{name="power-armor-mk2", count = 1}
local p_armor = player.get_inventory(5)[1].grid
p_armor.put({name = "portable-generator-equipment"})
p_armor.put({name = "portable-generator-equipment"})
p_armor.put({name = "portable-generator-equipment"})
p_armor.put({name = "portable-generator-equipment"})
p_armor.put({name = "portable-generator-equipment"})
p_armor.put({name = "portable-generator-equipment"})
p_armor.put({name = "portable-generator-equipment"})
p_armor.put({name = "portable-generator-equipment"})
p_armor.put({name = "portable-generator-equipment"})
p_armor.put({name = "portable-generator-equipment"})
p_armor.put({name = "exoskeleton-equipment"})
p_armor.put({name = "exoskeleton-equipment"})
p_armor.put({name = "personal-roboport-mk2-equipment"})
p_armor.put({name = "personal-roboport-mk2-equipment"})
p_armor.put({name = "personal-roboport-mk2-equipment"})
p_armor.put({name = "personal-roboport-mk2-equipment"})
p_armor.put({name = "personal-roboport-mk2-equipment"})
p_armor.put({name = "personal-roboport-mk2-equipment"})
player.insert{name="construction-robot", count = 150}

New response