Module:Sandbox/LootChest/config
< Module:Sandbox | LootChest
return {
['switch'] = {
-- Used to determine whether to display the loot table of the upcoming version. Please change to false after the corresponding official release.
['javaDev'] = true,
['bedrockBeta'] = true
},
['header'] = {
-- all
['item'] = 'Item',
['stack'] = '<abbr title="The number of single stacks (or count of non-stackable items) that can be grabbed in one action.">Stack Size</abbr>',
['weight'] = '<abbr title="The relative weight of this item compared to other items in the loot pool.">Weight</abbr>',
['probability'] = '<abbr title="The probability that this item will appear in a chest.">Probability</abbr>',
['itemNumber'] = '<abbr title="Expected number of this item per chest, assuming a sufficient number of chests are searched.">Item Number</abbr>',
['boxNumber'] = '<abbr title="Estimated number of chests to be searched to obtain this item.">Box Number</abbr>',
['weightNoteH'] = '<abbr title="The chest will randomly draw from this pool',
['weightNoteF'] = 'items stacked.">',
-- item
['source'] = 'Source',
['container'] = 'Container',
['quantity'] = '<abbr title="Quantity per stack of items.">Stack Size</abbr>'
},
['report'] = {
['unableToFind'] = 'Error: No structure exists with this name.'
},
['mark'] = {
['damaged'] = 'Damaged $s',
['enchanted'] = 'Enchanted $s',
['damaged enchanted'] = 'Damaged Enchanted $s'
},
['label'] = {
['java'] = '[[Java Edition]]:',
['bedrock'] = '[[Bedrock Edition]]:',
['javaAndBedrock'] = '[[Java Edition]] and [[Bedrock Edition]]:',
['javaDev'] = '[[Java Edition]] ([[Upcoming Versions#Java Edition|Coming Soon]]):',
['bedrockBeta'] = '[[Bedrock Edition]] ([[Upcoming Versions#Bedrock Edition|Coming Soon]]):'
},
['debug'] = {
['onlyJava'] = false,
['onlyBedrock'] = false
},
['style'] = {
['allTableStyle'] = 'text-align:center;',
['itemTableStyle'] = ''
},
['json'] = {
['java'] = mw.text.jsonDecode(mw.getCurrentFrame():expandTemplate{title = 'User:Star00/java.json'}),
['bedrock'] = mw.text.jsonDecode(mw.getCurrentFrame():expandTemplate{title = 'User:Star00/bedrock.json'}),
['javaDev'] = mw.text.jsonDecode(mw.getCurrentFrame():expandTemplate{title = 'User:Star00/javaDev.json'}),
['bedrockBeta'] = mw.text.jsonDecode(mw.getCurrentFrame():expandTemplate{title = 'User:Star00/bedrockBeta.json'}),
['cov'] = mw.text.jsonDecode(mw.getCurrentFrame():expandTemplate{title = 'User:Star00/cov.json'})
},
['customize'] = {
['itemLink'] = false,
['struLink'] = false,
['noUseAutoLink'] = true
},
['function'] = {
['set_damage'] = { 'damage' },
['enchant_randomly'] = { 'enchantments' and 'options' },
['enchant_with_levels'] = { 'levels' },
['specific_enchants'] = { 'enchants' },
['set_potion'] = { 'id' },
['set_stew_effect'] = { 'effects' },
['set_instrument'] = { 'options' },
['enchant_book_for_trading'] = { 'enchantments' },
['set_ominous_bottle_amplifier'] = { 'amplifier' },
['set_enchantments'] = { 'enchantments' },
['random_aux_value'] = { 'values' }
},
['itemLink'] =
function()
end,
['struLink'] =
function()
end
}