Minecraft Wiki
Advertisement
[create | history | purge]Documentation
This module has no documentation. If you know how to use this module, please create it.
return {
	
	['switch'] = {
		['javaDev'] = false,
		['bedrockBeta'] = false
	},

    ['header'] = {
        -- all
        ['item'] = 'Item',
        ['stack'] = '<abbr title="The size of stacks (or for unstackable items, number) of this item on any given roll."> Stack Size </abbr>',
        ['weight'] = '<abbr title="The weight of this item relative to other items in the pool."> Weight </abbr>',
        ['probability'] = '<abbr title="The odds of finding any of this item in a single chest."> Chance </abbr>',
        ['itemNumber'] = '<abbr title="The number of items expected per chest, averaged over a large number of chests."> Avg.<br>per chest </abbr>',
        ['boxNumber'] = '<abbr title="The average number of chests the player should expect to search to find any of this item."> Avg. # chests<br>to search </abbr>',
        ['weightNoteH'] = '<abbr title="The chest draws ',
        ['weightNoteF'] = ' stack(s) randomly from this pool.">',

        -- item
        ['source'] = 'Source',
        ['quantity'] = 'Quantity',
        ['form'] = 'Form',
        ['noForm'] = 'No'
    },

    ['report'] = {
        ['unableToFind'] = 'Error: No structure'
    },

    ['mark'] = {
        ['set_damage'] = 'Damaged ',
        ['enchanted'] = 'Echanted '
    },

    ['label'] = {
        ['java'] = '[[Java Edition]]:',
        ['bedrock'] = '[[Bedrock Edition]]:',
        ['javaWithBedrock'] = '[[Java Edition]] with [[Bedrock Edition]]:',
        ['javaDev'] = '[[Java Edition]]([[Planned versions#Java Edition|coming soon]]):',
        ['bedrockBeta'] = '[[Bedrock Edition]]([[Planned versions#Bedrock Edition|coming soon]]):'
    },

    ['debug'] = {
        ['showId'] = true,
        ['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'}),
        ['bedrockDev'] = mw.text.jsonDecode(mw.getCurrentFrame():expandTemplate{title = 'User:Star00/bedrockBeta.json'})
    },

    ['customize'] = {
        ['itemLink'] = false,
        ['struLink'] = false,
        ['noUseAutoLink'] = true
    },
    
    ['function'] = {
    	['set_data'] = { 'data' },
    	['set_damage'] = { 'damage' , 'min' , 'max' },
    	['enchant_randomly'] = { 'enchantments' },
    	['enchant_with_levels'] = { 'levels' , 'min' , 'max' },
    	['specific_enchants'] = { 'function' },
    	['set_stew_effect'] = { 'function' },
    	['random_aux_value'] = { 'function' },
    	['exploration_map'] = { 'function' }
    },
    
    ['itemLink'] =
    function(name, config)

    end,

    ['struLink'] =
    function(name)

    end

}
Advertisement