Module:MOS intro: Difference between revisions

Ganaram inukshuk (talk | contribs)
m Removed redundant require-utils, made some code more readable
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 16: Line 16:
-- Function that creates a mos intro sentence, given a mos and any other names
-- Function that creates a mos intro sentence, given a mos and any other names
function p.mos_intro_sentence(input_mos, other_names)
function p.mos_intro_sentence(input_mos, other_names)
local input_mos = input_mos or mos.new(4, 5, 3)
local input_mos = input_mos or mos.new(4, 8, 3)
local other_names = other_names or "name1; name2; name3"
local other_names = other_names or "name1; name2; name3"
Line 110: Line 110:
intro = intro .. " repating every "
intro = intro .. " repating every "
else
else
intro = intro .. " with a [[period]] of "
if x == 1 then
if x == 1 then
intro = intro .. " with a period of 1 large step and "
intro = intro .. "1 large step and "
else
else
intro = intro .. " with a period of " .. x .. " large steps and "
intro = intro .. x .. " large steps and "
end
end
if y == 1 then
if y == 1 then