« Module:Crafting » : différence entre les versions
Aucun résumé des modifications Balise : Révoqué |
m Révocation d’une modification réalisée par Admin (discussion) et restauration de la dernière version réalisée par Squirkiz Balise : Révocation |
||
| Ligne 4 : | Ligne 4 : | ||
colored = 'coloré', | colored = 'coloré', | ||
coloredDyes = { | coloredDyes = { | ||
'Teinture orange', 'Teinture magenta', 'Teinture bleu clair', ' | 'Teinture blanche', 'Teinture orange', 'Teinture magenta', 'Teinture bleu clair', 'Jaune pissenlit', 'Teinture vert clair', | ||
'Teinture rose', 'Teinture grise', 'Teinture gris clair', 'Teinture cyan', 'Teinture violette', | 'Teinture rose', 'Teinture grise', 'Teinture gris clair', 'Teinture cyan', 'Teinture violette', | ||
'Teinture bleue', 'Teinture marron', ' | 'Lapis-lazuli', 'Teinture bleue', 'Fèves de cacao', 'Teinture marron', 'Vert de cactus', 'Rouge de rose', 'Poche d\'encre', 'Teinture noire', | ||
}, | }, | ||
categoryIngredientUsage = ' | categoryIngredientUsage = 'Category:Recipe using $1', | ||
categoryRecipeType = ' | categoryRecipeType = 'Category:$1 recipe', | ||
categoryUpcoming = ' | categoryUpcoming = 'Category:Upcoming', | ||
itemBlockOfQuartz = ' | itemBlockOfQuartz = 'Block of Quartz', | ||
itemBrownMushroom = ' | itemBrownMushroom = 'Brown Mushroom', | ||
itemCharcoal = ' | itemCharcoal = 'Charcoal', | ||
itemCoal = ' | itemCoal = 'Coal', | ||
itemColoredDye = ' | itemColoredDye = 'Colored Dye', | ||
itemDye = ' | itemDye = 'Dye', | ||
itemMushroom = ' | itemMushroom = 'Mushroom', | ||
itemQuartzBlock = ' | itemQuartzBlock = 'Quartz Block', | ||
itemRedMushroom = ' | itemRedMushroom = 'Red Mushroom', | ||
itemStone = ' | itemStone = 'Stone', | ||
itemWhiteDye = ' | itemWhiteDye = 'White Dye', | ||
moduleArgs = [[Module:ProcessArgs]], | moduleArgs = [[Module:ProcessArgs]], | ||
moduleRecipe = [[Module: | moduleRecipe = [[Module:Recipe table]], | ||
moduleSlot = [[Module: | moduleSlot = [[Module:Inventory slot]], | ||
stoneVariants = { ' | stoneVariants = { 'Stone', 'Andesite', 'Granite', 'Diorite' }, | ||
type = ' | type = 'Crafting', | ||
variantPages = { | variantPages = { | ||
'Andésite', 'Bannière', 'Diorite', 'Étoile de feu d\'artifice', 'Granite', 'Lit', | 'Andésite', 'Bannière', 'Diorite', 'Étoile de feu d\'artifice', 'Granite', 'Lit', | ||
| Ligne 124 : | Ligne 124 : | ||
type = i18n.type, | type = i18n.type, | ||
ingredientArgs = cArgVals, | ingredientArgs = cArgVals, | ||
outputArgs = { ' | outputArgs = { 'Output' }, | ||
} ) | } ) | ||
| Ligne 134 : | Ligne 134 : | ||
local categories = {} | local categories = {} | ||
local cI = 1 | local cI = 1 | ||
if args.upcoming | if args.upcoming then | ||
categories[cI] = '[[' .. i18n.categoryUpcoming .. ']]' | categories[cI] = '[[' .. i18n.categoryUpcoming .. ']]' | ||
cI = cI + 1 | cI = cI + 1 | ||
| Ligne 144 : | Ligne 144 : | ||
end | end | ||
if args. | if args.ignoreusage ~= '1' then | ||
-- Create ingredient categories for DPL | -- Create ingredient categories for DPL | ||
local usedNames = {} | local usedNames = {} | ||