Modulo:Stemma: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
aggiornamento generale
m aggiornata configurazione
Riga 37:
-- verifica argomenti
if not self.orn then
error(string.format('l\'ornamento %s non esiste', self.ornName or ''), 3)
elseif args.coef and not self.coef then
error('coef non è valido', 3)
Riga 44:
self.coef = self.coef or 1
self.ornFile = self.orn[1]
self.ornSize = tonumbermath.floor(self.orn[2]) * self.coef)
self.scudoSize = tonumbermath.floor(self.orn[3]) * self.coef)
self.scudoTop = math.floor(tonumber(self.orn[4]) + 50) * self.coef)
self.scudoLeft = math.floor(tonumber(self.orn[5]) + 50) * self.coef)
return self