Ok. I actually liked this format when using Tiled, and thought retro-compatibility was very important (especially for a first PR ;) ). I used static Strings so that changing from abbreviation to full text (ik -> inventory_keep) is a one place modification.
From what I understand, the headless script could indeed be used. Will allow use of the content editor to define the conditions, and allow AND and OR combinations of conditions. Much better.