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
(Experimental ship data for infoboxes/ship table)
 
(Base model data to sort by)
Line 1: Line 1:
return {
ships = {
     K37 = {
     K37 = {
         make = 'Rusatom-Antanoff',
         make = 'Rusatom-Antanoff',
Line 84: Line 84:
     }
     }
}
}
for key,ship in pairs(ships) do
    -- Normalize ship
    ship.key = key
    if (ship.baseModel == nil) then
        ship.baseModel = key
    end
    -- Useful things to sort by
    ship.isVariant = ship.key ~= ship.baseModel
    ship.baseModelHullValue = ships[ship.baseModel].hullValue
end
return ships

Revision as of 03:25, 7 March 2023

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

ships = {
    K37 = {
        make = 'Rusatom-Antanoff',
        model = 'K37 TNTRL',
        highStress = 1,
        lowStress = 2,
        crew = 4,
        dryMass = 33200,
        cargoBay = 128,
        processedCargo = 7000,
        engines = 1,
        priceNew = 365999,
    },
    KX37 = {
        make = 'Rusatom-Antonoff',
        model = 'KX37 TNTRL',
        baseModel = 'K37',
        highStress = 1,
        lowStress = 2,
        crew = 4,
        dryMass = 37970,
        cargoBay = 140,
        processedCargo = 7000,
        engines = 1,
        variant = 'Extended cargo hold'
    },
    KR37 = {
        make = 'Rusatom-Antonoff / Runasimi',
        model = 'Runasimi KR37 TNTRL',
        baseModel = 'K37',
        highStress = 1,
        lowStress = 2,
        crew = 6,
        dryMass = 47500,
        cargoBay = 100,
        processedCargo = 4000,
        empShielding = 200,
        engines = 1,
        variant = 'EMP Shielded',
    },
    KTA24 = {
        make = 'Rusatom-Antanoff',
        model = 'KTA24 TNTRL',
        baseModel = 'K37',
        highStress = 1,
        lowStress = 2,
        crew = 4,
        dryMass = 27970,
        processedCargo = 3000,
        engines = 1,
        variant = 'Tug with angled reverse thrust'
    },
    K44 = {
        highStress = 0,
        lowStress = 4,
        crew = 4,
        dryMass = 54600,
        processedCargo = 14000,
        engines = 1,
    },
    ['Eagle Prospector'] = {
        make = 'Mitsudaya-Starbus',
        model = 'Eagle Prospector',
        lowStress = 2,
        droneHardpoints = 2,
        crew = 6,
        dryMass = 27500,
        cargoBay = 125,
        processedCargo = 14000,
        engines = 2,
        priceNew = 2539999,
    },
    ['Vulture Prospector'] = {
        make = 'Mitsudaya-Starbus',
        model = 'Vulture Prospector',
        baseModel = 'Eagle Prospector',
        highStress = 1,
        lowStress = 2,
        crew = 6,
        dryMass = 37500,
        processedCargo = 14000,
        engines = 2,
        variant = "Dronebay underpods replaced with high stress capability"
    }
}


for key,ship in pairs(ships) do
    -- Normalize ship
    ship.key = key
    if (ship.baseModel == nil) then
        ship.baseModel = key
    end
    -- Useful things to sort by
    ship.isVariant = ship.key ~= ship.baseModel
    ship.baseModelHullValue = ships[ship.baseModel].hullValue
end


return ships