Module:TAMNAMS: Difference between revisions
Created page with "-- Module for TAMNAMS-related things as it pertains to mosses -- Work in progress local mos = require('Module:MOS') local p = {} -- Lookup table for official tamnams names p...." |
Added tables for step ratios |
||
| Line 3: | Line 3: | ||
local mos = require('Module:MOS') | local mos = require('Module:MOS') | ||
local p = {} | local p = {} | ||
-- Lookup table for tamnams step ratios | |||
p.tamnams_ratios = { | |||
['1:1'] = 'equalized', | |||
['4:3'] = 'supersoft', | |||
['3:2'] = 'soft', | |||
['5:3'] = 'semisoft', | |||
['2:1'] = 'basic', | |||
['5:2'] = 'semihard', | |||
['3:1'] = 'hard', | |||
['4:1'] = 'superhard', | |||
['1:0'] = 'collapsed' | |||
} | |||
-- And step ratio ranges | |||
p.tamnams_ranges = { | |||
['1:1 to 2:1'] = 'soft-of-basic', | |||
['1:1 to 4:3'] = 'ultrasoft', | |||
['4:3 to 3:2'] = 'parasoft', | |||
['3:2 to 2:1'] = 'hyposoft', | |||
['3:2 to 5:3'] = 'quasisoft', | |||
['5:3 to 2:1'] = 'minisoft', | |||
['2:1 to 5:2'] = 'minihard', | |||
['5:2 to 3:1'] = 'quasihard', | |||
['2:1 to 3:1'] = 'hypohard', | |||
['3:1 to 4:1'] = 'parahard', | |||
['4:1 to 1:0'] = 'ultrahard', | |||
['2:1 to 1:0'] = 'hard-of-basic' | |||
} | |||
-- Lookup table for tamnams extended step ratios | |||
p.tamnams_ratios_ext = { | |||
['1:1'] = 'equalized', | |||
['6:5'] = 'semiequalized', | |||
['4:3'] = 'supersoft', | |||
['3:2'] = 'soft', | |||
['5:3'] = 'semisoft', | |||
['2:1'] = 'basic', | |||
['5:2'] = 'semihard', | |||
['3:1'] = 'hard', | |||
['4:1'] = 'superhard', | |||
['6:1'] = 'extrahard', | |||
['10:1'] = 'semicollapsed', | |||
['1:0'] = 'collapsed' | |||
} | |||
-- And extended step ratio ranges | |||
p.tamnams_ranges_ext = { | |||
['1:1 to 2:1'] = 'soft-of-basic', | |||
['1:1 to 6:5'] = 'semiequalized', | |||
['6:5 to 4:3'] = 'ultrasoft', | |||
['4:3 to 3:2'] = 'parasoft', | |||
['3:2 to 2:1'] = 'hyposoft', | |||
['3:2 to 5:3'] = 'quasisoft', | |||
['5:3 to 2:1'] = 'minisoft', | |||
['2:1 to 5:2'] = 'minihard', | |||
['5:2 to 3:1'] = 'quasihard', | |||
['2:1 to 3:1'] = 'hypohard', | |||
['3:1 to 4:1'] = 'parahard', | |||
['4:1 to 6:1'] = 'hyperhard', | |||
['6:1 to 10:1'] = 'clustered', | |||
['4:1 to 10:1'] = 'ultrahard', | |||
['10:1 to 1:0'] = 'pseudocollapsed', | |||
['2:1 to 1:0'] = 'hard-of-basic' | |||
} | |||
-- Lookup table for official tamnams names | -- Lookup table for official tamnams names | ||