Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:ShipData
(view source)
Revision as of 09:18, 2 November 2021
225 bytes added
,
3 years ago
no edit summary
Line 3:
Line 3:
local Ship
local Ship
local ShipClass = require('Module:ShipClass')
local ShipClass = require('Module:ShipClass')
+
local dropData
local BaseData = require("Module:BaseData")
local BaseData = require("Module:BaseData")
Line 514:
Line 515:
function ShipData:build_time()
function ShipData:build_time()
return self._build_time
return self._build_time
+
end
+
+
local function prepareDropData()
+
if not dropData then
+
dropData = require('Module:Data/ShipDrop')
+
end
+
end
+
+
function ShipData:dropable()
+
prepareDropData()
+
return dropData[self._name] and true or false
end
end
がか
cssedit, gkautomate
7,064
edits