Changes

no edit summary
Line 2: Line 2:  
_image_template = "[[File:%s]]",
 
_image_template = "[[File:%s]]",
 
_no_image = "Catbomb.png|300px",
 
_no_image = "Catbomb.png|300px",
 +
_simple_link = "[[%s]]",
 +
_aliased_link = "[[%s|%s]]",
 
}
 
}
   Line 49: Line 51:  
function BaseData:create(data)
 
function BaseData:create(data)
 
data = data or {}
 
data = data or {}
setmetatable(data, self)
+
setmetatable(data, data)
self.__index = self
+
data.__index = self
 
return data
 
return data
 
end
 
end
Anonymous user