Diferencia entre revisiones de «Módulo:Crafting»
m Revertidos los cambios de Xstela (disc.) a la última edición de MinedNugget |
Sin resumen de edición |
||
| Línea 267: | Línea 267: | ||
v = v:sub( 2 ) | v = v:sub( 2 ) | ||
if not v:find( ':' ) then | if not v:find( ':' ) then | ||
if v == 'Tintes' then | |||
for _, tintes in ipairs( { | |||
'Tinte Naranja', 'Tinte Magenta', 'Tinte Azul Claro', 'Tinte Amarillo', 'Tinte Verde Lima', | |||
'Tinte Rosa', 'Tinte Gris', 'Tinte Gris Claro', 'Tinte Cian', 'Tinte Morado', | |||
'Lapislázuli', 'Semillas de Cacao', 'Tinte Verde', 'Tinte Rojo', 'Saco de Tinta' | |||
} ) do | |||
table.insert( categories, '[[Category:Recetas ' .. dye .. ']]' ) | |||
end | |||
else | |||
if v == 'Sticky Piston' then v = 'Piston' | if v == 'Sticky Piston' then v = 'Piston' | ||
elseif v == 'Red Mushroom' or v == 'Brown Mushroom' then v = 'Mushroom' | elseif v == 'Red Mushroom' or v == 'Brown Mushroom' then v = 'Mushroom' | ||
| Línea 293: | Línea 304: | ||
end | end | ||
end | end | ||
end | |||
categories = table.concat( categories, '' ) | categories = table.concat( categories, '' ) | ||
end | end | ||