GE Lua Documentation

Press F to search!

hasBoughtStarterVehicle

Definition


-- @/lua/ge/extensions/career/career.lua:517

local function hasBoughtStarterVehicle()
  return boughtStarterVehicle
end

Callers

@/lua/ge/extensions/career/modules/linearTutorial.lua
  if step == -1 then
    if career_career.hasBoughtStarterVehicle() then return end
    if not saveData.buyVehicleFlowgraphStarted then
@/lua/ge/extensions/gameplay/rawPois.lua
    -- only show dealership when car not bought
    if not career_career.hasBoughtStarterVehicle() then
      local elements = {}
@/lua/ge/extensions/career/modules/vehicleShopping.lua
  local sellers = {}
  local onlyStarterVehicles = not career_career.hasBoughtStarterVehicle()
    buyingAvailable = (not computer or computer.functions.vehicleShop) and "true" or "false",
    marketplaceAvailable = (career_career.hasBoughtStarterVehicle() and not currentSeller) and "true" or "false"
  }})

  if not career_career.hasBoughtStarterVehicle() then
    data.forceNoDelivery = true
@/lua/ge/extensions/career/modules/uiUtils.lua

  if not career_modules_linearTutorial.isLinearTutorialActive() and career_career.hasBoughtStarterVehicle() then
    table.insert(data.buttons, {
@/lua/ge/extensions/career/career.lua
  end
  if not career_modules_linearTutorial.isLinearTutorialActive() and M.hasBoughtStarterVehicle() then
    table.insert(ret, {label = "Progress", luaFun = "guihooks.trigger('ChangeState', {state = 'domainSelection'})", showIndicator = career_modules_milestones_milestones.unclaimedMilestonesCount() > 0})