Minecraft Wiki
편집 요약 없음
편집 요약 없음
349번째 줄: 349번째 줄:
 
local patternb = {
 
local patternb = {
 
'方',
 
'方',
  +
'横条',
'아래쪽 가로선',
 
 
'色自下渐淡',
 
'色自下渐淡',
 
'色底波纹',
 
'色底波纹',
361번째 줄: 361번째 줄:
   
 
'方',
 
'方',
  +
'横条',
'아래쪽 가로선',
 
 
'色顶波纹',
 
'色顶波纹',
 
'方',
 
'方',
367번째 줄: 367번째 줄:
   
 
'正十字',
 
'正十字',
  +
'横条',
'아래쪽 가로선',
 
 
'色砖纹',
 
'色砖纹',
 
'色花朵盾徽',
 
'色花朵盾徽',
394번째 줄: 394번째 줄:
 
'色头颅盾徽',
 
'色头颅盾徽',
 
'아래쪽 가로선',
 
'아래쪽 가로선',
  +
'横条'
'아래쪽 가로선'
 
 
}
 
}
 
local colors = {
 
local colors = {

2017년 12월 16일 (토) 09:58 판

[만들기 | 역사 | 캐시 제거]설명문서
이 모듈의 설명문서가 없습니다. 이 모듈의 사용 방법을 안다면, 설명문서를 만들어 주십시오.
local coloredDyes = {
	'Orange Dye', 'Magenta Dye', 'Light Blue Dye', 'Dandelion Yellow', 'Lime Dye',
	'Pink Dye', 'Gray Dye', 'Light Gray Dye', 'Cyan Dye', 'Purple Dye',
	'Lapis Lazuli', 'Cocoa Beans', 'Cactus Green', 'Rose Red', 'Ink Sac',
}
local aliases = {
	-- All Tools (WIP) (Credits: User: TheWoodenWizard) --
	['Wooden Sword'] = { title = '나무 검', name = 'Wooden Sword', text = '/&7주로 사용하는 손에 있을 때:/ &71.6 공격 속도/ &74 공격 피해' },
	['Stone Sword'] = { title = '돌 검', name = 'Stone Sword', text = '/&7주로 사용하는 손에 있을 때:/ &71.6 공격 속도/ &75 공격 피해' },
	['Iron Sword'] = { title = '철 검', name = 'Iron Sword', text = '/&7주로 사용하는 손에 있을 때:/ &71.6 공격 속도/ &76 공격 피해' },
	['Golden Sword'] = { title = '황금 검', name = 'Golden Sword', text = '/&7주로 사용하는 손에 있을 때:/ &71.6 공격 속도/ &74 공격 피해' },
	['Diamond Sword'] = { title = '다이아몬드 검', name = 'Diamond Sword', text = '/&7주로 사용하는 손에 있을 때:/ &71.6 공격 속도/ &77 공격 피해' },
	['Wooden Pickaxe'] = { title = '나무 곡괭이', name = 'Wooden Pickaxe', text = '/&7주로 사용하는 손에 있을 때:/ &71.2 공격 속도/ &72 공격 피해' },
	['Stone Pickaxe'] = { title = '돌 곡괭이', name = 'Stone Pickaxe', text = '/&7주로 사용하는 손에 있을 때:/ &71.2 공격 속도/ &73 공격 피해' },
	['Iron Pickaxe'] = { title = '철 곡괭이', name = 'Iron Pickaxe', text = '/&7주로 사용하는 손에 있을 때:/ &71.2 공격 속도/ &74 공격 피해' },
	['Golden Pickaxe'] = { title = '황금 곡괭이', name = 'Golden Pickaxe', text = '/&7주로 사용하는 손에 있을 때:/ &71.2 공격 속도/ &72 공격 피해' },
	['Diamond Pickaxe'] = { title = '다이아몬드 곡괭이', name = 'Diamond Pickaxe', text = '/&7주로 사용하는 손에 있을 때:/ &71.2 공격 속도/ &75 공격 피해' },
	['Wooden Axe'] = { title = '나무 도끼', name = 'Wooden Axe', text = '/&7주로 사용하는 손에 있을 때:/ &70.8 공격 속도/ &77 공격 피해' },
	['Stone Axe'] = { title = '돌 도끼', name = 'Stone Axe', text = '/&7주로 사용하는 손에 있을 때:/ &70.8 공격 속도/ &79 공격 피해' },
	['Iron Axe'] = { title = '철 도끼', name = 'Iron Axe', text = '/&7주로 사용하는 손에 있을 때:/ &70.9 공격 속도/ &79 공격 피해' },
	['Golden Axe'] = { title = '황금 도끼', name = 'Golden Axe', text = '/&7주로 사용하는 손에 있을 때:/ &71.0 공격 속도/ &77 공격 피해' },
	['Diamond Axe'] = { title = '다이아몬드 도끼', name = 'Diamond Axe', text = '/&7주로 사용하는 손에 있을 때:/ &71.0 공격 속도/ &79 공격 피해' },
	
	-- Common fuel types for furnace --
	['Any fuel'] = { 'Coal', 'Charcoal', { title = '나무', name = 'Oak Wood' }, { title = '나무 판자', name = 'Oak Wood Planks' }, 'Block of Coal' },
    ['Any golden tools'] = { 'Golden Pickaxe', 'Golden Axe', 'Golden Shovel', 'Golden Hoe' },
	['Any wooden tools'] = { 'Wooden Pickaxe', 'Wooden Axe', 'Wooden Shovel', 'Wooden Hoe' },
	['Any stone tools'] = { 'Stone Pickaxe', 'Stone Axe', 'Stone Shovel', 'Stone Hoe' },
	['Any iron tools'] = { 'Iron Pickaxe', 'Iron Axe', 'Iron Shovel', 'Iron Hoe' },
	['Any diamond tools'] = { 'Diamond Pickaxe', 'Diamond Axe', 'Diamond Shovel', 'Diamond Hoe' },
	['Any leather armor'] = { 'Leather Cap', 'Leather Tunic', 'Leather Pants', 'Leather Boots' },
	['Any golden armor'] = { 'Golden Helmet', 'Golden Chestplate', 'Golden Leggings', 'Golden Boots' },
	['Any chain armor'] = { 'Chain Helmet', 'Chain Chestplate', 'Chain Leggings', 'Chain Boots' },
	['Any iron armor'] = { 'Iron Helmet', 'Iron Chestplate', 'Iron Leggings', 'Iron Boots' },
	['Any diamond armor'] = { 'Diamond Helmet', 'Diamond Chestplate', 'Diamond Leggings', 'Diamond Boots' },

	-- Display names --
    ['Broken Elytra'] = { title = '겉날개', name = 'Broken Elytra' },
	['Brown Mushroom'] = { title = '버섯', name = 'Brown Mushroom' },
	['Brown Mushroom (block)'] = { title = '버섯', name = 'Brown Mushroom (block)' },
	--['Clay (block)'] = { title = '점토', name = 'Clay (block)' },
	['Enchanted Book'] = { title = '&e마법이 부여된 책', name = 'Enchanted Book' },
	['Enchanted Golden Apple'] = { title = '&d황금 사과', name = 'Golden Apple' },
	--['End Portal (block)'] = { title = '엔드 관문', name = 'End Portal (block)' },
	['Golden Apple'] = { title = '&b황금 사과', name = 'Golden Apple' },
	['Melon (block)'] = { title = '수박', name = 'Melon (block)' },
	--['Nether Brick (item)'] = { title = '네더 벽돌', name = 'Nether Brick (item)' },
	['Red Mushroom'] = { title = '버섯', name = 'Red Mushroom' },
	['Red Mushroom (block)'] = { title = '버섯', name = 'Red Mushroom (block)' },
	--['Snow (layer)'] = { title = '눈', name = 'Snow (layer)' },
	['Stone Button'] = { title = '버튼', name = 'Stone Button' },
	['Wooden Button'] = { title = '버튼', name = 'Wooden Button' },
	-- Pocket Edition display names --
	['Elytra Wings'] = { title = '겉날개', name = 'Elytra' },
	['Cooked Beef'] = { title = '스테이크', name = 'Steak' },

	-- Potions --
    ['Awkward Potion'] = { name = 'Awkward Potion', text = '/&7효과 없음' },
	['Water Bottle'] = { name = 'Water Bottle', text = '/&7효과 없음' },
	['Thick Potion'] = { name = 'Thick Potion', text = '/&7효과 없음' },
	['Mundane Potion'] = { name = 'Mundane Potion', text = '/&7효과 없음' },
	['Uncraftable Potion'] = { name = 'Uncraftable Potion', text = '/&7효과 없음' },
	['Awkward Splash Potion'] = { name = 'Awkward Splash Potion', text = '/&7효과 없음' },
	['Splash Water Bottle'] = { name = 'Splash Water Bottle', text = '/&7효과 없음' },
	['Thick Splash Potion'] = { name = 'Thick Splash Potion', text = '/&7효과 없음' },
	['Mundane Splash Potion'] = { name = 'Mundane Splash Potion', text = '/&7효과 없음' },
	['Uncraftable Splash Potion'] = { name = 'Uncraftable Splash Potion', text = '/&7효과 없음' },
	['Awkward Lingering Potion'] = { name = 'Awkward Lingering Potion', text = '/&7효과 없음' },
	['Lingering Water Bottle'] = { name = 'Lingering Water Bottle', text = '/&7효과 없음' },
	['Thick Lingering Potion'] = { name = 'Thick Lingering Potion', text = '/&7효과 없음' },
	['Mundane Lingering Potion'] = { name = 'Mundane Lingering Potion', text = '/&7효과 없음' },
	['Uncraftable Lingering Potion'] = { name = 'Uncraftable Lingering Potion', text = '/&7효과 없음' },
	['Tipped Arrow'] = { name = 'Tipped Arrow', text = '/&7효과 없음' },
	['Arrow of Splashing'] = { name = 'Arrow of Splashing', text = '/&7효과 없음' },
	['Uncraftable Tipped Arrow'] = { name = 'Uncraftable Tipped Arrow', text = '/&7효과 없음' },

	['Potion of Night Vision Extended'] = { name = 'Potion of Night Vision', text = '/&9야간 투시 (8:00)' },
	['Splash Potion of Night Vision Extended'] = { name = 'Splash Potion of Night Vision', text = '/&9야간 투시 (8:00)' },
	['Lingering Potion of Night Vision Extended'] = { name = 'Lingering Potion of Night Vision', text = '/&9야간 투시 (2:00)' },
	['Arrow of Night Vision Extended'] = { name = 'Arrow of Night Vision', text = '/&9야간 투시 (1:00)' },
	['Potion of Night Vision'] = { name = 'Potion of Night Vision', text = '/&9야간 투시 (3:00)' },
	['Splash Potion of Night Vision'] = { name = 'Splash Potion of Night Vision', text = '/&9야간 투시 (3:00)' },
	['Lingering Potion of Night Vision'] = { name = 'Lingering Potion of Night Vision', text = '/&9야간 투시 (0:45)' },
	['Arrow of Night Vision'] = { name = 'Arrow of Night Vision', text = '/&9야간 투시 (0:22)' },

	['Potion of Decay'] = { name = 'Potion of Decay', text = '/&c위더 II (0:40)' },
	['Splash Potion of Decay'] = { name = 'Splash Potion of Decay', text = '/&c위더 II (0:30)' },
	['Lingering Potion of Decay'] = { name = 'Lingering Potion of Decay', text = '/&c위더 II (0:10)' },
	['Arrow of Decay'] = { name = 'Arrow of Decay', text = '/&c위더 II (0:05)' },
}

-- Lists of item variants --
local itemVariants = {
	['Dye'] = mw.clone( coloredDyes ),
	['Colored Dye'] = coloredDyes,
	['Dyed Wool'] = {
		'Orange Wool', 'Magenta Wool', 'Light Blue Wool', 'Yellow Wool', 'Lime Wool',
		'Pink Wool', 'Gray Wool', 'Light Gray Wool', 'Cyan Wool', 'Purple Wool',
		'Blue Wool', 'Brown Wool', 'Green Wool', 'Red Wool', 'Black Wool',
	},
	['Dyed Terracotta'] = {
		'White Terracotta', 'Orange Terracotta', 'Magenta Terracotta', 'Light Blue Terracotta', 'Yellow Terracotta',
		'Lime Terracotta', 'Pink Terracotta', 'Gray Terracotta', 'Light Gray Terracotta', 'Cyan Terracotta',
		'Purple Terracotta', 'Blue Terracotta', 'Brown Terracotta', 'Green Terracotta', 'Red Terracotta', 'Black Terracotta',
	},
	['Mushroom'] = { { title = '버섯', name = 'Red Mushroom' }, { title = '버섯', name = 'Brown Mushroom' } },
	['Quartz Block'] = { 'Block of Quartz', 'Chiseled Quartz Block', 'Pillar Quartz Block' },
	['Red Sandstone'] = { 'Red Sandstone', 'Chiseled Red Sandstone', 'Smooth Red Sandstone' },
	['Sandstone'] = { 'Sandstone', 'Chiseled Sandstone', 'Smooth Sandstone' },
	['Stone Bricks'] = { 'Stone Bricks', 'Mossy Stone Bricks', 'Cracked Stone Bricks', 'Chiseled Stone Bricks' },
	['Stone Slab'] = { 'Stone Slab', 'Sandstone Slab', 'Cobblestone Slab', 'Bricks Slab', 'Stone Bricks Slab', 'Nether Brick Slab', 'Quartz Slab' },
	['Purpur Block'] = { 'Purpur Block', 'Purpur Pillar' },
	['Stone'] = { 'Stone', 'Andesite', 'Granite', 'Diorite', 'Polished Andesite', 'Polished Granite', 'Polished Diorite' },
}
table.insert( itemVariants['Dye'], 1, 'Bone Meal' )
for aliasName, aliasItems in pairs( itemVariants ) do
	aliases['Any ' .. aliasName] = aliasItems
	aliases['Matching ' .. aliasName] = aliasItems
end

-- Animated icons --
local animatedIcons = {
	'Command Block',
	'Chain Command Block',
	'Repeating Command Block',
	'Fire',
	'Magma Block',
	'Prismarine',
	'Sea Lantern',
}
for _, icon in ipairs( animatedIcons ) do
	aliases[icon] = icon .. '.gif'
end

-- Discs --
local discs = { '13', 'cat', 'blocks', 'chirp', 'far', 'mall', 'mellohi', 'stal', 'strad', 'ward', '11', 'wait' }
for _, disc in ipairs( discs ) do
	local name = disc .. ' Disc'
	aliases[name] = { title = '&b음반', name = name, text = '/&7C418 - ' .. disc }
end

-- Damaged armor, tools and weapons --
local damagedItems = {
	'Bow',
	'Carrot on a Stick',
	'Chain Boots',
	'Chain Chestplate',
	'Chain Helmet',
	'Chain Leggings',
	'Diamond Axe',
	'Diamond Boots',
	'Diamond Chestplate',
	'Diamond Helmet',
	'Diamond Hoe',
	'Diamond Leggings',
	'Diamond Pickaxe',
	'Diamond Shovel',
	'Diamond Sword',
	'Elytra',
	'Fishing Rod',
	'Flint and Steel',
	'Golden Axe',
	'Golden Boots',
	'Golden Chestplate',
	'Golden Helmet',
	'Golden Hoe',
	'Golden Leggings',
	'Golden Pickaxe',
	'Golden Shovel',
	'Golden Sword',
	'Iron Axe',
	'Iron Boots',
	'Iron Chestplate',
	'Iron Helmet',
	'Iron Hoe',
	'Iron Leggings',
	'Iron Pickaxe',
	'Iron Shovel',
	'Iron Sword',
	'Leather Boots',
	'Leather Tunic',
	'Leather Cap',
	'Leather Pants',
	'Shears',
	'Shield',
	'Stone Axe',
	'Stone Hoe',
	'Stone Pickaxe',
	'Stone Shovel',
	'Stone Sword',
	'Wooden Axe',
	'Wooden Hoe',
	'Wooden Pickaxe',
	'Wooden Shovel',
	'Wooden Sword'
}
local damagedItemc = {
	'弓',
	'胡萝卜钓竿',
	'锁链靴子',
	'锁链胸甲',
	'锁链头盔',
	'锁链护腿',
	'钻石斧',
	'钻石靴子',
	'钻石胸甲',
	'钻石头盔',
	'钻石锄',
	'钻石护腿',
	'钻石镐',
	'钻石锹',
	'钻石剑',
	'鞘翅',
	'钓鱼竿',
	'打火石',
	'金斧',
	'金靴子',
	'金胸甲',
	'金头盔',
	'金锄',
	'金护腿',
	'金镐',
	'金锹',
	'金剑',
	'铁斧',
	'铁靴子',
	'铁胸甲',
	'铁头盔',
	'铁锄',
	'铁护腿',
	'铁镐',
	'铁锹',
	'铁剑',
	'皮革靴子',
	'皮革外套',
	'皮革帽子',
	'皮革裤子',
	'剪刀',
	'盾牌',
	'石斧',
	'石锄',
	'石镐',
	'石锹',
	'石剑',
	'木斧',
	'木锄',
	'木镐',
	'木锹',
	'木剑'
}
for i, item in ipairs( damagedItems ) do
	local name = 'Damaged ' .. item
    aliases[name] = { title = '[损坏的' .. damagedItemc[i] .. ']', name = name }
end

-- Banners and colored items --
local patterns = {
	'Base Dexter Canton',
	'Base',
	'Base Gradient',
	'Base Indented',
	'Base Sinister Canton',
	'Bend',
	'Bend Sinister',
	'Bordure',
	'Bordure Indented',
	'Chevron',
	'Chief Dexter Canton',
	'Chief',
	'Chief Indented',
	'Chief Sinister Canton',
	'Creeper Charge',
	'Cross',
	'Fess',
	'Field Masoned',
	'Flower Charge',
	'Gradient',
	'Inverted Chevron',
	'Lozenge',
	'Thing',
	'Pale',
	'Pale Dexter',
	'Pale Sinister',
	'Paly',
	'Per Bend',
	'Per Bend Inverted',
	'Per Bend Sinister',
	'Per Bend Sinister Inverted',
	'Per Fess',
	'Per Fess Inverted',
	'Per Pale',
	'Per Pale Inverted',
	'Roundel',
	'Saltire',
	'Skull Charge',
	'Base',
	'Chief'
}
local patterna = {
	'右底',
	'底',
	'',
	'',
	'左底',
	'右',

	'左',
	'',
	'',
	'底',
	'右顶',

	'顶',
	'',
	'左顶',
	'',
	'',

	'中',
	'',
	'',
	'',
	'顶',

	'',
	'',
	'中',
	'右',
	'左',

	'',
	'',
	'',
	'',
	'',

	'',
	'',
	'',
	'',
	'',

	'',
	'',
	'',
	'底',
	'顶'
}
local patternb = {
	'方',
	'横条',
	'色自下渐淡',
	'色底波纹',
	'方',

	'斜条',
	'斜条',
	'色方框边',
	'色波纹边',
	'三角',

	'方',
	'横条',
	'色顶波纹',
	'方',
	'色爬行者盾徽',

	'正十字',
	'横条',
	'色砖纹',
	'色花朵盾徽',
	'色自上渐淡',

	'三角',
	'色菱形',
	'色Mojang徽标',
	'竖条',
	'竖条',

	'竖条',
	'竖条纹',
	'色左上三角',
	'色右下三角',
	'色右上三角',

	'色左下三角',
	'色上半方形',
	'色下半方形',
	'色右半方形',
	'色左半方形',

	'色圆形',
	'斜十字',
	'色头颅盾徽',
	'아래쪽 가로선',
	'横条'
}
local colors = {
	'White',
	'Orange',
	'Magenta',
	'Light Blue',
	'Yellow',
	'Lime',
	'Pink',
	'Gray',
	'Light Gray',
	'Cyan',
	'Purple',
	'Blue',
	'Brown',
	'Green',
	'Red',
	'Black'
}
local colora = {
	'白',
	'橙',
	'品红',
	'淡蓝',
	'黄',
	'黄绿',
	'粉红',
	'灰',
	'淡灰',
	'青',
	'紫',
	'파란색',
	'棕',
	'绿',
	'红',
	'黑'
}
local colorc = {
	'白色',
	'橙色',
	'品红色',
	'淡蓝色',
	'黄色',
	'黄绿色',
	'粉红色',
	'灰色',
	'淡灰色',
	'青色',
	'紫色',
	'蓝色',
	'棕色',
	'绿色',
	'红色',
	'黑色'
}

-- Firework Stars --
local fireworkStar = {}
for i, color in ipairs( colors ) do
	local name = color .. ' Firework Star'
    aliases[name] = { title = '烟火之星', name = name, text = '&7' .. colorc[i] }
	table.insert( fireworkStar, aliases[name] )
	for j, pattern in ipairs( patterns ) do
		name = color .. ' ' .. pattern .. ' Banner'
		--aliases[name] = '[현수막]' .. name .. '[/&7' .. patterna[j] .. ' ' .. colora[i] .. ' ' .. patternb[j] .. ']'
        aliases[name] = { title = '현수막', name = name, text = '/&7' .. patterna[j] .. ' ' .. colora[i] .. ' ' .. patternb[j] }
	end
end

aliases['Any Firework Star'] = fireworkStar
aliases['Matching Firework Star'] = fireworkStar

-- Items that use the sixteen colors --
local coloredItems = {
	'Banner',
	'Carpet',
	'Concrete',
	'Concrete Powder',
	'Glazed Terracotta',
	'Shield',
    'Shulker Box',
	'Stained Glass',
	'Stained Glass Pane',
	'Wool',
    'Bed'
}
for _, item in ipairs( coloredItems ) do
	local coloredItemAliases = {}
	for _, color in ipairs( colors ) do
		table.insert( coloredItemAliases, color .. ' ' .. item )
	end
	aliases['Any ' .. item] = coloredItemAliases
	aliases['Matching ' .. item] = coloredItemAliases
end

-- Potions --
local effects = {
	'Regeneration',
	'Swiftness',
	'Fire Resistance',
	'Poison',
	'Healing',
	'Night Vision',
	'Weakness',
	'Strength',
	'Slowness',
	'Leaping',
	'Harming',
	'Water Breathing',
	'Invisibility',
	'Luck'
}
local potionItems = {
	['Potion'] = {
		'Water Bottle',
		'Awkward Potion',
		'Thick Potion',
		'Mundane Potion',
	},
	['Splash Potion'] = {
		'Splash Water Bottle',
		'Awkward Splash Potion',
		'Thick Splash Potion',
		'Mundane Splash Potion',
	},
	['Lingering Potion'] = {
		'Lingering Water Bottle',
		'Awkward Lingering Potion',
		'Thick Lingering Potion',
		'Mundane Lingering Potion'
	},
	['Tipped Arrow'] = {
		'Arrow of Splashing',
		'Tipped Arrow',
		'Tipped Arrow',
		'Tipped Arrow',
	},
}
for _, effect in ipairs( effects ) do
	table.insert( potionItems['Potion'], 'Potion of ' .. effect )
	table.insert( potionItems['Splash Potion'], 'Splash Potion of ' .. effect )
	table.insert( potionItems['Lingering Potion'], 'Lingering Potion of ' .. effect )
	table.insert( potionItems['Tipped Arrow'], 'Arrow of ' .. effect )
end
for item, potionAliases in pairs( potionItems ) do
	aliases['Any ' .. item] = potionAliases
	aliases['Matching ' .. item] = potionAliases
end

-- Wood --
local woods = {
	'Oak',
	'Spruce',
	'Birch',
	'Jungle',
	'Acacia',
	'Dark Oak'
}
local woodItems = {
	'Fence Gate',
	'Wood',
	'Boat',
	'wood Door',
	'wood Fence',
	'Wood Planks',
	'Wood Slab',
	'Wood Stairs',
}
-- used if the items use a different name than the alias
local woodNames = {
	['wood Door'] = 'Door',
	['wood Fence'] = 'Fence',
}
for _, item in ipairs( woodItems ) do
	local itemName = woodNames[item] or item
	local woodAliases = {}
	for _, wood in ipairs( woods ) do
		table.insert( woodAliases, wood .. ' ' .. itemName )
	end
	aliases['Any ' .. item] = woodAliases
	aliases['Matching ' .. item] = woodAliases
end

return aliases