Avorion

Avorion

Not enough ratings
SystemUpgrade-CommercialRefineryBay-ReUpload
   
Award
Favorite
Favorited
Unfavorite
Mods: Mod
File Size
Posted
76.973 KB
16 Mar, 2023 @ 3:26pm
1 Change Note ( view )

Subscribe to download
SystemUpgrade-CommercialRefineryBay-ReUpload

Description
SDK Notes: This Mod adds a Refinery Bay System that containing a variety of stats to include Specializations and Military type stats. It functions by removing scrap and ore from the equiped ship and processing it.

- Zergor: Attempting to fix SDK's Cargo Hold issue not working in this mod. Changed a function call typo in the original work from SDK. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2090446289

*WARNING* Items created prior to this fix will not work regarding cargo. New items will need to be created via drops or research to correctly fix their function on cargo hold increase!!!!

Change is located in SDKRefineryBay.lau line 474
Original:
_CargoHold = Perk.GetCargoPerk(_Method, _Rarity.value) * 2
Updated:
_CargoHold = Perk.GetCargoBonus(_Method, _Rarity.value) * 2
1 Comments
Zergor  [author] 24 Mar, 2023 @ 2:22pm 
This fixed the Cargo Hold stat not applying. It did not work on existing systems with the stat. Had to trash them and research new ones.