To check combined conditions in config files or scripts.
Put simple condition check functions in Conditions.lua, such as: function IsDead() ... end function IsHpBiggerThan(value) ... end
Check condition in string:
local checker = require "Checker"
local condStr = "!IsDead&IsHpBiggerThan:3"
isOK = checker.CheckCondition(condStr)
use ! as 'not', & as 'and', | as 'or'. use : between function name and params.