Compression Chest Mod(edited for 0.15)

Place to post guides, observations, things related to modding that are not mods themselves.
Post Reply
Alyssa
Inserter
Inserter
Posts: 27
Joined: Sun Sep 17, 2017 9:42 pm
Contact:

Compression Chest Mod(edited for 0.15)

Post by Alyssa »

Original Mod:
https://mods.factorio.com/mods/Rseding9 ... n%20Chests

Summary:
A few edits to make this old mod compatible with the current 0.15 version
Known issues:Compression chest's name not correctly displayed / Related Technology icon looks weird
(None of these issues impact the functionality)
Changes ->

File:info.json
Original String:
"factorio_version": "0.14"
Edited String:
"factorio_version": "0.15"

File:technologies.lua
Original String(multiple ones):
{"science-pack-1", 2},
{"science-pack-2", 2},
{"science-pack-3", 2},
{"alien-science-pack", 1}
Edited String:(multiple ones)
{"science-pack-1", 2},
{"science-pack-2", 2},
{"science-pack-3", 2},


File:entities.lua
Original String:
},
charge_animation =
{
filename = "__Compression Chests__/graphics/Compression - power - charging.png",
width = 72,
height = 62,
line_length = 1,
frame_count = 1,
shift = {0.49145, -0.25},
animation_speed = 0
Edited String:
},
charge_animation =
{
filename = "__Compression Chests__/graphics/Compression - power - charging.png",
width = 72,
height = 62,
line_length = 1,
frame_count = 1,
shift = {0.49145, -0.25},
animation_speed = 1
Note:
Apparently the mod won't load with the default animation speed(which is 0).

That's all the changes.

Compression chests are unlocked with Logistic 3,compression chest moving is a separate tech.

Extra Notes:
I tried this mod using the sandbox mode,without having all tech unlocked from the start to check for any bugs,and apparently the power compression poles doesn't take electricity from the special electric generator you get from the console command/cheat:
/c game.player.insert{name="electric-energy-interface"}
So I used electricity from solar panels and for some reason it worked.

No other issues found.

Download edited mod:
https://mega.nz/#!qZVhkTBL!fvs8xu6cZJJZ ... tjoFySC-aA
(or edit the mod yourself)

Warning:
While I tested this mod and it's working for me in Factorio 0.15.37,I cannot guarantee that it will work for you, so use this at your own risk.

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Compression Chest Mod(edited for 0.15)

Post by bobingabout »

Instead of dropping alien science pack, I would have replaced it with the production science pack. (or even more personally, the logistics science pack I add in my mods)
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

User avatar
olafthecat
Filter Inserter
Filter Inserter
Posts: 476
Joined: Fri Jul 07, 2017 4:37 pm

Re: Compression Chest Mod(edited for 0.15)

Post by olafthecat »

I saw this mod a while back, I wanted it.
Now it is in 0.15, I can use it! :D
Gonna start playing again with 0.16 build.
That's all.

Post Reply

Return to “Modding discussion”