Warptorio2


Factorio but you build your factory in a restricted space that teleports yourself, the platform, and everything on it to a new and uncharted planet in an unknown corner of space, time and the universe while constantly under attack from enemies. This mod increases the difficulty of factorio by making construction harder and making biters a more significant threat, resulting in a unique experience of factorio'ing in a tight space and under pressure, almost like a tower defence game.

Overhaul
1 year, 2 days ago
0.17 - 1.1
28.2K
Combat Environment

g localize planet names + crash

1 year, 8 months ago
(updated 1 year, 8 months ago)

control_main.lua:938 in function warptorio.WarpBuildPlanet incorrect game.print invocation. hp.name should be a localised string.

There are also some modded planets which treat the template name like a localised string when this is not expected and causes crashes.

game.print({"",{"planet-name." .. hp.key},{"planetorio.home_sweet_home_text"}})

however it might be more prudent to permit both approaches, so the name can either be a string or a localised string on its own.

game.print({"",hp.name,{"planetorio.home_sweet_home_text"}})

without either change, crashes happen if names are localised strings if that planet is made a homeworld.
Although this does not exist in base warptorio, it does in the expansion.

https://mods.factorio.com/mod/planetorio_expansion_planets/discussion/5f33bd4ba1016062c165a852

issue raised here https://github.com/PyroFire232/warptorio2/pull/15

1 year, 8 months ago
(updated 1 year, 8 months ago)

fixed for next version

This thread has been locked.