Diferencia entre revisiones de «Módulo:LootChest»

Leynaf (discusión | contribs.)
Página creada con «local p = { calc_average_amount_this_item_per_pool = function( min_stacksize, max_stacksize, min_pool_rolls, max_pool_rolls, item_weight, pool_total_item_weigh...»
 
Leynaf (discusión | contribs.)
Sin resumen de edición
Línea 129: Línea 129:
chests = {
chests = {
["village-blacksmith"] = { -- village_blacksmith.json
["village-blacksmith"] = { -- village_blacksmith.json
header = "[[Village]]",
header = "[[Aldea]]",
link  = "[[village]] blacksmith",
link  = "[[Aldea]]",
pools = {
pools = {
{
{
Línea 158: Línea 158:
["stronghold-altar"] = { -- stronghold_corridor.json
["stronghold-altar"] = { -- stronghold_corridor.json
header      = "Altar",
header      = "Altar",
superheader = "[[Stronghold]]",
superheader = "[[Fotaleza]]",
link        = "[[stronghold]] altar",
link        = "[[Fotaleza]]",
pools = {
pools = {
{
{
Línea 188: Línea 188:
},
},
["stronghold-library"] = { -- stronghold_library.json
["stronghold-library"] = { -- stronghold_library.json
header      = "Library",
header      = "Biblioteca",
superheader = "[[Stronghold]]",
superheader = "[[Fortaleza]]",
link        = "[[stronghold]] library",
link        = "[[Fortaleza]]",
pools = {
pools = {
{
{
Línea 217: Línea 217:
},
},
["stronghold-storeroom"] = { -- stronghold_crossing.json
["stronghold-storeroom"] = { -- stronghold_crossing.json
header      = "Storeroom",
header      = "Despensa",
superheader = "[[Stronghold]]",
superheader = "[[Fortaleza]]",
link        = "[[stronghold]] storeroom",
link        = "[[Fortaleza]]",
pools = {
pools = {
{
{
Línea 291: Línea 291:
},
},
["dungeon"] = { -- simple_dungeon.json
["dungeon"] = { -- simple_dungeon.json
header = "[[Dungeon]]",
header = "[[Mazmorra]]",
link  = "[[dungeon]]",
link  = "[[Mazmorra]]",
pools = {
pools = {
{
{
Línea 359: Línea 359:
},
},
["mineshaft"] = { -- abandoned_mineshaft.json
["mineshaft"] = { -- abandoned_mineshaft.json
header = "[[Mineshaft]]",
header = "[[Mina]]",
link  = "[[abandoned mine shaft]]s",
link  = "[[Mina abandonada]]",
pools = {
pools = {
{
{
Línea 415: Línea 415:
["powered-rail"]        = {1,4,5},
["powered-rail"]        = {1,4,5},
["detector-rail"]      = {1,4,5},
["detector-rail"]      = {1,4,5},
["activator-rail"]      = {1,4,5},
["activator-rail"]      = {1,4,5},
["torch"]              = {1,16,15},
["torch"]              = {1,16,15},
}
}
Línea 422: Línea 422:
},
},
["nether-fortress"] = { -- nether_bridge.json
["nether-fortress"] = { -- nether_bridge.json
header = "[[Nether fortress|Nether]]<br>[[Nether fortress|fortress]]",
header = "[[Fortaleza del Inframundo|Fortaleza del]]<br>[[Fortaleza del Inframundo|Inframundo]]",
link  = "[[nether fortress]]",
link  = "[[Fortaleza del Inframundo]]",
pools = {
pools = {
{
{
Línea 464: Línea 464:
},
},
["desert-temple"] = { -- desert_pyramid.json
["desert-temple"] = { -- desert_pyramid.json
header = "[[Desert temple]]",
header = "[[Templo del desierto]]",
link  = "[[desert temple]]",
link  = "[[Templo del desierto]]",
pools = {
pools = {
{
{
Línea 525: Línea 525:
items = {
items = {
["diamond"]            = {1,3,3},
["diamond"]            = {1,3,3},
["iron-ingot"]          = {1,5,10},
["iron-ingot"]          = {1,5,10},
["gold-ingot"]          = {2,7,15},
["gold-ingot"]          = {2,7,15},
["emerald"]            = {1,3,2},
["emerald"]            = {1,3,2},
Línea 540: Línea 540:
},
},
["end-city"] = { -- end_city_treasure.json
["end-city"] = { -- end_city_treasure.json
header = "[[End city]]",
header = "[[Ciudad del Fin]]",
link  = "[[End city]]",
link  = "[[Ciudad del Fin]]",
poolsDev = {
poolsDev = {
{
{
Línea 574: Línea 574:
},
},
["igloo"] = {
["igloo"] = {
header = "[[Igloo]]",
header = "[[Iglú]]",
link  = "[[igloo]]",
link  = "[[Iglú]]",
poolsDev = {
poolsDev = {
{
{
Línea 639: Línea 639:
columns = {
columns = {
["stacksize"] = 'the size of stacks (or for unstackable items, number) of this item found in this chest.',
["stacksize"] = 'el tamaño de las pilas (o por número de objetos no apilables) de este objeto que se encuentran en este cofre.',
["weight"] = 'the weight of this item relative to other items in the chest.',
["weight"] = 'la cantidad de este objeto en relación con otros objetos en el cofre.',
["items"] = 'the number of items expected per chest, averaged over a large number of chests.',
["items"] = 'el número de objetos esperados por cada cofre, como promedio sobre un gran número de cofres.',
["chance"] = 'the odds of getting any of this item in a single chest.',
["chance"] = 'las probabilidades de conseguir cualquiera de este material en un solo cofre.',
["chests"] = 'the number of chests expected to search, to find any of this item.'
["chests"] = 'el número de cofres esperados que buscar, para encontrar algo de este objeto.'
},
},
Línea 1227: Línea 1227:
if q.tablelength(columns) == 1 then
if q.tablelength(columns) == 1 then
for column_name, v in pairs(columns) do
for column_name, v in pairs(columns) do
table.insert( html, "Values represent " )
table.insert( html, "Los valores representan " )
table.insert( html, p.columns[column_name] )
table.insert( html, p.columns[column_name] )
table.insert( html, "\n" )
table.insert( html, "\n" )