This update introduces a new functionality (fix?) thanks to Wyvern: AI colonies will now replace their industry items if they are sold better ones, for example when selling a pristine nanoforge on a market that already has a corrupted one installed. This system work with both vanilla and modded items and industries. Modders just have to add their item rating to the appropriate section of modSettings.json to enable the functionality.
Furthermore, this update includes a large polish and bug-fixing pass to MagicBounties, with a few new functionalities like forcing the auto-fitter on the flagship or the escort ships, or posting bounties on existing fleets.
ATTENTION TO MODDERS MAKING BOUNTIES: bounties no longer have to be registered in modSettings.json, all of them will be loaded directly from the MagicBounty_data.json file. However that means
mod requirements are now defined via a new parameter in the bounty data itself. My apologies for the inconvenience, I believe the simplicity it worth the change while the system isn't yet widely used.
I also wrote a detailed breakdown on how to write bounties on the wiki.changelog
0.41
Added MagicIndustryItemWrangler:
- Courtesy of Wyvern.
- Allows mods to define "rating" for their items that can be mounted in the same industries as other items.
- When an item with higher priority is sold at a public market, the AI will replace the existing one in its industry.
- Works on both vanilla and modded industries.
- Items priority is defined in modSettings.json
MagicBounties:
- MagicBounties no longer requires a modSettings.json entry.
- WARNING: HOW BOUNTIES DEFINE MOD REQUIREMENTS HAS BEEN CHANGED!
PLEASE REFER TO THE EMPTY BOUNTY FILES IN THE MOD TO ADD THE NEW MOD REQUIREMENT PARAMETER.
- Removed Bounties Expanded hvb check.
- Added parameters to magicBounty_data to force the autofitter on the flagship/preset ships.
- Variables should now properly get replaced in the conclusion intel.
- Fixed another source of crashes from HVB conversions.
- Accepted bounties are now placed in the "MISSION" intel tab rather than bounties.
- Added another blacklist tag to prevent having bounties in Blackhole or Pulsar systems.
MagicCampaign:
- Fixed an issue with the quality setting that was modifying the Flagship and Preset ships loadouts to fit its value,
- Flagship and escort ships now keep their original variants unless the autofitter is specifically allowed to alter them.
This update is save compatible.
If you are using it, please also update the
Locked and Loaded bounty pack.Always DELETE the old version before extracting the new one