#!/usr/bin/env ruby

require 'textgen.rb'

strings = {
        "cwilv00" => "ENTREE",
        "cwilv01" => "HALLS SOUTERRAINS",
        "cwilv02" => "LE FEU NOURRI",
        "cwilv03" => "LE FOYER",
        "cwilv04" => "LES EGOUTS",
        "cwilv05" => "LE BROYEUR",
        "cwilv06" => "L'HERBE DE LA MORT",
        "cwilv07" => "RUSES ET PIEGES",
        "cwilv08" => "LE PUITS",
        "cwilv09" => "BASE DE RAVITAILLEMENT",
        "cwilv10" => "LE CERCLE DE LA MORT!",
        "cwilv11" => "L'USINE",
        "cwilv12" => "LE CENTRE VILLE",
        "cwilv13" => "LES ANTRES PROFONDES",
        "cwilv14" => "LA ZONE INDUSTRIELLE",
        "cwilv15" => "LA BANLIEUE",
        "cwilv16" => "LES IMMEUBLES",
        "cwilv17" => "LA COUR",
        "cwilv18" => "LA CITADELLE",
        "cwilv19" => "JE T'AI EU!",
        "cwilv20" => "LE NIRVANA",
        "cwilv21" => "LES CATACOMBES",
        "cwilv22" => "LA GRANDE FETE",
        "cwilv23" => "LE GOUFFRE",
        "cwilv24" => "LES CHUTES DE SANG",
        "cwilv25" => "LES MINES ABANDONNEES",
        "cwilv26" => "CHEZ LES MONSTRES",
        "cwilv27" => "LE MONDE DE L'ESPRIT",
        "cwilv28" => "LA LIMITE",
        "cwilv29" => "L'ICONE DU PECHE",
        "cwilv30" => "WOLFENSTEIN",
        "cwilv31" => "LE MASSACRE",
}

Dir.mkdir("french")

strings.each_pair do |key, value|
    img = gen_text(value)
    img.write("french/" + key + ".png")
end



