Page 1 of 1

Portable Fusion Reactor Power output

Posted: Wed Oct 17, 2018 9:04 am
by AK90
Hello

After some in deep thought I have decided that the PFR doesn't output enough power and I want to change it. Question is, how does one do that?
I downloaded some PFR related mods and looked at the code, now my head hurts! I have no skill what so ever in coding and was wondering if someone could scribble together a mod that lets me tinker with the power output? (I know how to edit a text file :P)

Any Help is greatly appreciated!

Regards
AK90

Re: Portable Fusion Reactor Power output

Posted: Wed Oct 17, 2018 9:38 am
by eradicator
That's a single line:

Code: Select all

data.raw["generator-equipment"]["fusion-reactor-equipment"].power = "750kW"

Re: Portable Fusion Reactor Power output

Posted: Wed Oct 17, 2018 10:19 am
by darkfrei
AK90 wrote: Wed Oct 17, 2018 9:04 am After some in deep thought I have decided that the PFR doesn't output enough power and I want to change it. Question is, how does one do that?
It looks like only one string mod.

Download Notepad++ https://notepad-plus-plus.org/download/
Download this mod: viewtopic.php?f=135&t=45107
Start the game and then open .log file in game folder with Notepad++.
Find the string that you will to change.
Copy it and paste into data-updates.lua in your own mod folder.
Change the value and save the file.
Don't forget the info.json

Re: Portable Fusion Reactor Power output

Posted: Wed Oct 17, 2018 10:26 am
by eradicator
@darkfrei:
Could you be a bit less aggressive about promoting your mod? I already posted the code and your mod is not needed to make new mods.

Re: Portable Fusion Reactor Power output

Posted: Wed Oct 17, 2018 10:29 am
by darkfrei
eradicator wrote: Wed Oct 17, 2018 10:26 am @darkfrei:
Could you be a bit less aggressive about promoting your mod? I already posted the code and your mod is not needed to make new mods.
I've make this reply a lot of time, there was no reply at the beginning. And now he can make small mods by themselves.

Re: Portable Fusion Reactor Power output

Posted: Wed Oct 17, 2018 5:32 pm
by AK90
eradicator wrote: Wed Oct 17, 2018 9:38 am That's a single line:

Code: Select all

data.raw["generator-equipment"]["fusion-reactor-equipment"].power = "750kW"
Cheers mate!

Could you also supply the code for personal roboport MK2 recharge rate? I would like to tinker with that as well :D

Re: Portable Fusion Reactor Power output

Posted: Wed Oct 17, 2018 6:58 pm
by darkfrei
AK90 wrote: Wed Oct 17, 2018 5:32 pm
eradicator wrote: Wed Oct 17, 2018 9:38 am That's a single line:

Code: Select all

data.raw["generator-equipment"]["fusion-reactor-equipment"].power = "750kW"
Cheers mate!

Could you also supply the code for personal roboport MK2 recharge rate? I would like to tinker with that as well :D
The whole code of personal-roboport-mk2-equipment looks like
2018-10-17 20_57_15-D__Factorio_0.16_factorio-current.log - Notepad++.png
2018-10-17 20_57_15-D__Factorio_0.16_factorio-current.log - Notepad++.png (91.68 KiB) Viewed 3144 times
You are need this one:

Code: Select all

data.raw["roboport-equipment"]["personal-roboport-mk2-equipment"].charging_energy = "1000kW"
You can also change buffer_capacity, input_flow_limit, construction radius or robot amount limit.

Re: Portable Fusion Reactor Power output

Posted: Wed Oct 17, 2018 8:56 pm
by AK90
darkfrei wrote: Wed Oct 17, 2018 6:58 pm
AK90 wrote: Wed Oct 17, 2018 5:32 pm
eradicator wrote: Wed Oct 17, 2018 9:38 am That's a single line:

Code: Select all

data.raw["generator-equipment"]["fusion-reactor-equipment"].power = "750kW"
Cheers mate!

Could you also supply the code for personal roboport MK2 recharge rate? I would like to tinker with that as well :D
The whole code of personal-roboport-mk2-equipment looks like
2018-10-17 20_57_15-D__Factorio_0.16_factorio-current.log - Notepad++.png

You are need this one:

Code: Select all

data.raw["roboport-equipment"]["personal-roboport-mk2-equipment"].charging_energy = "1000kW"
You can also change buffer_capacity, input_flow_limit, construction radius or robot amount limit.
Thanks! This will be really helpful.