diff --git a/Menú artístico.gen b/Menú artístico.gen new file mode 100755 index 0000000..027ccdd --- /dev/null +++ b/Menú artístico.gen @@ -0,0 +1,53 @@ +#!/usr/bin/env lua +local m = 1 +local f = 2 + +local tipos = { + {"Un collage", m}, + {"Una intervención contrapublicitaria o contrapropaganda", f}, + {"Una cerámica", f}, + {"Un comic", m}, +} + +local temas = { + "destrucción ambiental", + "una canción", + "otra obra artística", + "el mercado inmobiliario", + "redes sociales", +} + +local adjetivos = { + {"", ""}, + {"feo", "fea"}, +} + +local random_i = 1 +local function random(list) + math.randomseed(os.time() + random_i) + random_i = random_i + 5 + return list[math.random(#list)] +end + +print("