GE Lua Documentation

Press F to search!

isAllowedActionsPath

Definition


-- @/lua/ge/extensions/tech/license.lua:30

-- returns true if it makes sense to load this inputmap
local function isAllowedActionsPath(path)
  if isValid() then return true end
  return string.find(path, "_beamng.tech") == nil
end

Callers

@/lua/ge/extensions/core/input/actions.lua
  for _,path in pairs(FS:findFiles(directory, pattern, 0, false, false)) do
    if active == tech_license.isAllowedActionsPath(path) then
      local vehicleActions = jsonReadFile(path)