diff --git a/compendium/wfrp4e-archives1.archives1-tables.json b/compendium/wfrp4e-archives1.archives1-tables.json index 04bb609..6c2a280 100644 --- a/compendium/wfrp4e-archives1.archives1-tables.json +++ b/compendium/wfrp4e-archives1.archives1-tables.json @@ -7,11 +7,13 @@ }, { "id": "Random Euphemisms - Noun", - "name": "Random Euphemisms - Noun" + "name": "Euphémismes aléatoires - Nom", + "results": {"6-6":"...la Saucisse de Sigmar","7-7":"...la croute des Tourtes","8-8":"...les Dingleberries","9-9":"...les Morveux","10-10":"...la tour du Sorcier","1-1":"...le Mouton","2-2":"...le Manche à balai","3-3":"...le Tromblon","4-4":"...le vieux Quinsberry","5-5":"...les Royaumes du Chaos"} }, { "id": "Random Euphemisms - Participle", - "name": "Random Euphemisms - Participle" + "name": "Euphémismes aléatoires - Participe", + "results": {"1-1":"En polissant","2-2":"En visitant","3-3":"Aggravant","4-4":"En cuisinant","5-5":"En secouant","6-6":"En grignotant","7-7":"En enchantant","8-8":"En mutant","9-9":"En tirant","10-10":"En pillant"} } ] } \ No newline at end of file diff --git a/tools/foundry_convert_tables.lua b/tools/foundry_convert_tables.lua index 44d18ea..41d44d3 100644 --- a/tools/foundry_convert_tables.lua +++ b/tools/foundry_convert_tables.lua @@ -10,12 +10,12 @@ local tabData = JSON.decode(strjson) local results = {} for idx, row in pairs(tabData.rows) do - if row.range.Participle[1] then - local min = row.range.Participle[1] - local max = row.range.Participle[2] + if row.range.Noun[1] then + local min = row.range.Noun[1] + local max = row.range.Noun[2] local field = tostring(min).."-"..tostring(max) --results[field] = ""..row.name..":"..row.description - results[field] = row.Participle.description + results[field] = row.Noun.description print(field, row.name) end end