jrossignol / ContractConfigurator

A config file based solution for creating new contracts for Kerbal Space Program.
https://forum.kerbalspaceprogram.com/index.php?/topic/91625-1
Other
64 stars 67 forks source link

Add title to PartTest parameter #565

Open inigmatus opened 8 years ago

inigmatus commented 8 years ago

I'd like to have a custom title for the PartTest parameter. Doesn't look like there is one:

    PARAMETER
    {
        name = PartTest
        type = PartTest
        title = test cargo bay

        part = mk2CargoBayS

        PARAMETER
        {
            name = ReachState
            type = ReachState
            title = when flying above 5000m

            targetBody = Kerbin
            situation = FLYING
            minAltitude = 5000

            hideChildren = true
            disableOnStateChange = true

        }

        completeInSequence = true

    }

currently yields Test the Mk2 Cargo Bay CRG-04 but I want it to say what the title field says above.

jrossignol commented 8 years ago

This is one of the few parameters left that is just a wrapper around the stock parameter. Because the stock parameter doesn't have a way to override the title, I'd have to either wrap or reimplement the parameter without a change in stock.

Will defer this one for a bit to think about how to best handle it.

inigmatus commented 8 years ago

its lowest priority. feel free to defer or wontfix for now if you desire. :) I;ve kept title code in my part test contracts in just in case though.