Long Reach

Post all other topics which do not belong to any other category.
Post Reply
Maddhawk
Fast Inserter
Fast Inserter
Posts: 101
Joined: Sat May 05, 2018 6:53 am
Contact:

Long Reach

Post by Maddhawk »

So I grabbed the mod Long Reach to place a few bits of land fill that my bots wouldn't do (despite easily being in range of my personal roboport.) After placing the landfill, I went back and turned the mod off. However, I still have the longer reach the mod gave me. Is there a console command that can reset my reach/build to default?

Note: Before anyone mentions the wiki, the command for this is not on there. I already looked.

User avatar
Krazykrl
Long Handed Inserter
Long Handed Inserter
Posts: 95
Joined: Tue May 02, 2017 11:08 pm
Contact:

Re: Long Reach

Post by Krazykrl »

I believe that Long reach affects the characters build range bonus stat. To remove long reach (since your total bonus build range is probably saved to the gamesave itself), you probably just need to set the bonus to zero.

This is untested, but may work:

Code: Select all

game.forces["player"].character_build_distance_bonus = 0
game.forces["player"].character_reach_distance_bonus = 0
This is via the sourcecode for long-reach, taken directly from the mod author at https://github.com/Geend/long-reach/blo ... ontrol.lua

Post Reply

Return to “General discussion”