getBranchIcon
Definition
-- @/lua/ge/extensions/career/branches.lua:360
local function getBranchIcon(id)
local branch = getBranchByPath(id)
if branch.id == 'missing' then return nil end
return branch.icon
end
Callers
@/lua/ge/extensions/gameplay/missions/missionScreen.lua
if entryFee[key] > 0 then
table.insert(entryFeeAsList, {rewardAmount = entryFee[key], icon = career_branches.getBranchIcon(key), attributeKey = key})
end
@/lua/ge/extensions/flowgraph/modules/uiModule.lua
for _, reward in ipairs(star.rewards) do
reward.icon = career_branches.getBranchIcon(reward.attributeKey)
end
@/lua/ge/extensions/career/modules/delivery/progress.lua
branchInfo[key] = {
icon = career_branches.getBranchIcon(key),
order = career_branches.getOrder(key)
branchInfo[key] = {
icon = career_branches.getBranchIcon(key),
order = career_branches.getOrder(key),
@/lua/ge/extensions/career/modules/playerAttributes.lua
else
table.insert(rewards, {attributeKey = key, rewardAmount = change.attributeChange[key], icon = career_branches.getBranchIcon(key)})
end
@/lua/ge/extensions/flowgraph/nodes/ui/updatedUI/endScreenBegin.lua
if entryFee[key] > 0 then
table.insert(entryFeeAsList, {rewardAmount = entryFee[key], icon = career_branches.getBranchIcon(key), attributeKey = key})
end
@/lua/ge/extensions/career/modules/branches/landing.lua
for _, attKey in ipairs(keys) do
table.insert(newRet, {attributeKey = attKey, rewardAmount = ret[attKey], icon=career_branches.getBranchIcon(attKey) })
end
@/lua/ge/extensions/flowgraph/nodes/ui/updatedUI/endScreenWhole.lua
if entryFee[key] > 0 then
table.insert(entryFeeAsList, {rewardAmount = entryFee[key], icon = career_branches.getBranchIcon(key), attributeKey = key})
end
@/lua/ge/extensions/gameplay/missions/progress.lua
for _, key in ipairs(ordered) do
table.insert(starRewards.sumList,{attributeKey = key, rewardAmount = starRewards.sums[key], icon = career_branches.getBranchIcon(key) })
end
total = 0,
icon = career_branches.getBranchIcon(reward.attributeKey),
breakdown = {}
for _, reward in ipairs(list) do
local elem = {rewardAmount = reward.rewardAmount, icon = career_branches.getBranchIcon(reward.attributeKey), attributeKey = reward.attributeKey}
if elem.rewardAmount > 0 then