Cambios

Saltar a: navegación, buscar

Módulo:Crafting

433 bytes añadidos, 21:54 26 abr 2014
sin resumen de edición
local description = ''
if args.showname == '1' or multirow and args.showname ~= '0' then
name = 'Nombre Name !! '
f:callParserFunction( '#dplvar:set', 'craftingname', '1' )
end
if args.showdescription == '1' then
description = ' !! class="unsortable" | DescripcionDescription'
f:callParserFunction( '#dplvar:set', 'craftingdescription', '1' )
end
header = table.concat( {
' {| class="wikitable ' .. class .. '"',
'! ' .. name .. 'Ingredientes Ingredients !! ' .. recipeClass .. ' Entrada » Salida[[Crafting]] recipe' .. description,
'|-'
}, '\n' )
end
nameCell = table.concat( links, '&nbsp;oor<br>' )
end
end
separator = ''
elseif animatedIngredients[v] and not animatedIngredients[v].final then
separator = '&nbsp;oor'
end
local mod = ( ingredients[v] or animatedIngredients[v] ).mod
if args[8] then
-- ◼◼◼ ◼◼◼
-- ◼◼◼ O OR ◼◼◼
-- ◼◼◼ ◼◼◻
newArgs.A3 = args[7]
if args[5] then
-- ◻◻◻ ◻◻◻
-- ◼◼◼ O OR ◼◼◼
-- ◼◼◼ ◼◼◻
newArgs.C2 = args[3]
else
-- ◻◻◻ ◻◻◻
-- ◼◼◻ O OR ◼◼◻
-- ◻◼◻ ◻◻◻
newArgs.B3 = args[3]
if args.upcoming then
table.insert( categories, '[[Category:ProximamenteUpcoming]]' )
end
v = v:sub( 2 )
if not v:find( ':' ) then
if v == 'Any Dye' then for _, dye in ipairs( { 'Orange Dye', 'Magenta Dye', 'Light Blue Dye', 'Dandelion Yellow', 'Lime Dye', 'Pink Dye', 'Gray Dye', 'Light Gray Dye', 'Cyan Dye', 'Purple Dye', 'Lapis Lazuli', 'Cocoa Beans', 'Cactus Green', 'Rose Red', 'Ink Sac' } ) do table.insert( categories, '[[Category:Recipe using ' .. dye .. ']]' ) end else if v == 'Sticky Piston' then v = 'Piston' elseif v == 'Red Mushroom' or v == 'Brown Mushroom' then v = 'Mushroom' elseif v == 'Red Sand' then v = 'Sand' elseif v == 'Charcoal' then v = 'Coal' elseif v:find( ' Wood$' ) then v = 'Wood' elseif v:find( ' Wood Planks$' ) then v = 'Wood Planks' elseif v:find( ' Stained Glass$' ) then v = 'Stained Glass' elseif v:find( ' Stained Glass Pane$' ) then v = 'Stained Glass Pane' elseif v:find( ' Wool$' ) then v = 'Wool' elseif v:find( ' Sandstone$' ) then v = 'Sandstone' elseif v:find( ' Stairs$' ) then v = 'Stairs' elseif v:find( ' Slab$' ) then v = 'Slab' elseif v:find( ' Pressure Plate$' ) then v = 'Pressure Plate' elseif v:find( ' Tulip$' ) then v = 'Tulip' elseif v:find( ' Firework Star$' ) then v = 'Firework Star' elseif v:find( ' Stone Bricks$' ) then v = 'Stone Bricks' elseif v:find( ' Quartz Block$' ) then v = 'Block of Quartz' elseif v:find( ' Andesite$' ) then v = 'Andesite' elseif v:find( ' Diorite$' ) then v = 'Diorite' elseif v:find( ' Granite$' ) then v = 'Granite' end table.insert( categories, '[[Category:Recipe using ' .. v .. ']]' )
end
table.insert( categories, '[[Category:Recetas que usan ' .. v .. ']]' )
end
end
2712
ediciones

Menú de navegación