Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Example

From Kerbal Space Program 2 Wiki
Revision as of 18:01, 11 October 2024 by KiwiShark (talk | contribs) (trying out a Module approach to data storage/access)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Example/doc

data = {
    ["caption"] = "Example Methalox Engine",
    ["file"] = "T3-ST_Default.png",
    ["imp_tol"] = "10",
    ["manufacturer"] = "Community Conglomerate",
    ["mass"] = "0.500",
    ["max_temp"] = "1000",
    ["modules"] = {
        ["engine"] = {
            ["flags"] = "Stops under 10%",
            ["isp"] = {
                ["atm"] = "223",
                ["vac"] = "628",
            },
            ["max_thrust"] = {
                ["atm"] = "42.0",
                ["vac"] = "88.0",
            },
            ["min_thrust"] = {
                ["atm"] = "0.0",
                ["vac"] = "0.0",
            },
            ["propellants"] = {
                ["methane"] = "0.010",
                ["oxidizer"] = "0.040",
                ["units"] = "t/s",
            },
        },
        ["generator"] = {
            ["always_active"] = true,
            ["engine_alternator"] = true,
            ["outputs"] = {
                ["electric charge"] = "2.000",
                ["units"] = "/s",
            },
        },
        ["gimbal"] = {
            ["pitch"] = "2",
            ["yaw"] = "2",
        },
    },
    ["name"] = "T3-ST \"Default\"",
    ["resources"] = false,
    ["size"] = "SM",
    ["stores_research"] = false,
}
MediaWiki Appliance - Powered by TurnKey Linux