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 18:34, 1 November 2021
250 bytes added
,
3 years ago
no edit summary
Line 154:
Line 154:
function ShipData:type()
function ShipData:type()
return self._type
return self._type
+
end
+
+
function ShipData:code()
+
return Formatting:format_ship_code(self._type)
end
end
Line 494:
Line 498:
function ShipData:buildable_lsc()
function ShipData:buildable_lsc()
return self._buildable_lsc
return self._buildable_lsc
+
end
+
+
function ShipData:buildable_or()
+
return self._buildable or self._buildable_lsc
+
end
+
+
function ShipData:buildable_and()
+
return self._buildable and self._buildable_lsc
end
end
がか
cssedit, gkautomate
7,064
edits