Multi-line Production Methods Framework

If you liked this item, please rate it up on Steam Workshop page.

Author: 1230james

Last revision: 24 May at 02:17 UTC (12)

File size: 309.82 KB

On Steam Workshop

Description:
Multi-line Production Methods Framework

Information for Everyone

MPM is a framework mod, meaning it’s supposed to be used by other mods you may be using as a basis for a certain feature. In this case, that feature is having more room on the screen for extra production method groups.

Specifically, MPM edits certain panels in the UI to make them display extra PM groups by wrapping them around instead of adding the extra ones on the same line and causing them to appear off the edge of the panel or under other text and buttons.

It should be noted that MPM ITSELF DOES NOT ADD NEW PRODUCTION METHODS OR PRODUCTION METHOD GROUPS!

The Community Mod Framework includes MPM in its releases. If you have the CMF mod already, you do not need to install MPM.

Information for Players

If a mod or multiple mods you are using requires this mod to be installed, please follow instructions on those mods, if provided.

MPM should otherwise be able to be placed anywhere due to it leveraging specific mod-loading behaviors of Vic3.

Information for Modders

MPM is best integrated into your mod by requiring players to install MPM separately. MPM provides changes to the following files:

gui/building_details_panel.gui gui/goods_state_panel.gui gui/production_methods.gui gui/building_browser_panel.gui gui/map_list_panel.gui

MPM implements its changes in its own files to take advantage of Vic3 loading behavior and enforce its changes over other mods. If your mod makes changes to any of these files, you may find that MPM overwrites changes your mod have made. In those cases, you should either integrate MPM’s changes manually or create a compatibility patch.

MPM can be placed anywhere in the user’s playset for correct functionality. All you have to do is go and add your extra PMGs, and MPM will handle the rest.

MPM was originally designed for one building to have up to 10 PMGs, but it has been tested to be able to scale properly past that. The highest number tested was 20, but it can go as high as you need it to.

Note that military buildings, such as barracks and naval bases, are NOT INTENDED TO BE USED WITH MPM due to the new unit graphics being displayed alongside the PMGs which now take up most of the space that the extra PMGs would overflow into. Feel free to fork MPM and make changes to make it work with military buildings if you must.

Permissions

YES, you may include this mod in any modpacks/collections/whatever.
YES, you may embed this mod into any mods you are creating, as well as making whatever tweaks are necessary for it to work with your mod. Credit and a link back here would be very much appreciated!

Links

GitHub repository[github.com]
Victoria 3 Modding Co-op Discord server[discord.gg]