- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 1:
Line 1:
− +
− +
+
+
Line 12:
Line 14:
+
+
+
+
+
+
+
+
+
+
Line 296:
Line 308:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
no edit summary
This is a module containing the data for the ship {{{1}}}.
This is a module containing the data for the ship {{{1}}} and it's forms, the ship class {{{1}}}, or both.
==Ship Data Format==
==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".
This module should return a table.
If the module contains ship forms, the returned table should contain 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,
For example,
},
},
["Kai"] = {
["Kai"] = {
...
},
}
return Ooyodo
If the module contains a ship class, the returned table should contain contain a table under the key ''class''.
local Ooyodo = {
class = {
...
...
},
},
If unknown, omit or set to nil.
If unknown, omit or set to nil.
==Ship Class Data Format==
The table for the class should contain a few key-value pairs that describe the class.
===_name===
String. The name of the class. Omit any suffixes or prefixes.
===_prefix===
String. The prefix of the class.
===_suffix===
String. The suffix of the class.
===_class===
Boolean. Whether or not the class should be suffixed with "Class". Overridden by _suffix.
===_type===
Boolean. Whether or not the class should be prefixed with "Type".
Overridden by _prefix.
===_base_type===
Integer. The original ship type of the ship class.