Module:LootTable/i18n

local p = {}

-- Re-usable strings for the remap table below. local ItemCategory = { Ammo = 'Ammunition', Armor = 'Armor', Consumables = 'Consumables', Saddles = 'Saddles', Structures = 'Structures', Weapons = 'Weapons', } -- Mapping table to merge one item category (backed by Cargo) into another. p.GroupRemaps = { -- Ammo ["Arrows"] = ItemCategory.Ammo, -- Armor ["Desert cloth"] = ItemCategory.Armor, ["Hazard suit"] = ItemCategory.Armor, ["Chitin armor"] = ItemCategory.Armor, ["Cloth armor"] = ItemCategory.Armor, ["Ghillie suit"] = ItemCategory.Armor, ["Fur armor"] = ItemCategory.Armor, ["Flak armor"] = ItemCategory.Armor, ["Riot armor"] = ItemCategory.Armor, ["Tek armor"] = ItemCategory.Armor, ["Hide armor"] = ItemCategory.Armor, ["SCUBA"] = ItemCategory.Armor, -- Consumables ["Fungi"] = ItemCategory.Consumables, ["Plants"] = ItemCategory.Consumables, ["Cooking"] = ItemCategory.Consumables, ["Seeds"] = ItemCategory.Consumables, ["Meat"] = ItemCategory.Consumables, ["Eggs"] = ItemCategory.Consumables, -- Saddles ["Platform Saddles"] = ItemCategory.Saddles, ["Tek Saddles"] = ItemCategory.Saddles, -- Structures ["Adobe (Scorched Earth)"] = ItemCategory.Structures, ["Beds"] = ItemCategory.Structures, ["Buildings"] = ItemCategory.Structures, ["Containers"] = ItemCategory.Structures, ["Cooking structures"] = ItemCategory.Structures, ["Farming"] = ItemCategory.Structures, ["Irrigation"] = ItemCategory.Structures, -- Weapons ["Attachments"] = ItemCategory.Weapons, ["Bows"] = ItemCategory.Weapons, ["Emplacements"] = ItemCategory.Weapons, ["Explosives"] = ItemCategory.Weapons, ["Guns"] = ItemCategory.Weapons, ["Melee weapons"] = ItemCategory.Weapons, ["Ranged weapons"] = ItemCategory.Weapons, ["Traps"] = ItemCategory.Weapons, } -- Strings (moved here to ease up translation) p.Strings = { NUMBER_OF_ROLLS_INTRO = "On average %d items are chosen from the following pools upon completion.", UNIQUE_ITEMS_INTRO = "The following items do not usually drop in sources of this type:", BUMPED_ITEMS_INTRO = "The following items drop more often than in other similar sources, " .. "with the following percentage chances:", COMMON_ITEMS_INTRO = "The following items drop also in most other sources on the " .. "map with the following percentage chances:", OVERVIEW_TAB = 'Overview', CHANCE_OVERALL = 'chance overall %.2f%%', SPECIAL_DROPS_HEADING = 'Special drops:', COMMON_DROPS_HEADING = 'Commonly found elsewhere:', -- testing instead of 'In the common pool:', DETAILS_TAB = 'Details', N_ITEM_SETS = "%d item set(s):", N_ITEM_GROUPS = "%d item group(s):", N_ITEMS_IN_GROUP = "%d item(s) in this sub-pool", INTERNAL_DESCRIPTION = "This is how the game developers decided to call it and may not reflect " .. "the actual contents.", SET_CHOOSE_ONCE_NO_REPLACEMENTS = "each set can be chosen only once (no replacements)", SET_CHOOSE_ANY_WITH_REPLACEMENTS = "a set may be chosen more than once", GROUP_CHOOSE_ONCE_NO_REPLACEMENTS = "Each entry may be chosen only once (no replacements)", GROUP_CHOOSE_ANY_WITH_REPLACEMENTS = "An entry may be chosen more than once", QUALITY_LIKELY_HIGHER = "(likely to be higher)", MISCELLANEOUS = "Miscellaneous", TEMP_WIP_DISCLAIMER = "This view is still being worked on and may not provide data accuracy.", -- Error format strings Errors = { ATTRSTR_UNKNOWN_PARAMETER = 'Unrecognized attribute "%s" to parameter', ATTRSTR_UNSUPPORTED_RANGE = 'Unsupported range type of "%s" for attribute "%s"', ATTRSTR_UNSUPPORTED_TYPE = 'Unsupported type for attribute "%s": this is almost certainly a module bug', INVALID_PARAMETER_CODE = 'Invalid parameter or wrong context at %d (%s)', },

-- Context-aware strings. MISSION = { UNIQUE_ITEMS_INTRO = "The following items do not usually drop in missions of this type:", BUMPED_ITEMS_INTRO = "The following items drop more often than in other missions of this type, " .. "with the following percentage chances:", COMMON_ITEMS_INTRO = "The following items drop also in most other missions on the " .. "map with the following percentage chances:", },   SUPPLYDROP = {}, }

return p