Deprecated: ScribuntoContent overrides fillParserOutput which was deprecated in MediaWiki 1.38. [Called from MediaWiki\Content\Renderer\ContentRenderer::getParserOutput in /var/www/html/includes/content/Renderer/ContentRenderer.php at line 47] in /var/www/html/includes/debug/MWDebug.php on line 381

Deprecated: Use of AbstractContent::getParserOutput was deprecated in MediaWiki 1.38. [Called from ContentHandler::callDeprecatedContentGPO in /var/www/html/includes/content/ContentHandler.php at line 1883] in /var/www/html/includes/debug/MWDebug.php on line 381
Module:Ships/Data: Difference between revisions - ΔV: Wiki

Module:Ships/Data: Difference between revisions

From ΔV: Wiki
(Ship names, makes, cargo bay sizes, numbers of thrusters.)
(Some hull values)
Line 22: Line 22:
         thrusters = 8,
         thrusters = 8,
         priceNew = 365999,
         priceNew = 365999,
        hullValue = 266970
     },
     },
     KX37 = {
     KX37 = {
Line 35: Line 36:
         engines = 1,
         engines = 1,
         thrusters = 8,
         thrusters = 8,
        hullValue = 320849,
         variant = 'Extended cargo hold'
         variant = 'Extended cargo hold'
     },
     },
Line 108: Line 110:
         engines = 2,
         engines = 2,
         thrusters = 8,
         thrusters = 8,
        hullValue = 554888,
         variant = 'Luxury interior'
         variant = 'Luxury interior'
     },
     },
Line 153: Line 156:
         engines = 1,
         engines = 1,
         thrusters = 4,
         thrusters = 4,
         empShielding = 100
         empShielding = 100,
        hullValue = 242549
     },
     },
     ['Cothon-213'] = {
     ['Cothon-213'] = {
Line 217: Line 221:
         processedCargoCombined = 50000,
         processedCargoCombined = 50000,
         engines = 1,
         engines = 1,
         thrusters = 8
         thrusters = 8,
        hullValue = 385200
     }
     }
}
}

Revision as of 07:00, 8 March 2023

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

local defaults = {
    highStress = 0,
    lowStress = 0,
    droneHardpoints = 0,
    dockingBays = 0,
    processedCargo = 0,
    processedCargoCombined = 0,
    empShielding = 0
}

local ships = {
    K37 = {
        name = 'K37 TNTRL',
        make = 'Rusatom-Antonoff',
        highStress = 1,
        lowStress = 2,
        crew = 4,
        dryMass = 33200,
        cargoBay = 128,
        processedCargo = 7000,
        engines = 1,
        thrusters = 8,
        priceNew = 365999,
        hullValue = 266970
    },
    KX37 = {
        name = 'KX37 TNTRL',
        make = 'Rusatom-Antonoff',
        baseModel = 'K37',
        highStress = 1,
        lowStress = 2,
        crew = 4,
        dryMass = 37970,
        cargoBay = 140,
        processedCargo = 7000,
        engines = 1,
        thrusters = 8,
        hullValue = 320849,
        variant = 'Extended cargo hold'
    },
    KR37 = {
        name = 'Runasimi KR37 TNTRL',
        make = 'Rusatom-Antonoff / Runasimi',
        baseModel = 'K37',
        highStress = 1,
        lowStress = 2,
        crew = 6,
        dryMass = 47500,
        cargoBay = 100,
        processedCargo = 4000,
        empShielding = 200,
        engines = 1,
        thrusters = 8,
        variant = 'EMP Shielded',
    },
    KTA24 = {
        name = 'KTA24 TNTRL',
        make = 'Rusatom-Antonoff',
        baseModel = 'K37',
        highStress = 1,
        lowStress = 2,
        crew = 4,
        dryMass = 27970,
        processedCargo = 3000,
        engines = 1,
        thrusters = 8,
        variant = 'Tug with angled reverse thrust'
    },
    K44 = {
        highStress = 0,
        lowStress = 4,
        crew = 4,
        dryMass = 54600,
        processedCargo = 14000,
        engines = 1,
    },
    ['Eagle Prospector'] = {
        make = 'Mitsudaya-Starbus',
        lowStress = 2,
        droneHardpoints = 2,
        crew = 6,
        dryMass = 27500,
        cargoBay = 125,
        processedCargo = 14000,
        engines = 2,
        thrusters = 8,
        priceNew = 2539999,
    },
    ['Vulture Prospector'] = {
        make = 'Mitsudaya-Starbus',
        baseModel = 'Eagle Prospector',
        highStress = 1,
        lowStress = 2,
        crew = 6,
        dryMass = 37500,
        processedCargo = 14000,
        engines = 2,
        thrusters = 8,
        variant = 'Dronebay underpods replaced with high stress capability'
    },
    ['Peacock Prospector'] = {
        make = 'Mitsudaya-Starbus',
        baseModel = 'Eagle Prospector',
        lowStress = 2,
        droneHardpoints = 2,
        crew = 4,
        dryMass = 27500,
        cargoBay = 125,
        processedCargo = 14000,
        engines = 2,
        thrusters = 8,
        hullValue = 554888,
        variant = 'Luxury interior'
    },
    ['Pelican Prospector'] = {
        make = 'Mitsudaya-Starbus',
        baseModel = 'Eagle Prospector',
        lowStress = 2,
        droneHardpoints = 2,
        crew = 6,
        dryMass = 62000,
        processedCargo = 14000,
        engines = 1,
        variant = 'Increased (and wider) dry hold, replaced grinders with excavator'
    },
    ['Bald Eagle'] = {
        make = 'Mitsudaya-Starbus',
        baseModel = 'Eagle Prospector',
        lowStress = 2,
        droneHardpoints = 2,
        crew = 6,
        dryMass = 29500,
        processedCargo = 14000,
        engines = 4,
        variant = 'Racing'
    },
    ['Cothon-211'] = {
        name = 'Cothon-211 "Chonker"',
        make = 'Conlido RVM',
        baseModel = 'Cothon-212',
        lowStress = 4,
        crew = 3,
        dryMass = 83700,
        processedCargo = 27000,
        engines = 1,
        thrusters = 4,
        variant = 'Larger excavator'
    },
    ['Cothon-212'] = {
        make = 'Conlido RVM',
        lowStress = 4,
        crew = 3,
        dryMass = 83700,
        cargoBay = 405,
        processedCargo = 27000,
        engines = 1,
        thrusters = 4,
        empShielding = 100,
        hullValue = 242549
    },
    ['Cothon-213'] = {
        name = 'Cothon-213 "Triplet"',
        make = 'Conlido RVM',
        baseModel = 'Cothon-212',
        lowStress = 4,
        crew = 3,
        dryMass = 83700,
        cargoBay = 405,
        processedCargo = 27000,
        engines = 3,
        thrusters = 4,
        variant = 'Triple main engines'
    },
    ['Cothon-217'] = {
        name = 'Cothon-217 "Bender"',
        make = 'Conlido RVM',
        baseModel = 'Cothon-212',
        lowStress = 4,
        crew = 3,
        dryMass = 103700,
        cargoBay = 405,
        processedCargoCombined = 108000,
        engines = 1,
        thrusters = 4,
        empShielding = 100,
        variant = 'Variable processed cargohold'
    },
    ['Model E'] = {
        name = 'Elon Interstellar Model E',
        make = 'Elon Interstellar',
        highStress = 1,
        lowStress = 2,
        crew = 5,
        dryMass = 27000,
        cargoBay = 400,
        processedCargo = 11000,
        engines = 2,
        thrusters = 6,
        priceNew = 8999999
    },
    ['K225'] = {
        name = 'Antonoff-Titan K225',
        make = 'Antonoff-Titan Heavy Industries',
        lowStress = 2,
        dockingBays = 6,
        crew = 12,
        dryMass = 220100,
        cargoBay = 370,
        processedCargo = 7000,
        engines = 3,
        thrusters = 10,
        priceNew = 3999999
    },
    ['OCP-209'] = {
        make = 'Obonto Microengineering',
        highStress = 2,
        lowStress = 2,
        crew = 8,
        dryMass = 184500,
        cargoBay = 795,
        processedCargoCombined = 50000,
        engines = 1,
        thrusters = 8,
        hullValue = 385200
    }
}


for key,ship in pairs(ships) do
    -- Normalize ship
    ship.key = key
    ship.baseModel = ship.baseModel or key
    ship.name = ship.name or key

    -- Set defaults
    for field,default in pairs(defaults) do
        ship[field] = ship[field] or default
    end

    -- Useful things to sort by
    ship.isVariant = ship.key ~= ship.baseModel
    ship.baseModelData = ships[ship.baseModel]
end


return ships