
Code: Select all
local builtInGfxAtlasIndex = math.floor(args.gfxIndex / 200);
index = index - (builtInGfxAtlasIndex * 200);
AdrTru wrote:I found there little bug in core.lua in self.drawIcon must be:becouse internal icons have pictures in matrix 13x13, but next set begin index is 200.Code: Select all
local builtInGfxAtlasIndex = math.floor(args.gfxIndex / 200); index = index - (builtInGfxAtlasIndex * 200);
And I have problem with Jkos FW integration in same dung as GrimTk. This problem I didnt solved.
Hi AdrTru, could you specify the problem ? I am using Jkos hooks as well in my dungeon. i have random problem with GUI, when starting some dialogue (with GTK picture defined) and I click on first id response I got error: GTK dialogue response called but no current page... and game is stacked. :/ it is quite random, sometimes dialogue is working with that and next time it is not :/AdrTru wrote:I found there little bug in core.lua in self.drawIcon must be:becouse internal icons have pictures in matrix 13x13, but next set begin index is 200.Code: Select all
local builtInGfxAtlasIndex = math.floor(args.gfxIndex / 200); index = index - (builtInGfxAtlasIndex * 200);
And I have problem with Jkos FW integration in same dung as GrimTk. This problem I didnt solved.
Code: Select all
function fwAddGrimtkHooks()
local gtkhook = function()
if ( findEntity("GTK") ) then
if ( GTK.Core.GUI:isPartyLocked() ) then
return false;
end
end
end
fw.script:set('party.grimtk.onRest',gtkhook)
fw.script:set('party.grimtk.onWakeUp',gtkhook)
end