local consts = {}
consts.scripterDefinedEvents = {}
consts.scripterDefinedEvents.EVT_hideHUD = 85
consts.scripterDefinedEvents.EVT_FailSafe = 86
consts.scripterDefinedEvents.EVT_pauseMenuEvent = 87
consts.scripterDefinedEvents.EVT_spcPrompt = 88
consts.scripterDefinedEvents.EVT_HEALTH_METER = 89
consts.scripterDefinedEvents.EVT_BLOOD_METER = 90
consts.scripterDefinedEvents.EVT_NORMAL_MENU = 91
consts.scripterDefinedEvents.EVT_TOGGLE_MAP = 92
consts.DEADSCR = 0
consts.LOADINGSCR = 1
consts.MPEGPLAYER = 2
consts.PAUSESCR = 3
consts.SHELL = 4
consts.BOOT = 5
consts.MAP = 6
consts.VENDOR = 7
consts.SETTINGS = 8
consts.CREATURE_NAME_SON = "son00"
consts.CREATURE_NAME_KRATOS = "heroa00"
consts.CREATURE_NAME_AXE = "axe00"
consts.COMPASS_MARKER_TYPE_MAIN = "MAIN"
consts.COMPASS_MARKER_TYPE_SIDE = "SIDE"
consts.COMPASS_MARKER_TYPE_VENDOR = "VendorLocation"
consts.COMPASS_MARKER_TYPE_VENDOR_NO_TRACK = "VendorLocationNoTrack"
consts.COMPASS_MARKER_TYPE_FAST_TRAVEL = "FastTravel"
consts.COMPASS_MARKER_TYPE_FAST_TRAVEL_NO_TRACK = "FastTravelNoTrack"
consts.COMPASS_MARKER_TYPE_AREA_ENTRANCE = "AreaEntrance"
consts.COMPASS_MARKER_TYPE_FIGHT_LOCATION = "FightLocation"
consts.COMPASS_MARKER_TYPE_FIGHT_LOCATION_NO_TRACK = "FightLocationNoTrack"
consts.COMPASS_MARKER_TYPE_DOCK_POINT = "DockPoint"
consts.COMPASS_MARKER_TYPE_CHISEL_ENTRANCE = "ChiselLocation"
consts.COMPASS_MARKER_TYPE_CHISEL_ENTRANCE_NO_TRACK = "ChiselLocationNoTrack"
consts.COMPASS_MARKER_TYPE_INFO_ONLY = "InfoOnly"
consts.COMPASS_MARKER_TYPE_VALKYRIE = "Valkyrie"
consts.LOG_MODE_ANIM_IN = 0
consts.LOG_MODE_HEADER = 1
consts.LOG_MODE_BODY = 2
consts.LOG_MODE_FINISH = 3
consts.LOG_MODE_ANIM_OUT = 4
consts.OT_GoodGuy = 1
consts.OT_BadGuy = 2
consts.OT_Player = 3
consts.OT_Son = 5
consts.padRate = 7
consts.DEFAULT_BUTTON_ANIM_RATE = 1.5
consts.Footer_Spacer = "      "
consts.EMPTY_MATERIAL_NAME = "EmptyMaterial"
consts.DEFAULT_ANIM_FRAME_COUNT = 30
consts.FLOAT_COMPARISON_EPSILON = 0.001
consts.FOCUSABLE_ALPHA = 1
consts.NON_FOCUSABLE_ALPHA = 0.3
consts.MAX_AUTO_SAVE_SLOTS = 4
consts.MAX_MANUAL_SAVE_SLOTS = 20
consts.MAX_SAVE_SLOTS = consts.MAX_AUTO_SAVE_SLOTS + consts.MAX_MANUAL_SAVE_SLOTS
consts.STEP_PREV = 1
consts.STEP_NEXT = 2
consts.RELEASE_EVENTS = {
  EVT_Up_Press = "EVT_Up_Release",
  EVT_Down_Press = "EVT_Down_Release",
  EVT_LeftStick_Down = "EVT_LeftStick_Down_Release",
  EVT_LeftStick_Up = "EVT_LeftStick_Up_Release",
  EVT_RightStick_Down = "EVT_RightStick_Down_Release",
  EVT_RightStick_Up = "EVT_RightStick_Up_Release"
}
consts.RELEASE_EVENTS_SLIDER = {
  EVT_Left_Press = "EVT_Left_Release",
  EVT_Right_Press = "EVT_Right_Release",
  EVT_LeftStick_Left = "EVT_LeftStick_Left_Release",
  EVT_LeftStick_Right = "EVT_LeftStick_Right_Release",
  EVT_RightStick_Left = "EVT_RightStick_Left_Release",
  EVT_RightStick_Right = "EVT_RightStick_Right_Release"
}
consts.GLOBAL_MENU_ACCESS = {
  GlobalMenuOff = {
    GlobalInWorldMenu = true,
    GlobalVendor = true,
    GlobalRealmTable = true,
    GlobalSettings = true
  },
  GlobalInWorldMenu = {GlobalSettings = true},
  GlobalSettings = {GlobalInWorldMenu = true},
  GlobalVendor = {},
  GlobalRealmTable = {}
}
consts.SUB_STATES = {
  inWorldMenu = {
    "Weapon",
    "Stats",
    "SkillTree",
    "Map",
    "Quests",
    "Journal",
    "Resources"
  },
  SkillTree = {
    "Axe",
    "Shield",
    "Blades",
    "SonBow"
  },
  Weapon = {
    "Axe",
    "Shield",
    "Blades",
    "SonBow"
  },
  Stats = {
    "StatsKratos",
    "StatsSon"
  },
  Quests = {
    "MainQuests",
    "SideQuests",
    "Labors",
    "TreasureMaps",
    "Artifacts"
  },
  Journal = {"Lore", "Bestiary"},
  Resources = {"Resource", "StoryItem"},
  Recipes = {
    "Craft",
    "Upgrade",
    "Buy",
    "Sell",
    "LostItems"
  },
  Settings = {
    "MainSettings",
    "SaveLoad",
    "ControllerSettings",
    "GameplaySettings",
    "CameraSettings",
    "AudioSettings"
  },
  Save = {"Manual", "Auto"}
}
consts.STATES_WITH_ATTRIBUTES = {
  "Weapon",
  "Stats",
  "Resources"
}
consts.AS_Forward = 0
consts.AS_Reverse = 1
consts.AS_ForwardCycle = 2
consts.AS_ReverseCycle = 3
consts.AS_ForwardOscillate = 4
consts.AS_ReverseOscillate = 5
consts.AS_Forward_NoReset = 8
consts.AS_Reverse_NoReset = 9
consts.AS_ForwardCycle_NoReset = 10
consts.AS_ReverseCycle_NoReset = 11
consts.AS_ForwardOscillate_NoReset = 12
consts.AS_ReverseOscillate_NoReset = 13
consts.AS_Pause = 16
consts.AS_UnPause = 32
consts.AS_Reset = 64
consts.AS_Wait = 128
consts.AS_LifeCycle_Stop = 256
consts.AS_Hide = 512
consts.AS_EndEvent = 2048
consts.AS_LStick_V = 16384
consts.AS_LStick_H = 20480
consts.AS_RStick_V = 24576
consts.AS_RStick_H = 28672
consts.AS_TouchPad1_V = 32768
consts.AS_TouchPad1_H = 36864
consts.AS_TouchPad2_V = 40960
consts.AS_TouchPad2_H = 45056
consts.Interp_Smoothstep = 0
consts.Interp_Linear = 1
consts.Interp_Cubic = 2
consts.Interp_EaseOut = 3
consts.MAX_STATS_PER_SLOT = 6
consts.MAX_PERKS_PER_RUNE_SUMMARY = 1
consts.RenderLayer_HUD = 0
consts.RenderLayer_World = 6
consts.RenderLayer_WorldUI = 7
consts.SingleFrameDelayTime = 0.2
consts.NotificationTypes = {}
consts.NotificationTypes.Resource = "Resource"
consts.NotificationTypes.Recipe = "Recipe"
consts.NotificationTypes.Rune = "Rune"
consts.NotificationTypes.Quest = "Quest"
consts.NotificationTypes.Map = "Map"
consts.NotificationTypes.Pickup = "Pickup"
consts.RUNIC_UNICODE = {
  "\225\154\160",
  "\225\154\162",
  "\225\154\166",
  "\225\154\171",
  "\225\154\177",
  "\225\154\178",
  "\225\154\183",
  "\225\154\185",
  "\225\154\186",
  "\225\154\190",
  "\225\155\129",
  "\225\155\131",
  "\225\155\135",
  "\225\155\137",
  "\225\155\138",
  "\225\155\143",
  "\225\155\146",
  "\225\155\150",
  "\225\155\151",
  "\225\155\154",
  "\225\155\157",
  "\225\155\158",
  "\225\155\159"
}
consts.kMusic = 0
consts.kDialog = 1
consts.kSFX = 2
consts.kControllerMusic = 3
consts.kControllerDialog = 4
consts.kControllerSFX = 5
consts.EVT_SHELL_SETTINGS_MENU_CLOSED = 83
consts.EVT_QUEUE_DEATH_TIP = 10128
consts.EVT_UNQUEUE_DEATH_TIP = 10129
consts.EVT_USER_BACKED_OUT_OF_CONTINUE_DIALOG = 903
consts.EVT_CONTINUE_GAME_READY = 904
consts.EVT_RESTART_GAME_SETTINGS = 905
consts.EVT_QUIT_GAME_SETTINGS = 906
consts.EVT_LOAD_SAVE_SLOT_SETTINGS = 907
consts.EVT_OPENED_CALIBRATION_SCREEN = 908
consts.EVT_NEW_GAME_READY = 909
consts.EVT_USER_BACKED_OUT_OF_DIFFICULTY_DIALOG = 909
consts.EVT_USER_BACKED_OUT_OF_IMPOSSIBLE_CONFIRM = 911
consts.EVT_USER_IMPOSSIBLE_CONFIRMED = 912
consts.EVT_DISABLE_SUBTITLES = 913
consts.EVT_ENABLE_SUBTITLES = 914
consts.EVT_OPENED_GRAPHICS_MODE_SCREEN = 915
consts.EVT_FINISH_GRAPHICS_MODE_BOOT = 916
consts.EVT_OPENED_SCREEN_SCALE_SCREEN = 917
consts.EVT_FINISH_SCREEN_SCALE_BOOT = 918
consts.EVT_USER_CONFIRMED_WARNING_FOR_NEW_GAME = 919
consts.EVT_SHELL_NEW_GAME_PLUS_PROMPT_FINISHED = 920
consts.EVT_USER_BACKED_OUT_OF_WARNING_FOR_NEW_GAME = 921
consts.globalMenu_MainMenuList = "globalMenu_MainMenuList"
consts.inworldMenu_MainMenuList = consts.globalMenu_MainMenuList
consts.vendorMenu_MainMenuList = consts.globalMenu_MainMenuList
consts.globalMenu_SubmenuList = "globalMenu_SubmenuList"
consts.inworldMenu_SubmenuList = consts.globalMenu_SubmenuList
consts.vendorMenu_SubmenuList = consts.globalMenu_SubmenuList
consts.inWorldMenu_ShowSubmenuLabels = {
  "SkillTreeOn",
  "MapOn"
}
consts.LanguageCodes = {
  "Japanese",
  "English (United States)",
  "French (France)",
  "Spanish (Spain)",
  "German",
  "Italian",
  "Dutch",
  "Portuguese (Portugal)",
  "Russian",
  "Korean",
  "Chinese (traditional)",
  "Chinese (simplified)",
  "Finnish",
  "Swedish",
  "Danish",
  "Norwegian",
  "Polish",
  "Portuguese (Brazil)",
  "English (United Kingdom)",
  "Turkish",
  "Spanish",
  "Arabic",
  "French (Canada)",
  "Czech",
  "Hungarian",
  "Greek",
  "Romanian",
  "Thai",
  "Vietnamese",
  "Indonesian",
  "Croatian",
  "Bulgarian"
}
consts.FORCED_HUD_STATE_DESIGNER_MESSAGE_SLOT = 0
consts.FORCED_HUD_STATE_VENDOR_SLOT = 1
consts.UIBUTTONDISABLE_DESIGNERMESSAGE = 0
consts.UIBUTTONDISABLE_PHOTOMODE = 1
return consts
