Cambios

Saltar a: navegación, buscar

Módulo:LootChest

380 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>",
},
chests = {
["village-blacksmith"] = { -- village_blacksmith.json
header = "[[VillageAldea]]", link = "[[villageAldea]] blacksmith",
pools = {
{
["stronghold-altar"] = { -- stronghold_corridor.json
header = "Altar",
superheader = "[[StrongholdFortaleza]]", link = "[[strongholdFortaleza]] altar",
pools = {
{
},
["stronghold-library"] = { -- stronghold_library.json
header = "LibraryBiblioteca", superheader = "[[StrongholdFortaleza]]", link = "[[strongholdFortaleza]] library",
pools = {
{
},
["stronghold-storeroom"] = { -- stronghold_crossing.json
header = "StoreroomDespensa", superheader = "[[StrongholdFortaleza]]", link = "[[strongholdFortaleza]] storeroom",
pools = {
{
},
["dungeon"] = { -- simple_dungeon.json
header = "[[DungeonMazmorra]]", link = "[[dungeonMazmorra]]",
pools = {
{
},
["mineshaft"] = { -- abandoned_mineshaft.json
header = "[[MineshaftMinas abandonadas|Mina]]", link = "[[abandoned mine shaftMinas abandonadas]]s",
pools = {
{
["powered-rail"] = {1,4,5},
["detector-rail"] = {1,4,5},
["activator-rail"] = {1,4,5},
["torch"] = {1,16,15},
}
},
["nether-fortress"] = { -- nether_bridge.json
header = "[[Nether fortressFortaleza del Inframundo|NetherFortaleza del]]<br>[[Nether fortressFortaleza del Inframundo|fortressInframundo]]", link = "[[nether fortressFortaleza del Inframundo]]",
pools = {
{
},
["desert-temple"] = { -- desert_pyramid.json
header = "[[Desert templeTemplo del desierto|Templo del]]<br>[[Templo del desierto|desierto]]", link = "[[desert templeTemplo del desierto]]",
pools = {
{
},
["jungle-temple"] = { -- jungle-temple.json
header = "[[Jungle templeTemplo de la selva|Templo de]]<br>[[Templo de la selva|la selva]]", link = "[[jungle templeTemplo de la selva]]",
pools = {
{
items = {
["diamond"] = {1,3,3},
["iron-ingot"] = {1,5,10},
["gold-ingot"] = {2,7,15},
["emerald"] = {1,3,2},
},
["end-city"] = { -- end_city_treasure.json
header = "[[End cityCiudad del Fin|Ciudad]]<br>[[Ciudad del Fin|del Fin]]", link = "[[End cityCiudad del Fin]]",
poolsDev = {
{
},
["igloo"] = {
header = "[[IglooIglú]]", link = "[[iglooIglú]]",
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"
},
columns = {
["stacksize"] = 'the size of stacks el tamaño de las pilas (or for unstackable items, numbero por número de objetos no apilables) of this item found in this chestde este objeto que se encuentran en este cofre.', ["weight"] = 'the weight of this item relative to other items in the chestla cantidad de este objeto en relación con otros objetos en el cofre.', ["items"] = 'the number of items expected per chestel número de objetos esperados por cada cofre, averaged over a large number of chestscomo promedio sobre un gran número de cofres.', ["chance"] = 'the odds of getting any of this item in a single chestlas probabilidades de conseguir cualquiera de este material en un solo cofre.', ["chests"] = 'the number of chests expected to searchel número de cofres esperados que buscar, to find any of this itempara encontrar algo de este objeto.'
},
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
if q.tablelength(columns) == 1 then
for column_name, v in pairs(columns) do
table.insert( html, "Values represent Los valores representan " )
table.insert( html, p.columns[column_name] )
table.insert( html, "\n" )
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