Cambios

Saltar a: navegación, buscar

Módulo:LootChest

159 bytes añadidos, 01:30 12 abr 2016
sin resumen de edición
end,
dev = 'In En la {{1.9}},{{upcoming}} ',
-- these define which sprite, label and link to use, in the table,
notes = {
["level-book"] = "<ref group='note' name='level-book'>Enchanted books in the same chest will have the same enchantments Los libros encantados que se encuentren en el mismo cofre tendrán los mismos encantos (not in no en la {{1.9}}{{upcoming}}). Enchantment probabilities are the same as a level-Las probabilidades de encantamiento son las mismas que un hechizo de nivel 30 enchantment on an en una [[enchantment tablemesa de encantamientos]], but the chance of multiple enchantments is not reducedpero la posibilidad de múltiples encantos no se reduce.</ref>", ["end-ench-equipment"] = "<ref group='note' name='end-city-enchantment'>Enchanted items of the same type in the same chest will have the same enchantmentsLos objetos encantados del mismo tipo en el mismo cofre tendrán los mismos encantos. Enchantment probabilities are the same as Las probabilidades de encanto son las mismas que de un nivel 20 a level-20 to level-un nivel 39 <!-- Yes, really realmente 39 even though the table normally only goes to a pesar de que la mesa normalmente sólo va hasta 30 --> enchantment on an de encanto en una [[enchantment tablemesa de encantamientos]].</ref>", ["random-book"] = "<ref group='note' name='random-book'>All enchantments are equally probableTodos los encantamientos son igualmente probables, and any level of the enchantment is equally y cualquier nivel de encantamiento es igualmente probable.</ref>",
},
},
["end-city"] = { -- end_city_treasure.json
header = "[[Ciudad del Fin|Ciudad]]<br>[[Ciudad del Fin|del Fin]]",
link = "[[Ciudad del Fin]]",
poolsDev = {
display_names = {
["nether-fortress"] = "Nether fortressfortaleza del inframundo", ["nether"] = "Nether fortressfortaleza del inframundo", ["fortress"] = "Nether fortressfortaleza del inframundo", ["desert"] = "desert templetemplo del desierto", ["jungle"] = "jungle templetemplo de la selva", ["desert-temple"] = "desert templetemplo del desierto", ["jungle-temple"] = "jungle templetemplo de la selva"
},
table.insert( html, item_display_name )
table.insert( html, ' can be found se pueden encontrar ' )
local html_stacks = {}
s = s + 1
local html_per_stack = { 'in en ' }
local c = 0
local nc = q.tablelength( chest_details )
c = c + 1
if c == nc and nc > 1 then
table.insert( html_per_stack, 'and y ' )
end
table.insert( html_per_stack, string.format("%.1f", chest.chance*100) )
table.insert( html_per_stack, "% of de " )
if chest.chest_name == 'mineshaft' then
table.insert( html_per_stack, ' [[Minecart with ChestVagoneta con cofre|chest minecartsvagonetas con cofre]] in en ' )
table.insert( html_per_stack, p.chests[chest.chest_name].link )
else
table.insert( html_per_stack, p.chests[chest.chest_name].link )
table.insert( html_per_stack, ' chestscofres' )
end
table.insert( html_per_stack, sep )
end
if nc > 2 then
table.insert( html_per_stack, 'all todo ' )
end
table.insert( html_per_stack, 'in en ' )
if p.items[itemname].cannot_stack ~= nil then
table.insert( html_per_stack, 'groups of grupos de ' )
else
table.insert( html_per_stack, 'stacks of pilas de ' )
end
table.insert( html_per_stack, stacksize )
table.insert( html, stack_sep )
end
table.insert( html, 'and y ' )
table.insert( html, html_stacks[#html_stacks] )
end
chest_name = chest_name:gsub( "-", " " )
table.insert( html, "Each Cada " )
table.insert( html, display_name or chest_name )
table.insert( html, " chest contains cofre contiene " )
if #allRolls == 1 then
table.insert( html, allRolls[1] )
else
table.insert( html, #allRolls )
table.insert( html, ' groups of grupos de ' )
local s = q.tern( #allRolls > 2, ', ', ' ' )
for i = 1, #allRolls-1 do
table.insert( html, s )
end
table.insert( html, 'and y ' )
table.insert( html, allRolls[#allRolls] )
end
table.insert( html, " item stackspilas de objetos, with the following distributioncon la siguiente distribución: \n" )
end
Colaborador, Bots, Administradores
10 223
ediciones

Menú de navegación