TombEngine/Scripts/Strings.lua
Sezz c1b674be8d
Dehardcode quick actions and menu actions (#1154)
* Hotkey progress

* Fix scrolling; fix x64 compiler errors

* Dehardcode item hotkeys

* Move player quick actions to more appropriate file

* Get weapon scrolling to work

* Move SayNo action

* Update gui.cpp

* Add menu controls screen

* Dehardcode more menu actions

* Simplify

* Move helper functions

* Simplify

* Use std::string for key names; fix crouch action

* Fix lean reset

* Update lara_helpers.cpp

* Fix binding application

* Update gui.cpp

* Update gui.cpp

* Reorder input actions; update script enum

* Update gui.cpp

* Fix menu highlight error

* Fix default xbone bindings

* Simplify action string categories

* Commit to tentative Light action; prepare more vehicle action code

* Move medipack code to subfunction

* Move medipack code to subfunction

* Update lara_helpers.cpp

* Remove flare no

* Add missing comma

* Rename Light back to Flare

* Rename Option to Inventory

* Update lara_helpers.cpp

* Update lara_helpers.cpp

* Update strings

* Fix typo

* Fix medipack functionality

* Update arrow positioning and make arrows flash

* Update input strings and defaults

* Update action order

* Remove include

* Add arrow string constants

* Update Renderer11DrawMenu.cpp

* Update Renderer11DrawMenu.cpp

* Update Renderer11DrawMenu.cpp

* Address PR comments

* Update lara_helpers.cpp

* Use consistent line spacing

* Update Renderer11DrawMenu.cpp

---------

Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2023-07-15 14:28:19 +01:00

189 lines
6.1 KiB
Lua

--[[
NOTE: It's possible to expand string entry tables with extra language variations
corresponding to languages in the table at the end of this file.
--]]
local strings =
{
actions_accelerate = { "Accelerate" },
actions_reverse = { "Reverse" },
actions_speed = { "Speed" },
actions_slow = { "Slow" },
actions_brake = { "Brake" },
actions_fire = { "Fire" },
actions_action = { "Action" },
actions_sprint = { "Sprint" },
actions_draw = { "Draw" },
actions_crouch = { "Crouch" },
actions_inventory = { "Inventory" },
actions_jump = { "Jump" },
actions_look = { "Look" },
actions_backward = { "Backward" },
actions_forward = { "Forward" },
actions_left = { "Left" },
actions_right = { "Right" },
actions_roll = { "Roll" },
actions_step_left = { "Step Left" },
actions_step_right = { "Step Right" },
actions_pause = { "Pause" },
actions_walk = { "Walk" },
actions_save = { "Save" },
actions_load = { "Load" },
actions_select = { "Select" },
actions_deselect = { "Deselect" },
actions_large_medipack = { "Large Medipack" },
actions_flare = { "Flare" },
actions_next_weapon = { "Next Weapon" },
actions_previous_weapon = { "Previous Weapon" },
actions_small_medipack = { "Small Medipack" },
actions_weapon_1 = { "Weapon 1" },
actions_weapon_2 = { "Weapon 2" },
actions_weapon_3 = { "Weapon 3" },
actions_weapon_4 = { "Weapon 4" },
actions_weapon_5 = { "Weapon 5" },
actions_weapon_6 = { "Weapon 6" },
actions_weapon_7 = { "Weapon 7" },
actions_weapon_8 = { "Weapon 8" },
actions_weapon_9 = { "Weapon 9" },
actions_weapon_10 = { "Weapon 10" },
window_title = { "TombEngine" },
all = { "All" },
apply = { "Apply" },
auto_target = { "Automatic Targeting" },
back = { "Back" },
binoculars = { "Binoculars" },
close = { "Close" },
cancel = { "Cancel" },
caustics = { "Underwater Caustics" },
choose_ammo = { "Choose Ammo" },
choose_weapon = { "Choose Weapon" },
combine = { "Combine" },
combine_with = { "Combine With" },
controls = { "Controls" },
reset_to_defaults = { "Reset to Defaults" },
crossbow = { "Crossbow" },
crossbow_normal_ammo = { "Crossbow Normal Ammo" },
crossbow_poison_ammo = { "Crossbow Poison Ammo" },
crossbow_explosive_ammo = { "Crossbow Explosive Ammo" },
crossbow_lasersight = { "Crossbow + Lasersight" },
crowbar = { "Crowbar" },
diary = { "Diary" },
disabled = { "Disabled" },
display = { "Display Settings" },
display_adapter = { "Display Adapter" },
distance_travelled = { "Distance Travelled" },
enable_sound = { "Enable Sounds" },
enabled = { "Enabled" },
equip = { "Equip" },
examine = { "Examine" },
exit_game = { "Exit Game" },
exit_to_title = { "Exit to Title" },
flares = { "Flares" },
general_actions = { "General Actions"},
grenade_launcher = { "Grenade Launcher" },
grenade_launcher_normal_ammo = { "Grenade Launcher Normal Ammo" },
grenade_launcher_super_ammo = { "Grenade Launcher Super Ammo" },
grenade_launcher_flash_ammo = { "Grenade Launcher Flash Ammo" },
harpoon_gun = { "Harpoon Gun" },
harpoon_gun_ammo = { "Harpoon Gun Ammo" },
headset = { "Headset" },
hk = { "HK" },
hk_ammo = { "HK Ammo" },
hk_burst_mode = { "Burst Mode" },
hk_rapid_mode = { "Rapid Mode" },
hk_lasersight = { "HK + Lasersight" },
hk_sniper_mode = { "Sniper Mode" },
lara_home = { "Lara's Home" },
large_medipack = { "Large Medipack" },
lasersight = { "Lasersight" },
menu_actions = { "Menu Actions" },
music_volume = { "Music Volume" },
new_game = { "New Game" },
none = { "None" },
ok = { "OK" },
options = { "Options" },
other_settings = { "Sound and Gameplay" },
output_settings = { "Output Settings" },
passport = { "Passport" },
pistol_ammo = { "Pistol Ammo" },
pistols = { "Pistols" },
player = { "Player" },
render_options = { "Render Options" },
reverb = { "Reverb" },
revolver = { "Revolver" },
revolver_ammo = { "Revolver Ammo" },
revolver_lasersight = { "Revolver + Lasersight" },
rocket_launcher_ammo = { "Rocket Launcher Ammo" },
rocket_launcher = { "Rocket Launcher" },
rumble = { "Rumble" },
subtitles = { "Subtitles" },
save_game = { "Save Game" },
savegame_timestamp = { "%02d Days %02d:%02d:%02d" },
screen_resolution = { "Screen Resolution" },
level_secrets_found = { "Secrets Found in Level" },
total_secrets_found = { "Secrets Found Total" },
select_level = { "Select Level" },
separate = { "Separate" },
sfx_volume = { "SFX Volume" },
shadows = { "Shadows" },
shotgun = { "Shotgun" },
shotgun_normal_ammo = { "Shotgun Normal Ammo" },
shotgun_wideshot_ammo = { "Shotgun Wideshot Ammo" },
small_medipack = { "Small Medipack" },
sound = { "Sound" },
silencer = { "Silencer" },
view = { "View" },
thumbstick_camera = { "Thumbstick Camera" },
time_taken = { "Time Taken" },
statistics = { "Statistics" },
torch = { "Torch" },
empty = { "Empty" },
use = { "Use" },
ammo_used = { "Ammo Used" },
used_medipacks = { "Medipacks Used" },
uzi_ammo = { "Uzi Ammo" },
uzis = { "Uzis" },
volumetric_fog = { "Volumetric Fog" },
antialiasing = { "Antialiasing" },
low = { "Low" },
medium = { "Medium" },
high = { "High" },
waiting_for_input = { "Waiting For Input" },
windowed = { "Windowed" },
load_game = { "Load Game" },
quick_actions = { "Quick Actions" },
vehicle_actions = { "Vehicle Actions" },
test_level = { "Test Level" },
waterskin_small_empty = { "Small Waterskin (Empty)" },
waterskin_small_1l = { "Small Waterskin (1L)" },
waterskin_small_2l = { "Small Waterskin (2L)" },
waterskin_small_3l = { "Small Waterskin (3L)" },
waterskin_large_empty = { "Large Waterskin (Empty)" },
waterskin_large_1l = { "Large Waterskin (1L)" },
waterskin_large_2l = { "Large Waterskin (2L)" },
waterskin_large_3l = { "Large Waterskin (3L)" },
waterskin_large_4l = { "Large Waterskin (4L)" },
waterskin_large_5l = { "Large Waterskin (5L)" },
torch2 = { "Torch 2" },
mechanical_scarab = { "Mechanical Scarab With Winding Key" },
mechanical_scarab_1 = { "Mechanical Scarab (No Winding Key)" },
mechanical_scarab_2 = { "Mechanical Scarab Winding Key" },
title = { "Title" }
}
TEN.Flow.SetStrings(strings)
local languages =
{
"English",
"Italian",
"German",
"French",
"Dutch",
"Spanish",
"Japanese",
"Russian"
}
TEN.Flow.SetLanguageNames(languages)