Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- language = language or "en"
- text = {
- ["en"] = {name = "Minimap HUD",
- description = "Adds a minimap to the HUD",
- {name = "Minimap Size", options = {"Tiny", "Small", "Medium", "Large", "Huge", "Giant"}},
- {name = "Position", options = {"Top Right", "Top Left", "Top Center", "Middle Left", "Middle Center", "Middle Right", "Bottom Left", "Bottom Center", "Bottom Right"}},
- {name = "Horisontal Margin", options = {"None", "Very Tiny", "Tiny", "Very Small", "Small", "Medium", "Large", "Very Large", "Huge", "Giant"}},
- {name = "Vertical Margin", options = {"None", "Very Tiny", "Tiny", "Very Small", "Small", "Medium", "Large", "Very Large", "Huge", "Giant"}}
- },
- ["ru"] = {name = "Миникарта",
- description = "Добавляет миникарту в игровой интерфейс",
- {name = "Размер миникарты", options = {"Маленький", "Небольшой", "Средний", "Большой", "Огромный", "Гигантский"}},
- {name = "Положение", options = {"Верх справа", "Верх слева", "Верх центр", "Середина слева", "Середина центр", "Середина справа", "Низ слева", "Низ центр", "Низ справа"}},
- {name = "Горизонтальный отступ", options = {"Нет", "Почти нет", "Очень маленький", "Маленький", "Небольшой", "Средний", "Большой", "Очень большой", "Огромный", "Гигантский"}},
- {name = "Вертикальный отступ", options = {"Нет", "Почти нет", "Очень маленький", "Маленький", "Небольшой", "Средний", "Большой", "Очень большой", "Огромный", "Гигантский"}}
- }}
- name = text[language].name
- description = text[language].description
- author = "squeek"
- version = "1.0.3a"
- forumthread = "/files/file/352-minimap-hud/"
- icon_atlas = "modicon.xml"
- icon = "modicon.tex"
- dont_starve_compatible = true
- reign_of_giants_compatible = true
- -- this setting is dumb; this mod is likely compatible with all future versions
- api_version = 10
- configuration_options =
- {
- {
- name = text[language][1].name,
- options =
- {
- {description = text[language][1].options[1], data = 0.125},
- {description = text[language][1].options[2], data = 0.175},
- {description = text[language][1].options[3], data = 0.225},
- {description = text[language][1].options[4], data = 0.275},
- {description = text[language][1].options[5], data = 0.325},
- {description = text[language][1].options[6], data = 0.375},
- },
- default = 0.225,
- },
- {
- name = text[language][2].name,
- options =
- {
- {description = text[language][2].options[1], data = "top_right"},
- {description = text[language][2].options[2], data = "top_left"},
- {description = text[language][2].options[3], data = "top_center"},
- {description = text[language][2].options[4], data = "middle_left"},
- {description = text[language][2].options[5], data = "middle_center"},
- {description = text[language][2].options[6], data = "middle_right"},
- {description = text[language][2].options[7], data = "bottom_left"},
- {description = text[language][2].options[8], data = "bottom_center"},
- {description = text[language][2].options[9], data = "bottom_right"},
- },
- default = "top_right"
- },
- {
- name = text[language][3].name,
- options =
- {
- {description = text[language][3].options[1], data = 0},
- {description = text[language][3].options[2], data = 5},
- {description = text[language][3].options[3], data = 12.5},
- {description = text[language][3].options[4], data = 25},
- {description = text[language][3].options[5], data = 50},
- {description = text[language][3].options[6], data = 125},
- {description = text[language][3].options[7], data = 235},
- {description = text[language][3].options[8], data = 350},
- {description = text[language][3].options[9], data = 450},
- },
- default = 235
- },
- {
- name = text[language][4].name,
- options =
- {
- {description = text[language][4].options[1], data = 0},
- {description = text[language][4].options[2], data = 5},
- {description = text[language][4].options[3], data = 12.5},
- {description = text[language][4].options[4], data = 25},
- {description = text[language][4].options[5], data = 50},
- {description = text[language][4].options[6], data = 125},
- {description = text[language][4].options[7], data = 235},
- {description = text[language][4].options[8], data = 350},
- {description = text[language][4].options[9], data = 450},
- },
- default = 25
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement