-- 3 - Bindings
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
-- tooltips
import([[taskbar_tooltips.lua]])
----------------------------------------------------------------------------------------
-- local player resources
resources =
{
-- requisition
{ bind = "player_resource", ui = "grpReq", text_widget ="txtReq", icon_widget ="iconReq", tt = tooltip_simple_template, tt_title = "$40752", tt_desc = "$40753"},
-- bonus
{ bind = "player_resource", ui = "grpBonus", text_widget = "txtBonus", icon_widget = "iconBonus", tt = tooltip_simple_template, tt_title = "$551100", tt_desc = "$551101"},
-- logic used for ork/normal resource and population ui
{ bind = "selector_player_race",
----------------------------------------------------------------------------------------
-- special bindings for ORKS : ork resource, waaagh! and ork population
----------------------------------------------------------------------------------------
orks = {
-- background
{ bind = "image", ui = "grpOrkSquadCap" },
-- ork resource icon and label
{ bind = "player_resource", ui = "grpOrks", text_widget = "txtOrks", icon_widget="iconOrks", tt = tooltip_simple_template, tt_title = "$40754", tt_desc = "$40755", },
-- { bind = "image", ui = "iconOrkSquadCap", tt = tooltip_simple_template, tt_title = "$40754", tt_desc = "$40755" },
-- { bind = "player_resource", ui = "txtOrkSquadCap", text_widget = "orks", tt = tooltip_simple_template, tt_title = "$40754", tt_desc = "$40755", },
-- Spécial Ombre modifications Codex Evolutions Projets. --
-- ork pop cap icon and label
-- art/ui/textures/taskbar/taskbar-share/resource_cap_population.tga -- -- Requires Gamescreen edition --
{ bind = "race_image", ui = "iconCapPopulation", texture = "resource_cap_population", tt = tooltip_simple_template, tt_title = "$40760", tt_desc = "$40761" ,},
{ bind = "player_population", pop_type = "ork", ui = "txtPopulationCap", tt = tooltip_simple_template, tt_title = "$40760", tt_desc = "$40761"},
-- ADD
-- squad cap icon and label
{ bind = "image", ui = "iconCapInfantry", tt = tooltip_simple_template, tt_title = "$551006", tt_desc = "$551007" },
{bind = "player_population", pop_type = "squad", ui = "txtTroopsCap", tt = tooltip_simple_template, tt_title = "$551006", tt_desc = "$551007" },
-- support cap icon and label
{ bind = "image", ui = "iconCapVehicles", tt = tooltip_simple_template, tt_title = "$551008", tt_desc = "$551009" },
{ bind = "player_population", pop_type = "support", ui = "txtVehicleCap", tt = tooltip_simple_template, tt_title = "$551008", tt_desc = "$551009" },
-- waaagh! image
{ bind = "player_resource_ork_image", ui = "iconWaagh", tt = tooltip_simple_template, tt_title = "$40762", tt_desc = "$40763" },
-- power
{ bind = "player_resource", ui = "grpPower", text_widget = "txtPower", icon_widget ="iconPower", tt = tooltip_simple_template, tt_title = "$40750", tt_desc = "$40751"},
},
----------------------------------------------------------------------------------------
-- special bindings for NECRONS : Necron power
----------------------------------------------------------------------------------------
necrons = {
-- squad cap icon and label
{ bind = "image", ui = "iconCapInfantry", tt = tooltip_simple_template, tt_title = "$551006", tt_desc = "$551007" },
{bind = "player_population", pop_type = "squad", ui = "txtTroopsCap", tt = tooltip_simple_template, tt_title = "$551006", tt_desc = "$551007" },
-- support cap icon and label
{ bind = "image", ui = "iconCapVehicles", tt = tooltip_simple_template, tt_title = "$551008", tt_desc = "$551009" },
{bind = "player_population", pop_type = "support", ui = "txtVehicleCap", tt = tooltip_simple_template, tt_title = "$551008", tt_desc = "$551009" },
-- power
{ bind = "player_resource", ui = "grpPower", text_widget = "txtPower", icon_widget ="iconPower", tt = tooltip_simple_template, tt_title = "$40750", tt_desc = "$1103110"},
},
------------------------------------------------------------------------------------------------------------------------------------------------
-- special OMBRE bindings for ALL OTHER RACES (communoté concept): squad cap ,support cap and special bendings Ork for all races.
------------------------------------------------------------------------------------------------------------------------------------------------
--NOTE : OTHER OR ONLY YOUR RACE edit UCS and edit ARTS--
other = {
-- Spécial Ombre modifications Codex Evolutions Projets. --
-- background
-- art/ui/textures/taskbar/your_race/ork_taskbar_orksquadcap.tga--
{ bind = "image", ui = "grpOrkSquadCap"},
{ bind = "race_image", ui = "OrkTaskbar", texture = "ork_taskbar_orksquadcap"},
--all other races ork resource icon and label
-- art/ui/textures/taskbar/your_race/resource_orksquadcap.tga--
{ bind = "player_resource", ui = "grpOrks", text_widget = "txtOrks", icon_widget="iconOrks", tt = tooltip_simple_template, tt_title = "$40754", tt_desc = "$40755", },
{ bind = "race_image", ui = "iconOrks", texture="resource_orksquadcap", tt = tooltip_simple_template, tt_title = "$40754", tt_desc = "$40755"},
-- ork pop cap icon and label
-- edit UCS -- --art/ui/textures/taskbar/your_race/resource_cap_population.tga -- -- Requires Gamescreen edition --
{ bind = "race_image", ui = "iconCapPopulation", texture = "resource_cap_population", tt = tooltip_simple_template, tt_title = "$40760", tt_desc = "$40761" ,},
{ bind = "player_population", pop_type = "ork", ui = "txtPopulationCap", tt = tooltip_simple_template, tt_title = "$40760", tt_desc = "$40761"},
-- squad cap icon and label
{ bind = "image", ui = "iconCapInfantry", tt = tooltip_simple_template, tt_title = "$551006", tt_desc = "$551007" },
{bind = "player_population", pop_type = "squad", ui = "txtTroopsCap", tt = tooltip_simple_template, tt_title = "$551006", tt_desc = "$551007" },
-- support cap icon and label
{ bind = "image", ui = "iconCapVehicles", tt = tooltip_simple_template, tt_title = "$551008", tt_desc = "$551009" },
{bind = "player_population", pop_type = "support", ui = "txtVehicleCap", tt = tooltip_simple_template, tt_title = "$551008", tt_desc = "$551009" },
-- power
{ bind = "player_resource", ui = "grpPower", text_widget = "txtPower", icon_widget ="iconPower", tt = tooltip_simple_template, tt_title = "$40750", tt_desc = "$40751"},
-- all other races waaagh! image
--edit UCS -- --art/ui/textures/taskbar/your_race/waaagh_1.tga--
{ bind = "race_image", ui = "iconWaagh", texture = "waaagh_1", tt = tooltip_simple_template, tt_title = "$40762", tt_desc = "$40763"},
},
},