Module:RandomComingSoonImg
Documentation for this module may be created at Module:RandomComingSoonImg/doc
local p = {}
function p.getImage(frame)
-- List of WIP image filenames (including path if stored in a subdirectory)
local images = {
"CS1.png",
"CS2.png",
"CS3.png",
"CS4.png",
"CS5.png",
"CS6.png",
"CS7.png",
"CS8.png",
"CS9.png",
"CS10.png",
"CS11.png",
"CS12.png",
}
-- Seed the random number generator for better randomness
math.randomseed(os.time() + tonumber(tostring(math.random()):sub(3, 8)))
-- Select a random image from the list
local selected = images[math.random(#images)]
return selected
end
return p