- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
View source for Module:Ship
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local U = require("Module:Core")
local BaseData = require('Module:BaseData')
local Ship = BaseData{
_ships = {},
_data_class = false,
}
function Ship:_prepareShipData()
self._data_class = self._data_class or require('Module:ShipData')
end
function Ship:get(stat, name, model)
return self:create(name, model)[stat]()
end
function Ship:create(name, model)
self:_prepareShipData()
if name == nil then
return self._data_class()
end
000
1:0
Template used on this page:
Return to Module:Ship.