Silba's Classes

by silba

Choose Mage or Engineer, earn XP from enemy kills, and grow into a self-sustaining fighter with upgradeable spells or an Engineer field shop, repair beam, and rechargeable power.

Content
4 days ago
2.0 - 2.1
205
Combat Armor Power

b maximum_wire_distance property to wire_max_distance

a month ago

engineer.lua is causing a crash

In the Factorio 2.0 update, the game developers renamed the maximum_wire_distance property to wire_max_distance across entity prototypes. When the mod attempts to check a power pole's wire reach using the old name, it searches for a non-existent key, causing a non-recoverable Lua script error

On line 472 you have
local reach = math.min(pole.prototype.maximum_wire_distance or 0, candidate.prototype.maximum_wire_distance or 0)

This should be changed to:
local reach = math.min(pole.prototype.wire_max_distance or 0, candidate.prototype.wire_max_distance or 0)

a month ago
(updated a month ago)

engineer.lua is causing a crash

In the Factorio 2.0 update, the game developers renamed the maximum_wire_distance property to wire_max_distance across entity prototypes. When the mod attempts to check a power pole's wire reach using the old name, it searches for a non-existent key, causing a non-recoverable Lua script error

On line 472 you have
local reach = math.min(pole.prototype.maximum_wire_distance or 0, candidate.prototype.maximum_wire_distance or 0)

This should be changed to:
local reach = math.min(pole.prototype.wire_max_distance or 0, candidate.prototype.wire_max_distance or 0)

thank you, it should be fixed now

New response