Warptorio2 Expansion


This mod is an expansion for Warptorio 2. DON'T PANIC! Adds missions on the planets you visit, required to unlock technologies. Also adds some big Bosses, more planets, and a loyal robotic companion.

Content
8 months ago
0.17 - 1.1
11.2K
Environment

b Make elevator work in hazard concrete

3 years ago
(updated 3 years ago)

Right now, the elevator doesn't work if you are standing on the hazard concrete areas on the ship. This is annoying and seems unnecessary.

I made a patch to fix this, at https://thuejk.dk/warptorio2_expansion_elevator_fix.patch

The main line is:

  • if ( player.surface.name=='warptorio_factory' or player.surface.name=='warptorio_harvester' or player.surface.name=='warptorio_boiler' or is_platform(player.surface, player.character.position.x, player.character.position.y))

as well as the new function is_platform(surface, x, y).

3 years ago

how would i use this patch?

3 years ago
(updated 3 years ago)

Unpack the warptorio2_expansion mod zip in the Factorio mod folder. Factorio can use unzipped mods. Then use a patch applying tool of your choice.

https://stackoverflow.com/questions/517257/how-do-i-apply-a-diff-patch-on-windows

You could also just manually replace the relevant lines. The .patch file is easy to understand, can be opened in a text editor.

3 years ago

thanks a lot :)

New response