Modulo:Fumetto e animazione/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
semplifico |
m + |
||
Riga 84:
setmetatable(self, { __index = Media })
self.
self.sottotipo = args.sottotipo
self.name = self:_getName()
self.alias = self:_getName(true)
return self
Riga 95:
function Media:inArray(...)
for _, value in ipairs({ ... }) do
if self
return true
end
Riga 106:
local key_tipo = alias and 'prefisso_tipo' or 'tipo'
local key_sottotipo = alias and 'prefisso_sottotipo' or 'sottotipo'
local ret = cfg[key_sottotipo][self
cfg[key_sottotipo][self
cfg[key_tipo][self
return ret and lcfirst(ret) or nil
end
Riga 176:
self:_addCategory(self.media.alias .. broadcaster)
end
elseif self.
self
:_addCategoriesBy('editore_manga')
Riga 187:
:_addCategoriesBy('etichetta')
:_addCategoriesBy('editore')
elseif self.
self
:_addCategoriesBy('etichetta_sottotipo', nil, self['_prependSubtype'])
Riga 198:
self:_addCategory(self.media.name)
end
elseif self.
self
:_addCategoriesBy('etichetta')
Riga 209:
self:_addCategory(self.media.name)
-- categorizzazione per anno delle opere previste
elseif self.year and self.
local media = not self.
self:_addCategory(string.format('%s del %s', media, self.year))
end
Riga 320:
-- Antepone il sottotipo dell'opera a una stringa
function CategoryManager:_prependSubtype(value)
return self.
end
|