Changes

no edit summary
Line 4: Line 4:  
local ShipClass = require('Module:ShipClass')
 
local ShipClass = require('Module:ShipClass')
 
local dropData
 
local dropData
 +
local sortIds = require("Module:DropList/Sort")
    
local BaseData = require("Module:BaseData")
 
local BaseData = require("Module:BaseData")
Line 131: Line 132:  
function ShipData:true_id()
 
function ShipData:true_id()
 
return self._true_id
 
return self._true_id
 +
end
 +
 +
function ShipData:sort_id()
 +
return sortIds[self._api_id] or 0
 
end
 
end
  
cssedit, gkautomate
7,064

edits