- 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:Equipment
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 Equipment = {}
local equipments = {}
local EquipmentData = require('Module:EquipmentData')
function Equipment:get(stat, name)
return self:create(name)[stat]()
end
function Equipment:create(name)
if equipments[name] then
return equipments[name]
else
local equipment_table = require(mw.ustring.format('Module:%s', name))
local equipment = EquipmentData:create(equipment_table)
equipments[name] = equipment
return equipment
end
end
000
1:0
Template used on this page:
Return to Module:Equipment.