text: const core = [
    "opt_dodge_penalty",
    "opt_pp_extras",
    "opt_iq_perception",
    "opt_critical",
    "debug",
    "version",
    "migrated",
    "importexport",
    "importexportstatus",
    "truename_name",
    "character_race",
    "occ",
    "character_ps_type",
    "character_level",
    "experience",
    "alignment",
    "character_age",
    "character_gender",
    "character_height",
    "character_weight",
    "character_familyorigin",
    "character_environment",
    "character_languages",
    "character_insanity",
    "character_disposition",
    "iq",
    "iq_bonus",
    "perception_bonus",
    "me",
    "me_bonus",
    "ma",
    "ma_bonus",
    "ps",
    "ps_bonus",
    "pp",
    "pp_bonus",
    "pe",
    "pe_bonus",
    "pe_coma_bonus",
    "pb",
    "pb_bonus",
    "spd",
    "spdfly",
    "charmimpress",
    "character_hp",
    "character_sdc",
    "character_ar",
    "character_mdc",
    "character_ppe",
    "character_isp",
    "hf",
    "spellstrength",
    "perception",
    "run_mph",
    "run_ft_melee",
    "run_ft_attack",
    "run_cruising",
    "run_at",
    "leapup",
    "leapout",
    "equipment",
    "psionic_ability",
    "credits_universal_bearer",
    "credits_universal_marked",
    "credits_blackmarket",
    "credits_ngmi",
    "credits_phaseworld",
    "credits_splugorth",
    "credits_gems",
    "credits_blackmarketmerchandise",
    "trust",
    "intimidate",
    "bonus_ids_output",
    "default_profile",
    "default_mdc",
    "active_name",
    "active_level",
    "active_attacks",
    "active_sdc",
    "active_mdc",
    "active_initiative",
    "active_strike",
    "active_parry",
    "active_dodge",
    "active_throw",
    "active_disarm",
    "active_entangle",
    "active_pull",
    "active_roll",
    "active_breakfall",
    "active_damage",
    "active_damage_paired",
    "active_damage_mainhand",
    "active_damage_offhand",
    "active_dodge_flight",
    "active_dodge_auto",
    "active_dodge_teleport",
    "active_dodge_motion",
    "active_dodge_underwater",
    "active_strike_range",
    "active_strike_range_single",
    "active_strike_range_burst",
    "active_strike_range_aimed",
    "active_strike_range_aimed_single",
    "active_strike_range_aimed_pulse",
    "active_strike_range_called",
    "active_strike_range_called_single",
    "active_strike_range_called_pulse",
    "active_strike_range_aimed_called_single",
    "active_strike_range_aimed_called_pulse",
    "active_disarm_range",
    "active_damage_range",
    "active_damage_range_single",
    "active_damage_range_burst",
    "active_critical",
    "active_knockout",
    "active_deathblow",
    "active_flipthrow",
    "active_tackle",
    "active_leghook",
    "active_backwardsweepkick",
    "active_description",
    "active_psionics",
    "active_insanity",
    "active_magic",
    "active_lethalpoison",
    "active_nonlethalpoison",
    "active_disease",
    "active_drugs",
    "active_comadeath",
    "active_perceptioncheck",
    "active_pain",
    "active_horrorfactor",
    "active_mindcontrol",
    "active_illusions",
    "active_possession",
    "active_curses",
    "active_maintainbalance",
    "active_fatigue",
    "active_despair",
    "active_telepathicprobes",
    "active_mod_iq",
    "active_iq_abs",
    "active_mod_iq_bonus",
    "active_mod_perception_bonus",
    "active_mod_me",
    "active_mod_me_bonus",
    "active_me_abs",
    "active_mod_ma",
    "active_mod_ma_bonus",
    "active_ma_abs",
    "active_mod_ps",
    "active_mod_ps_bonus",
    "active_ps_abs",
    "active_mod_pp",
    "active_mod_pp_bonus",
    "active_pp_abs",
    "active_mod_pe",
    "active_mod_pe_bonus",
    "active_mod_pe_coma_bonus",
    "active_pe_abs",
    "active_mod_pb",
    "active_mod_pb_bonus",
    "active_pb_abs",
    "active_mod_spd",
    "active_mod_spdfly",
    "active_mod_character_ps_type",
    "active_mod_restrained_punch",
    "active_mod_restrained_punch_unit",
    "active_mod_punch",
    "active_mod_punch_unit",
    "active_mod_power_punch",
    "active_mod_power_punch_unit",
    "active_mod_kick",
    "active_mod_kick_unit",
    "active_mod_leap_kick",
    "active_mod_leap_kick_unit",
    "active_mod_liftcarry_weight_multiplier",
    "active_mod_liftcarry_duration_multiplier",
    "active_mod_lift",
    "active_mod_carry",
    "active_mod_throw_distance",
    "active_mod_carry_running",
    "active_mod_hold",
    "active_hp",
    "active_ar",
    "active_ppe",
    "active_isp",
    "active_mod_hf",
    "active_mod_spellstrength",
    "active_mod_trust",
    "active_mod_intimidate",
    "active_mod_charmimpress",
    "active_mod_skillbonus",
    "active_mod_carry_max",
    "active_mod_hold_max",
    "armordamage",
    "active_armor_name",
    "active_armor_is_active",
    "active_armor_movementpenalty",
    "active_armor_basemdc",
    "active_armor_currentmdc",
    "active_armor_mdc",
    "active_profile_name",
    "active_profile_attacks",
    "active_profile_sdc",
    "active_profile_mdc",
    "active_profile_initiative",
    "active_profile_strike",
    "active_profile_parry",
    "active_profile_dodge",
    "active_profile_throw",
    "active_profile_disarm",
    "active_profile_entangle",
    "active_profile_pull",
    "active_profile_roll",
    "active_profile_breakfall",
    "active_profile_damage",
    "active_profile_damage_paired",
    "active_profile_damage_mainhand",
    "active_profile_damage_offhand",
    "active_profile_dodge_flight",
    "active_profile_dodge_auto",
    "active_profile_dodge_teleport",
    "active_profile_dodge_motion",
    "active_profile_dodge_underwater",
    "active_profile_strike_range",
    "active_profile_strike_range_single",
    "active_profile_strike_range_burst",
    "active_profile_strike_range_aimed",
    "active_profile_strike_range_aimed_single",
    "active_profile_strike_range_aimed_pulse",
    "active_profile_strike_range_called",
    "active_profile_strike_range_called_single",
    "active_profile_strike_range_called_pulse",
    "active_profile_strike_range_aimed_called_single",
    "active_profile_strike_range_aimed_called_pulse",
    "active_profile_disarm_range",
    "active_profile_damage_range",
    "active_profile_damage_range_single",
    "active_profile_damage_range_burst",
    "active_profile_critical",
    "active_profile_knockout",
    "active_profile_deathblow",
    "active_profile_flipthrow",
    "active_profile_tackle",
    "active_profile_leghook",
    "active_profile_backwardsweepkick",
    "active_profile_description",
    "active_profile_psionics",
    "active_profile_insanity",
    "active_profile_magic",
    "active_profile_lethalpoison",
    "active_profile_nonlethalpoison",
    "active_profile_disease",
    "active_profile_drugs",
    "active_profile_comadeath",
    "active_profile_perceptioncheck",
    "active_profile_pain",
    "active_profile_horrorfactor",
    "active_profile_mindcontrol",
    "active_profile_illusions",
    "active_profile_possession",
    "active_profile_curses",
    "active_profile_maintainbalance",
    "active_profile_fatigue",
    "active_profile_despair",
    "active_profile_telepathicprobes",
    "active_profile_mod_iq",
    "active_profile_mod_iq_bonus",
    "active_profile_mod_perception_bonus",
    "active_profile_mod_me",
    "active_profile_mod_me_bonus",
    "active_profile_mod_ma",
    "active_profile_mod_ma_bonus",
    "active_profile_mod_ps",
    "active_profile_mod_ps_bonus",
    "active_profile_mod_pp",
    "active_profile_mod_pp_bonus",
    "active_profile_mod_pe",
    "active_profile_mod_pe_bonus",
    "active_profile_mod_pe_coma_bonus",
    "active_profile_mod_pb",
    "active_profile_mod_pb_bonus",
    "active_profile_mod_spd",
    "active_profile_mod_spdfly",
    "active_profile_mod_character_ps_type",
    "active_profile_mod_restrained_punch",
    "active_profile_mod_restrained_punch_unit",
    "active_profile_mod_punch",
    "active_profile_mod_punch_unit",
    "active_profile_mod_power_punch",
    "active_profile_mod_power_punch_unit",
    "active_profile_mod_kick",
    "active_profile_mod_kick_unit",
    "active_profile_mod_leap_kick",
    "active_profile_mod_leap_kick_unit",
    "active_profile_mod_liftcarry_weight_multiplier",
    "active_profile_mod_liftcarry_duration_multiplier",
    "active_profile_mod_lift",
    "active_profile_mod_carry",
    "active_profile_mod_throw_distance",
    "active_profile_mod_carry_max",
    "active_profile_mod_carry_running",
    "active_profile_mod_hold",
    "active_profile_mod_hold_max",
    "active_profile_hp",
    "active_profile_ar",
    "active_profile_ppe",
    "active_profile_isp",
    "active_profile_mod_hf",
    "active_profile_mod_spellstrength",
    "active_profile_mod_trust",
    "active_profile_mod_intimidate",
    "active_profile_mod_charmimpress",
    "active_profile_mod_skillbonus",
    "opt_iq_bonus",
    "currentppe",
    "currentisp",
    "outputusage",
    "outputarmorwarnings",
  ];
  
  const r = {
    h2h: [
      "name",
      "level",
      "attacks",
      "pull",
      "roll",
      "parry",
      "dodge",
      "description",
      "strike",
      "disarm",
      "critical",
      "damage",
      "knockout",
      "initiative",
      "entangle",
      "strike_range",
      "dodge_flight",
      "bonus_id",
      "mod_spellstrength",
      "breakfall",
      "flipthrow",
      "tackle",
      "mod_pp",
      "mod_pe",
      "maintainbalance",
      "mod_me",
      "deathblow",
      "acquiredlevel",
      "levelacquired",
      "rowid",
    ],
    wp: [
      "name",
      "level",
      "strike",
      "parry",
      "rowid",
      "disarm",
      "rof",
      "throw",
      "entangle",
      "bonus_id",
      "levelacquired",
    ],
    skills: [
      "name",
      "category",
      "base",
      "level",
      "total",
      "rowid",
      "perlevel",
      "bonus",
      "levelacquired",
      "new",
    ],
    magic: [
      "name",
      "damage",
      "critical",
      "knockout",
      "description",
      "mod_character_ps_type",
      "mod_restrained_punch_unit",
      "mod_punch_unit",
      "mod_power_punch_unit",
      "mod_kick_unit",
      "mod_leap_kick_unit",
      "mod_liftcarry_weight_multiplier",
      "mod_liftcarry_duration_multiplier",
      "school",
      "spell_level",
      "percentage",
      "percentage_starting",
      "percentage_per_level",
      "rowid",
      "range",
      "duration",
      "frequency",
      "dc",
      "ppecost",
      "damage_starting",
      "damage_per_level",
      "range_starting",
      "mod_iq",
    ],
    psionics: [
      "name",
      "damage",
      "critical",
      "knockout",
      "description",
      "mod_character_ps_type",
      "mod_restrained_punch_unit",
      "mod_punch_unit",
      "mod_power_punch_unit",
      "mod_kick_unit",
      "mod_leap_kick_unit",
      "mod_liftcarry_weight_multiplier",
      "mod_liftcarry_duration_multiplier",
      "percentage",
      "percentage_starting",
      "percentage_per_level",
      "rowid",
      "range",
      "duration",
      "frequency",
      "dc",
      "ispcost",
    ],
    modifiers: [
      "name",
      "level",
      "attacks",
      "initiative",
      "damage_paired",
      "damage_mainhand",
      "damage_offhand",
      "critical",
      "knockout",
      "description",
      "mindcontrol",
      "mod_character_ps_type",
      "mod_restrained_punch_unit",
      "mod_punch_unit",
      "mod_power_punch_unit",
      "mod_kick_unit",
      "mod_leap_kick_unit",
      "mod_liftcarry_weight_multiplier",
      "mod_liftcarry_duration_multiplier",
      "mod_iq",
      "rowid",
      "bonus_id",
      "damage",
      "pp_abs",
      "pe_abs",
      "ps_abs",
      "pb_abs",
    ],
    bonuses: [
      "name",
      "level",
      "attacks",
      "sdc",
      "mdc",
      "initiative",
      "strike",
      "parry",
      "dodge",
      "throw",
      "disarm",
      "entangle",
      "pull",
      "roll",
      "breakfall",
      "damage",
      "damage_paired",
      "damage_mainhand",
      "damage_offhand",
      "dodge_flight",
      "dodge_auto",
      "dodge_teleport",
      "dodge_motion",
      "dodge_underwater",
      "strike_range",
      "strike_range_single",
      "strike_range_burst",
      "strike_range_aimed",
      "strike_range_aimed_single",
      "strike_range_aimed_pulse",
      "strike_range_called",
      "strike_range_called_single",
      "strike_range_called_pulse",
      "strike_range_aimed_called_single",
      "strike_range_aimed_called_pulse",
      "disarm_range",
      "damage_range",
      "damage_range_single",
      "damage_range_burst",
      "critical",
      "knockout",
      "deathblow",
      "flipthrow",
      "description",
      "psionics",
      "insanity",
      "magic",
      "lethalpoison",
      "nonlethalpoison",
      "disease",
      "drugs",
      "comadeath",
      "perceptioncheck",
      "pain",
      "horrorfactor",
      "mindcontrol",
      "illusions",
      "possession",
      "curses",
      "maintainbalance",
      "fatigue",
      "despair",
      "telepathicprobes",
      "mod_iq",
      "iq_abs",
      "mod_iq_bonus",
      "mod_perception_bonus",
      "mod_me",
      "mod_me_bonus",
      "me_abs",
      "mod_ma",
      "mod_ma_bonus",
      "ma_abs",
      "mod_ps",
      "mod_ps_bonus",
      "ps_abs",
      "mod_pp",
      "mod_pp_bonus",
      "pp_abs",
      "mod_pe",
      "mod_pe_bonus",
      "mod_pe_coma_bonus",
      "pe_abs",
      "mod_pb",
      "mod_pb_bonus",
      "pb_abs",
      "mod_spd",
      "spd_abs",
      "mod_spdfly",
      "spdfly_abs",
      "mod_character_ps_type",
      "mod_restrained_punch",
      "mod_restrained_punch_unit",
      "mod_punch",
      "mod_punch_unit",
      "mod_power_punch",
      "mod_power_punch_unit",
      "mod_kick",
      "mod_kick_unit",
      "mod_leap_kick",
      "mod_leap_kick_unit",
      "mod_liftcarry_weight_multiplier",
      "mod_liftcarry_duration_multiplier",
      "mod_lift",
      "mod_carry",
      "mod_throw_distance",
      "mod_carry_running",
      "mod_hold",
      "hp",
      "ar",
      "ps_type",
      "ppe",
      "isp",
      "mod_hf",
      "hf_abs",
      "mod_spellstrength",
      "spellstrength_abs",
      "mod_trust",
      "trust_abs",
      "mod_intimidate",
      "intimidate_abs",
      "mod_charmimpress",
      "charmimpress_abs",
      "mod_skillbonus",
      "selection_id",
      "tackle",
      "leghook",
      "backwardsweepkick",
    ],
    bonusselections: ["bonus_id", "name", "enabled"],
    profiles: [
      "global_psionic_ability",
      "name",
      "rowid",
      "is_default",
      "bonus_ids",
      "bonus_names",
      "mod_iq",
      "mod_me",
      "mod_ma",
      "mod_ps",
      "mod_pp",
      "mod_pe",
      "mod_pb",
      "mod_spd",
      "mod_spdfly",
      "mod_hf",
      "mod_spellstrength",
      "mod_trust",
      "mod_intimidate",
      "mod_charmimpress",
      "damage",
      "damage_paired",
      "damage_mainhand",
      "damage_offhand",
      "damage_range",
      "damage_range_single",
      "damage_range_burst",
      "ar",
      "critical",
      "knockout",
      "deathblow",
      "mod_character_ps_type",
      "mod_liftcarry_weight_multiplier",
      "mod_liftcarry_duration_multiplier",
      "attacks",
      "initiative",
      "pull",
      "roll",
      "breakfall",
      "strike_range",
      "strike_range_single",
      "strike_range_burst",
      "strike_range_aimed",
      "strike_range_called",
      "disarm_range",
      "strike_range_aimed_single",
      "strike_range_aimed_pulse",
      "strike_range_called_single",
      "strike_range_called_pulse",
      "strike_range_aimed_called_single",
      "strike_range_aimed_called_pulse",
      "hp",
      "sdc",
      "mdc",
      "ppe",
      "isp",
      "mod_skillbonus",
      "strike",
      "parry",
      "dodge",
      "throw",
      "dodge_flight",
      "dodge_auto",
      "dodge_teleport",
      "dodge_motion",
      "dodge_underwater",
      "flipthrow",
      "disarm",
      "entangle",
      "psionics",
      "insanity",
      "magic",
      "lethalpoison",
      "nonlethalpoison",
      "disease",
      "drugs",
      "comadeath",
      "perceptioncheck",
      "pain",
      "horrorfactor",
      "mindcontrol",
      "illusions",
      "possession",
      "curses",
      "maintainbalance",
      "fatigue",
      "despair",
      "telepathicprobes",
      "mod_me_bonus",
      "mod_ma_bonus",
      "mod_pp_bonus",
      "mod_pe_bonus",
      "mod_pe_coma_bonus",
      "mod_pb_bonus",
      "mod_iq_bonus",
      "mod_perception_bonus",
      "mod_character_ps_type_name",
      "mod_ps_bonus",
      "mod_restrained_punch",
      "mod_punch",
      "mod_power_punch",
      "mod_kick",
      "mod_leap_kick",
      "mod_restrained_punch_unit",
      "mod_punch_unit",
      "mod_power_punch_unit",
      "mod_kick_unit",
      "mod_leap_kick_unit",
      "mod_lift",
      "mod_carry",
      "mod_hold",
      "mod_throw_distance",
      "tackle",
      "leghook",
      "backwardsweepkick",
      "description",
    ],
    armor: ["name", "mdc", "is_active"],
    wpmodern: [
      "name",
      "rowid",
      "level",
      "strike_range_single",
      "disarm",
      "strike_range_burst",
      "bonus_id",
      "levelacquired",
    ],
    powersabilities: ["name", "rowid", "strike", "parry"],
  };
  