Replacement for kingdom parser logic (no UI included here)