Changes

m
no edit summary
Line 34: Line 34:  
end
 
end
 
return mw.ustring.format('Module:%s', name)
 
return mw.ustring.format('Module:%s', name)
 +
end
 +
 +
function Equipment:extend(data)
 +
data = data or {}
 +
setmetatable(data, data)
 +
data.__index = self
 +
data.__call = self.__call
 +
return data
 
end
 
end
  
cssedit, gkautomate
7,064

edits