MagmaMcFry / Factorissimo2

Factorissimo2, a Factorio mod that adds factory buildings to the game
https://mods.factorio.com/mod/Factorissimo2
MIT License
65 stars 40 forks source link

Support for space exploration #78

Closed acmpo6ou closed 9 months ago

acmpo6ou commented 11 months ago

Hi! I love your mod!

However, I've been playing space exploration, which is a very popular mod that allows you to go to space, and explore it. In space, you can't just put regular belts and assembly machines, you need special versions of them. So you would have Space Assembly Machine, Space belts, Space pipes, etc. Only these space versions are allowed to be placed in space. The problem is: there are no space versions of Factorissimo buildings. Would it be possible to add them?

Thank you!

acmpo6ou commented 9 months ago

I was able to do this! In Factorissimo2/prototypes there is a file factory.lua. I just needed to add se_allow_in_space = true to some places, and it worked! Here is the modified code. Factorissimo2_2.5.3.zip

With this, you can put a building in space, but inside the building, you can't put the space factories, space belts, etc. So I would have to work more on making a space building that would be placeable only in space and would allow all space versions of factories, belts, etc. to be placeable in that building.

acmpo6ou commented 9 months ago

Oh, I'm making progress on this! I was able to make a space factory building, and you can put the space factories, belts, labs in it! It's working (: I just need to fix some stuff and make my own fork of this mod which would have support for Space Exploration.

acmpo6ou commented 9 months ago

I actually found this mod that implements Space factory buildings: https://mods.factorio.com/mod/space-factorissimo-updated So I don't need to do anything.