Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: 0.97a - Market Retrofits  (Read 9782 times)

alaricdragon

  • Commander
  • ***
  • Posts: 162
    • View Profile
0.97a - Market Retrofits
« on: February 13, 2023, 12:58:01 PM »

Market Retrofits V0.2.3

what is market retrofits? it is a library for modders, containing all my painstakingly crafted ways i had to edit the markets and industry trying to do things that i should have given up on if i knew what was good for me.

only download this mod if another mod requires it, or you are a modder looking to use it. it alone will add nothing noticeable to your game.
Download it here

find the documentation here
available mini libarys in this mod:
Spoiler
Commodity changer (functional)
        -allows the mass or pacific changing of supply or demand on a industry
Custom Market Founder (complete)
        -allows a user to add new ways to found markets, with there own requirements and costs. can even run code on founding a market, just to make things extra special
[close]
mini libarys i have planed (or am planing/working on) but might not be complete or even possible.
don't expect anything anytime soon.
Spoiler
    1) industry replacer (disabled for now) (reason: extra unacceptable crazy stupid lag)
        -would allow for complete changing of every function in a industry conditionally.
        -going to give this a redising someday, but for now i am so done.
    2) condition replacer (think its possible. no clue if it is.)
        -replaces functions in market conditions with different ones conditionally.
    3) Commodity changer (functional)
        -allows the mass or pacific changing of supply or demand on a industry
    4) growth changer (it is possible. just need to write it.)
        -allows one to easily remove or add new growth from outside of conditions or industry
    5) hazard changer (I hope this is possible)
        -allows for changing in the hazard button name, description, looks, and function.
    6) free port changer (I hope this is possible)
        -allows the change in the free-port name, and description.
    7) found a market change (done)
        -allows players to have there own requirements and addition code run when founding a market. multiple options available.
[close]

changelog
Spoiler
V0.2.3:
    save combatable with V0.2+:
    fixed rare issue with being unable errors when AOTD pre-collaps facility on them
V0.2.2:
    save combatable with V0.2+:
    updated to the latest version
    added version checker support
V0.2.1:
    save compatible with V0.2+:
    fixes:
        maybe fixed a issue that caused a crash on pressing escape in a normadic survival operation. but could not replicate it to check.
    background:
        did some background work for adding a few more things, that are never going to be ready at this rate.
V0.2:
    completed the 'MarketFounder' class and related functions.
    added additional compatibility with the new library for crew replacer.
    started work on the documentation (almost nothing done there is mush to do.)
    added the following classes:
        for compatibility patches:
           MarketRetrofits_PatchBase
           MarketRetrofits_InitCombatabilityPatches
           MarketRetrofits_CrewReplacer_patch
        for MarketFounder Library:
            MarketRetrofits_MarketFounderMasterList
            MarketRetrofits_MarketFounder
            MarketRetrofits_CustomMarketFounderType
            MarketRetrofits_SurveyPlugin_CrewReplacer
            MarketRetrofits_SurveyPlugin_Base
            MarketRetrofits_SurveyPlugin

            MarketRetrofits_customMarketFounder_dialog
        for other:
            MarketRetrofit_dialogShell
V0.1.1:
    updated to game version 0.96a
V0.1 -
    save compatible with any older version
    new
        -recreated the supply demand library (now called Commodity Changer in notes and code).
        (may contain bugs, but tests showed it was stable. should be no risk of breaking your game.)

    notes:
        i said i was going to release supply demand library a while ago, but the project went out of control. i though i could
        complete the basics of all the library's i wanted to make, but i could not. so this is late now, with little to show.
[close]
« Last Edit: March 06, 2024, 03:15:07 PM by alaricdragon »
Logged