Reactor Monitor v0.3.0 - bugfix release Fixes applied to original code: - instantiateControl: handle nil cfg (redstone mode "none") - check(): preserve error message before reactor stops - profile_count_mismatch: disable reactor and redstone, not zombie - component.proxy pcall protection in MonitorWindow:onLoad - instantiateItem nil guard - App:start crash recovery with emergency shutdown - emergencyShutdown method forces redstone off on fatal error Co-Authored-By: Claude <noreply@anthropic.com> @
172 lines
7.2 KiB
Lua
172 lines
7.2 KiB
Lua
--[[
|
|
Copyright (c) 2025 Eming Kwok
|
|
|
|
This source code is licensed under the MIT license found in the
|
|
LICENSE file in the root directory of this source tree.
|
|
]]
|
|
|
|
return {
|
|
['gregtech:gt.1080k_Space_Coolantcell'] = '1080K Sp coolant cell',
|
|
['gregtech:gt.180k_Helium_Coolantcell'] = '180K Helium coolant cell',
|
|
['gregtech:gt.180k_NaK_Coolantcell'] = '180K NaK coolant cell',
|
|
['gregtech:gt.180k_Space_Coolantcell'] = '180K Sp coolant cell',
|
|
['gregtech:gt.360k_Helium_Coolantcell'] = '360K Helium coolant cell',
|
|
['gregtech:gt.360k_NaK_Coolantcell'] = '360K NaK coolant cell',
|
|
['gregtech:gt.360k_Space_Coolantcell'] = '360K Sp coolant cell',
|
|
['gregtech:gt.540k_Space_Coolantcell'] = '540K Sp coolant cell',
|
|
['gregtech:gt.60k_Helium_Coolantcell'] = '60K Helium coolant cell',
|
|
['gregtech:gt.60k_NaK_Coolantcell'] = '60K NaK coolant cell',
|
|
['gregtech:gt.neutroniumHeatCapacitor'] = '1G neutronium heat capacitor',
|
|
['gregtech:gt.rodExcitedPlutonium'] = 'Fuel rod (excited plutonium)',
|
|
['gregtech:gt.rodExcitedPlutonium2'] = 'Double fuel rod (excited plutonium)',
|
|
['gregtech:gt.rodExcitedPlutonium4'] = 'Quad fuel rod (excited plutonium)',
|
|
['gregtech:gt.rodExcitedUranium'] = 'Fuel rod (excited uranium)',
|
|
['gregtech:gt.rodExcitedUranium2'] = 'Double fuel rod (excited uranium)',
|
|
['gregtech:gt.rodExcitedUranium4'] = 'Quad fuel rod (excited uranium)',
|
|
['gregtech:gt.rodGlowstone'] = 'Fuel rod (glowstone)',
|
|
['gregtech:gt.rodHighDensityPlutonium'] = 'Fuel rod (high density plutonium)',
|
|
['gregtech:gt.rodHighDensityPlutonium2'] = 'Double fuel rod (high density plutonium)',
|
|
['gregtech:gt.rodHighDensityPlutonium4'] = 'Quad fuel rod (high density plutonium)',
|
|
['gregtech:gt.rodHighDensityUranium'] = 'Fuel rod (high density uranium)',
|
|
['gregtech:gt.rodHighDensityUranium2'] = 'Double fuel rod (high density uranium)',
|
|
['gregtech:gt.rodHighDensityUranium4'] = 'Quad fuel rod (high density uranium)',
|
|
['gregtech:gt.rodMOX'] = 'Fuel rod (MOX)',
|
|
['gregtech:gt.rodMOX2'] = 'Double fuel rod (MOX)',
|
|
['gregtech:gt.rodMOX4'] = 'Quad fuel rod (MOX)',
|
|
['gregtech:gt.rodNaquadah'] = 'Fuel rod (Naquadah)',
|
|
['gregtech:gt.rodNaquadah2'] = 'Double fuel rod (Naquadah)',
|
|
['gregtech:gt.rodNaquadah32'] = 'The "core"',
|
|
['gregtech:gt.rodNaquadah4'] = 'Quad fuel rod (Naquadah)',
|
|
['gregtech:gt.rodNaquadria'] = 'Fuel rod (Naquadah*)',
|
|
['gregtech:gt.rodNaquadria2'] = 'Double fuel rod (Naquadah*)',
|
|
['gregtech:gt.rodNaquadria4'] = 'Quad fuel rod (Naquadah*)',
|
|
['gregtech:gt.rodThorium'] = 'Fuel rod (Thorium)',
|
|
['gregtech:gt.rodThorium2'] = 'Double fuel rod (Thorium)',
|
|
['gregtech:gt.rodThorium4'] = 'Quad fuel rod (Thorium)',
|
|
['gregtech:gt.rodTiberium'] = 'Fuel rod (Tiberium)',
|
|
['gregtech:gt.rodTiberium2'] = 'Double fuel rod (Tiberium)',
|
|
['gregtech:gt.rodTiberium4'] = 'Quad fuel rod (Tiberium)',
|
|
['gregtech:gt.rodUranium'] = 'Fuel rod (Uranium)',
|
|
['gregtech:gt.rodUranium2'] = 'Double fuel rod (Uranium)',
|
|
['gregtech:gt.rodUranium4'] = 'Quad fuel rod (Uranium)',
|
|
['IC2:reactorVentCore'] = 'Reactor vent',
|
|
alert_message = 'Message',
|
|
alert_title = 'Alert',
|
|
backup_saved = 'Backup saved',
|
|
black = 'Black',
|
|
blue = 'Blue',
|
|
brown = 'Brown',
|
|
builtin_schemas = 'Builtin schemas',
|
|
cancel = 'Cancel',
|
|
change_condition = 'Change if',
|
|
change_condition_damage_less = 'damage less than',
|
|
change_condition_none = 'never',
|
|
component_address = 'Address',
|
|
confirm_delete = 'Confirm',
|
|
confirm_exit = 'Confirm',
|
|
copy = 'Copy',
|
|
create_new = '<create...>',
|
|
cyan = 'Cyan',
|
|
delete = 'Delete',
|
|
disabled = 'Disabled',
|
|
discard_and_exit = 'Discard and exit',
|
|
down = 'Down',
|
|
east = 'East',
|
|
edit = 'Edit',
|
|
enabled = 'Enabled',
|
|
global_control = 'Global control',
|
|
gray = 'Gray',
|
|
green = 'Green',
|
|
height = 'Height',
|
|
input_prompt_instance_name = 'Input reactor name',
|
|
input_prompt_max_heat = 'Input maximum heat temp (0-10000)',
|
|
input_prompt_min_heat = 'Input minimum heat temp (0-10000)',
|
|
input_prompt_schema_name = 'Input schema name',
|
|
input_prompt_schema_width = 'Input schema width (3-9)',
|
|
input_prompt_schema_height = 'Input schema height (6) (not used)',
|
|
input_prompt_threshold = 'Input durability threshold (0.0-1.0)',
|
|
instance_config = 'Edit reactor',
|
|
instance_name = 'Name',
|
|
invalid_command = 'Unsupported command: %s',
|
|
invalid_schema = 'Unsupported schema: %s',
|
|
item_config = 'Edit item',
|
|
item_input_side = 'Item input from',
|
|
item_name = 'Item',
|
|
item_output_side = 'Item output to',
|
|
item_reactor_side = 'Reactor side',
|
|
item_shortage = 'Missing item %s',
|
|
keyboard_tips_run = '[R]Run [S]Stop [Q]Stop and exit',
|
|
keyboard_tips_setup = '[←↑→↓]Select [Enter]Confirm [Q]Discard and exit',
|
|
language = 'language',
|
|
lightblue = 'Light blue',
|
|
lime = 'Lime',
|
|
magenta = 'Magenta',
|
|
max_heat_temp = 'Max heat temp',
|
|
min_heat_temp = 'Min heat temp',
|
|
name = 'Name',
|
|
name_copy = 'copy',
|
|
no_profile = 'No profile %s',
|
|
no_valid_config = 'No reactor instances are configured.\nPress any key to configure...',
|
|
none = 'none',
|
|
north = 'North',
|
|
not_configured = 'Not configured',
|
|
ok = 'OK',
|
|
orange = 'Orange',
|
|
output_full = 'Output item container is full',
|
|
pink = 'Pink',
|
|
profile_config = 'Edit profile',
|
|
profile_cooldown = 'Cooling profile',
|
|
profile_count_mismatch = 'Reactor slot count less than configuration',
|
|
profile_heatup = 'Heating profile',
|
|
profile_name_cooldown = '[Cooldown]',
|
|
profile_name_heatup = '[Heatup]',
|
|
profile_name_working = '[Working]',
|
|
profile_working = 'Working profile',
|
|
prompt_backup = 'Old config backup to file %s',
|
|
prompt_confirm_delete = 'Really delete %s ?',
|
|
prompt_confirm_exit = 'Really exit?',
|
|
purple = 'Purple',
|
|
reactor_address = 'Reactor address',
|
|
reactor_state_applying = 'Changing items',
|
|
reactor_state_error = 'Error: %s',
|
|
reactor_state_running = 'Running %s',
|
|
reactor_state_stopped = 'Stopped',
|
|
red = 'Red',
|
|
redstone_color = 'Signal color',
|
|
redstone_config = 'Redstone configuration',
|
|
redstone_control = 'Redstone',
|
|
redstone_direction = 'Signal direction',
|
|
redstone_mode = 'Mode',
|
|
redstone_mode_bundled = 'ProjectRed bundled',
|
|
redstone_mode_none = 'Don\'t use',
|
|
redstone_mode_vanilla = 'Vanilla',
|
|
save_and_exit = 'Save and exit',
|
|
schema = 'Schema',
|
|
schema_config = 'Edit schema',
|
|
schema_name_single = 'Single item',
|
|
schema_name_vacuum = 'Vacuum',
|
|
select_schema = 'Select a schema',
|
|
silver = 'Silver',
|
|
south = 'South',
|
|
sync_shutdown = 'Sync shutdown',
|
|
tab_general = 'General',
|
|
tab_reactors = 'Reactors',
|
|
tab_save = 'Save & Exit',
|
|
tab_schemas = 'Schemas',
|
|
threshold = 'Threshold',
|
|
title_config_app = 'Reactor Monitor v%s - Configure',
|
|
title_monitor_app = 'Reactor Monitor v%s - Run',
|
|
transposer = 'Transposer',
|
|
transposer_config = 'Edit transposer',
|
|
unsupported_control = 'Unsupported redstone control mode: %s',
|
|
unsupported_item_check = 'Unsupported item change condition: %s',
|
|
up = 'Up',
|
|
usage = 'Usage: reactor [COMMAND] [OPTION...]\n\nAvailable COMMANDs:\n\tsetup\tConfigure app and reactor instances.\n\trun\t[default] Run reactors.\n\thelp\tShow this message.\nAvailable OPTIONs:\n\t--config=<PATH> Use config file specifed by PATH.\n\t--debug Disable GUI and show debug log.',
|
|
user_schemas = 'Custom schemas',
|
|
view = 'View',
|
|
west = 'West',
|
|
white = 'White',
|
|
width = 'Width',
|
|
yellow = 'Yellow',
|
|
}
|