Avorion

Avorion

Not enough ratings
Mobile Refinery
   
Award
Favorite
Favorited
Unfavorite
Mods: Mod
File Size
Posted
Updated
19.598 KB
9 Dec, 2020 @ 3:11pm
21 Aug, 2021 @ 3:05pm
4 Change Notes ( view )

Subscribe to download
Mobile Refinery

Description
Provides a module to make ship function as a limited, mobile version of a refinery.

How it works:

1. Installing module reduces your generated power by some percentage (5% - 30% depending on rarity; displayed in tooltip)
2. Each second when this module is installed, it checks current ship's cargo hold, if it finds no ore or scrap, then that's it
3. Calculates available work on ship (this is exactly production capacity)
4. If ore or scrap is found, it calculates amount to process based on "work value" of lowest type of scrap or ore found, similarly to my refinery rework here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2242219307
5. Subtracts lower of (workRequired, workAvailable) from work available, and if there's nonzero work available proceeds to next scrap/ore.
6. Takes all calculated cargos (those that were processed)
7. Adds resources to controlling faction



Order of processing:

Scrap from Iron to Avorion, then Ore from Iron to Avorion




Ore Work values (as of 11/12/2020):

Iron Scrap = 0.8
Titanium Scrap = 1.2
Naonite Scrap = 1.6
Trinium Scrap = 2.0
Xanion Scrap = 2.4
Ogonite Scrap = 2.8
Avorion Scrap = 3.2

Iron Ore= 2.0
Titanium Ore= 3.0
Naonite Ore= 4.0
Trinium Ore= 5.0
Xanion Ore= 6.0
Ogonite Ore= 7.0
Avorion Ore= 8.0

49 Comments
EpicDude1905 30 Apr, 2024 @ 5:27pm 
Thanks for responding, i shall make the mod myself ^^
Caellion  [author] 30 Apr, 2024 @ 5:23pm 
Might be something that was changed in base game or dlc recently or old bug. Either way I don't mod avorion actively now so I am not interested in fixing it for now. I suppose you could look if getComparableValues() even is in the file server points you to, if not create it and have it return 0 or something, I don't remember using any function named as such so it shouldn't break anything
EpicDude1905 30 Apr, 2024 @ 4:46pm 
Hey, a question about the mod that i have is, why does the server keep telling me that "Error comparing upgrades: data/scripts/systems/mobrefinery.lua: 'value' field in data gathered from getComparableValues() is not a number" is there anyway of fixing this or silencing it? Thanks for reading :3
Caellion  [author] 16 Feb, 2024 @ 7:38am 
@DarkSlayerEX, add me, i already added you, ask away, but be aware i probably won't answer right away, if steam country icons are to be believed we have about 9hours time difference
DarkSlayerEX 15 Feb, 2024 @ 1:00pm 
@Caellion I was hoping to talk to you in private for help modding... I know you aren't really modding anymore... but I have been trying to get help for days on the avorion discord, and have had no luck.. I'm close to outright giving up...
Caellion  [author] 11 Dec, 2023 @ 6:00am 
@Alanthier If you would kindly

1. not order me around, it is not my job to provide either updates nor the mod at all, noone paid me to make this, noone pays me to maintain it, I made it for myself when I did play avorion consistently, I do not do so currently, I also have stated i have no problem with someone updating it as long as I am credited.

2. look five comments below, I do not have time to keep avorion mods updated and don't foresee change in that regard anytime soon
Alanthier 9 Dec, 2023 @ 1:15pm 
still need the "assembly block required" description, and make it work with rift ores
andjca2000 6 Dec, 2022 @ 2:54pm 
He kinda says it in #3 - this is exactly production capacity, but I wouldn't have guessed it was the assembly blocks.

Cool way of doing the refining of ores!
The Chad Banisher 21 Sep, 2022 @ 1:30pm 
Please add to description that you NEED assembly blocks for this mod to function.
The Chad Banisher 21 Sep, 2022 @ 1:25pm 
Have even waited for 2.5 hours of IRL time with the refinery doing nothing.