File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ local scripts = {
9292 FACETS = reqscript (" assign-facets" ),
9393}
9494
95- local default_filename = " /hack /scripts/dwarf_profiles.json"
95+ local default_filename = dfhack . getHackPath () .. " /scripts/dwarf_profiles.json"
9696
9797-- ------------------------------------------------- APPLY PROFILE -------------------------------------------------- --
9898--- Apply the given profile to a unit, erasing or resetting the unit characteristics as requested.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ local SCROLLBACK_CHARS = 2^18
2626local PERSISTED_SCROLLBACK_CHARS = 2 ^ 15
2727
2828config = config or json .open (' dfhack-config/launcher.json' )
29- base_freq = base_freq or json .open (' hack /data/base_command_counts.json' )
29+ base_freq = base_freq or json .open (dfhack . getHackPath () .. ' /data/base_command_counts.json' )
3030user_freq = user_freq or json .open (' dfhack-config/command_counts.json' )
3131
3232-- track whether the user has enabled dev mode
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ local quickfort_reader = reqscript('internal/quickfort/reader')
1111
1212local log = quickfort_common .log
1313
14- common_aliases_filename = ' hack /data/quickfort/aliases-common.txt'
14+ common_aliases_filename = dfhack . getHackPath () .. ' /data/quickfort/aliases-common.txt'
1515user_aliases_filename = ' dfhack-config/quickfort/aliases.txt'
1616
1717-- special keycode shortcuts inherited from python quickfort.
Original file line number Diff line number Diff line change 77
88local settings = {
99 blueprints_user_dir = {default_value = ' dfhack-config/blueprints' },
10- blueprints_library_dir = {default_value = ' hack /data/blueprints' },
10+ blueprints_library_dir = {default_value = dfhack . getHackPath () .. ' /data/blueprints' },
1111 force_marker_mode = {default_value = false },
1212 stockpiles_max_barrels = {default_value =- 1 },
1313 stockpiles_max_bins = {default_value =- 1 },
Original file line number Diff line number Diff line change 33local gui = require (' gui' )
44local widgets = require (' gui.widgets' )
55
6- local GUIDE_FILE = ' hack /docs/docs/Quickstart.txt'
6+ local GUIDE_FILE = dfhack . getHackPath () .. ' /docs/docs/Quickstart.txt'
77
88local function add_section_widget (sections , section )
99 if # section == 0 then return end
You can’t perform that action at this time.
0 commit comments