Template:ShipDataDocumentation

Revision as of 10:31, 21 February 2015 by >Ckwng

This is a module containing the data for {{{1}}}.

Ship Data Format

This module should return a table, which contains other tables for each form of the ship. The table for the basic form should be under the key "", or the empty string. Remodels should be under the suffix of that remodel, like "Kai" or "Kai Ni".

For example,

local Ooyodo = {
    [""] = {
        ...
    },
    ["Kai"] = {
        ...
    },
}

return Ooyodo

Ship Form Data Format

The table for each form should contain a number of key value pairs that describe the ship.

_name

String. The name of the ship.

_rarity

Integer. A number from 1-8 indicating the rarity of the ship.