Module:MOS: Difference between revisions

Inthar (talk | contribs)
No edit summary
Inthar (talk | contribs)
No edit summary
Line 49: Line 49:
ns = round(ns/d)
ns = round(ns/d)
end
end
current_nL, current_ns = nL, ns
local current_nL, current_ns = nL, ns
local path_to_root = {}
local path_to_root = {}
while current_nL > 1 or current_ns > 1 do -- while current mos is not 1L 1s<equave>, record current mos and go up to parent
while current_nL > 1 or current_ns > 1 do -- while current mos is not 1L 1s<equave>, record current mos and go up to parent
Line 77: Line 77:
ns = round(ns/d)
ns = round(ns/d)
end
end
current_nL, current_ns = nL, ns
local current_nL, current_ns = nL, ns
local path_to_root = {}
local path_to_root = {}
while current_nL > 1 or current_ns > 1 do -- while current mos is not 1L 1s, record current mos and go up to parent
while current_nL > 1 or current_ns > 1 do -- while current mos is not 1L 1s, record current mos and go up to parent