Hi there, for fix the issue with impossibility of interaction with barrels, traps, walls, and ect; you need copy file "ISWorldObjectContextMenu.lua" from "...\Steam\steamapps\common\ProjectZomboid\media\lua\client\ISUI" to "...\Steam\steamapps\workshop\content\108600\660074817\mods\OZMeds\media\lua\client\ISUI" I recommend to make backup of original file. After that in copied file you need add follow lines:
ISWorldObjectContextMenu.OZPerformInjectionAction = function(worldobjects, player, otherPlayer)
if luautils.walkAdj(player, otherPlayer:getCurrentSquare()) then
ISTimedActionQueue.add(OZPerformInjectionAction:new(player, otherPlayer));
end
end
after these lines
ISWorldObjectContextMenu.onTakeGenerator = function(worldobjects, generator, player)
local playerObj = getSpecificPlayer(player)
if luautils.walkAdj(playerObj, generator:getSquare()) then
ISTimedActionQueue.add(ISTakeGenerator:new(player, generator, 100));
end
end
save and play :)