@@ -9,16 +9,16 @@ local guidm = require('gui.dwarfmode')
99local INITIAL_LIST_HEIGHT = 5
1010local INITIAL_INFO_HEIGHT = 15
1111
12- local texturesOnOff8x12 = dfhack .textures .loadTileset (' hack /data/art/on-off.png' , 8 , 12 , true )
12+ local texturesOnOff8x12 = dfhack .textures .loadTileset (dfhack . getHackPath () .. ' /data/art/on-off.png' , 8 , 12 , true )
1313local LIST_ITEM_HIGHLIGHTED = dfhack .textures .getTexposByHandle (texturesOnOff8x12 [1 ]) -- yellow-ish indicator
1414
15- local texturesOnOff = dfhack .textures .loadTileset (' hack /data/art/on-off_top-left.png' , 32 , 32 , true )
15+ local texturesOnOff = dfhack .textures .loadTileset (dfhack . getHackPath () .. ' /data/art/on-off_top-left.png' , 32 , 32 , true )
1616local TILE_HIGHLIGHTED = dfhack .textures .getTexposByHandle (texturesOnOff [1 ]) -- yellow-ish indicator
1717if TILE_HIGHLIGHTED < 0 then -- use a fallback
1818 TILE_HIGHLIGHTED = 88 -- `X`
1919end
2020
21- local texturesSmallLetters = dfhack .textures .loadTileset (' hack /data/art/curses-small-letters_top-left.png' , 32 , 32 , true )
21+ local texturesSmallLetters = dfhack .textures .loadTileset (dfhack . getHackPath () .. ' /data/art/curses-small-letters_top-left.png' , 32 , 32 , true )
2222local TILE_STARTING_SYMBOL = dfhack .textures .getTexposByHandle (texturesSmallLetters [1 ])
2323if TILE_STARTING_SYMBOL < 0 then -- use a fallback
2424 TILE_STARTING_SYMBOL = 97 -- `a`
0 commit comments