Notepad++ Stellaris Syntax Highlighting File

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

allocater

Second Lieutenant
25 Badges
May 17, 2016
135
69
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sword of Islam
  • Stellaris: Federations
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Surviving Mars
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Stellaris
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis III: Collection
  • Cities: Skylines
  • Ancient Space
I compiled a Stellaris Syntax Highlighting file for Notepad++. If anyone knows how to port it to Sublime Text, let me know:

Save this as stellaris.xml:

Code:
<NotepadPlus>
  <UserLang name="stellaris" ext="txt" udlVersion="2.1">
  <Settings>
  <Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
  <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
  </Settings>
  <KeywordLists>
  <Keywords name="Comments">00# 01 02 03 04</Keywords>
  <Keywords name="Numbers, prefix1"></Keywords>
  <Keywords name="Numbers, prefix2"></Keywords>
  <Keywords name="Numbers, extras1"></Keywords>
  <Keywords name="Numbers, extras2"></Keywords>
  <Keywords name="Numbers, suffix1"></Keywords>
  <Keywords name="Numbers, suffix2"></Keywords>
  <Keywords name="Numbers, range"></Keywords>
  <Keywords name="Operators1">: = .</Keywords>
  <Keywords name="Operators2"></Keywords>
  <Keywords name="Folders in code1, open">{</Keywords>
  <Keywords name="Folders in code1, middle"></Keywords>
  <Keywords name="Folders in code1, close">}</Keywords>
  <Keywords name="Folders in code2, open"></Keywords>
  <Keywords name="Folders in code2, middle"></Keywords>
  <Keywords name="Folders in code2, close"></Keywords>
  <Keywords name="Folders in comment, open"></Keywords>
  <Keywords name="Folders in comment, middle"></Keywords>
  <Keywords name="Folders in comment, close"></Keywords>
  <Keywords name="Keywords1">THESE_ARE_MULTI_SCOPES space_owner pop_faction closest_system orbital_deposit_tile owner orbit planet observation_outpost observation_outpost_owner fleet THESE_ARE_RELATIVE_SCOPES root prev prevprev prevprevprev from fromfrom fromfromfrom this</Keywords>
  <Keywords name="Keywords2">THESE_ARE_CONDITION_SCOPES any_sector count_pops any_system_within_border any_war any_tile any_neighboring_tile any_neighbor_system tile any_system any_ship any_owned_ship any_pop any_owned_pop any_planet_within_border ruler any_controlled_planet species any_ship_in_system any_owned_planet any_planet any_moon any_owned_leader any_owned_fleet any_bordering_country any_attacker any_country any_neighbor_country any_defender research_leader</Keywords>
  <Keywords name="Keywords3">THESE_ARE_COMMAND_SCOPES owner_species leader last_created_species last_created_pop last_created_leader last_created_fleet last_created_ship last_created_country home_planet last_created_ambient_object fleet capital_scope best_tile_for_pop solar_system every_fleet_in_system every_tile every_neighboring_tile every_owned_ship every_owned_pop every_owned_planet every_system_planet every_planet every_pop_faction every_country every_planet_army every_system_ambient_object random_tile random_neighboring_tile random_rim_system random_system random_owned_ship random_pop random_owned_pop random_owned_planet random_system_planet random_planet random_moon random_owned_leader random_pop_faction random_country random_neighbor_country random_army random_system_ambient_object</Keywords>
  <Keywords name="Keywords4">THESE_ARE_SPECIAL_THINGIES hidden_effect event_target default random debug_scope_type save_event_target_as custom_tooltip namespace custom_tooltip_fail parameter hidden hidden_trigger</Keywords>
  <Keywords name="Keywords5">THESE_ARE_CONDITIONS custom_tooltip if and or not happiness has_ring hidden_trigger has_owner any_owned_planet found_system found_planet any_controlled_planet is_ai always has_trait has_ethic is_moon opinion any_pop is_owned_by is_same_species any_war_defender any_war_attacker ideal_planet_class is_same_empire is_planet_class has_strategic_resource is_star_class distance has_technology has_planet_modifier has_planet_flag has_country_flag has_fleet_flag has_ship_flag is_ship_class is_ship_size is_capital has_ground_combat is_at_war num_owned_planets has_government num_pops is_primitive is_inside_nebula is_pirate is_inside_border any_country planet_size any_planet influence is_star is_asteroid is_at_war_with their_opinion is_same_species_class has_alliance has_federation is_colonizable gender has_level num_minerals num_physics num_society num_engineering num_modifiers has_any_strategic_resource free_leader_slots has_pop_flag is_occupied_flag can_colonize is_damaged has_hp is_surveyed has_global_flag check_variable any_planet_within_border any_owned_ship any_ship energy pop_has_ethic pop_has_trait is_colony habitability has_building is_controlled_by is_terraformed is_terraforming has_planet_edict has_country_edict has_observation_outpost is_federation_leader starting_system has_star_flag has_mining_station has_research_station has_spaceport any_spaceport any_research_station any_mining_station any_system any_system_within_border army_type has_army is_advisor_active count_pops is_enslaved is_being_purged graphical_culture income expenses produced_energy trade_income trade_expenses ship_maintenance army_maintenance colony_maintenance station_maintenance construction_expenses federation_expenses has_anomaly stored_physics_points stored_society_points stored_engineering_points balance running_balance is_planet is_pop is_ship is_army is_country is_tutorial_level is_multiplayer has_event_chain is_species_class vassals has_opinion_modifier has_established_contact has_completed_event_chain_counter has_planet_class is_disabled has_existing_ship_design has_grown_pop has_growing_pop has_resource has_building_construction any_neighboring_tile any_tile has_blocker free_pop_tiles free_building_tiles has_relation_flag reverse_has_relation_flag exists has_edict has_moon num_moons is_in_cluster any_moon num_adjacent_tiles is_sentient leader_class is_preventing_anomaly observation_outpost_owner observation_outpost has_deposit has_deposit_for colony_age is_rim_system any_rim_system has_mission is_country_type has_modifier switch sectors num_fleets num_ships any_ship_in_system mission_progress num_ethics num_traits has_truce has_access_military has_access_civilian has_access_construction is_ringworld member_of_faction support is_ideal_planet_class is_pop_faction_type is_same_value sector_controlled sectors_over_limit is_orbital_tile orbital_bombardment intel_level members is_researching_area any_owned_leader any_owned_pop has_faction count_owned_pops can_declare_war is_hostile has_communications has_country_resource has_leader_flag num_killed_ships num_taken_planets count_ships count_owned_ships has_pop_faction_flag research_leader leader_of_faction is_scope_valid opposing_ethics_divergence is_war_leader can_create_sector is_in_alliance_with is_in_federation_with can_change_policy count_pop_factions has_fleet_order closest_system num_communications is_ironman has_monthly_income last_changed_policy any_sector has_policy_flag any_owned_fleet count_deposits has_ground_support_stance has_tech_option is_species count_tech_options last_increased_tech has_country_strategic_resource has_point_of_interest is_being_repaired any_war any_defender any_attacker has_orbital_station any_orbital_station has_prev_building any_ambient_object any_system_ambient_object has_ambient_object_flag war_demand_counter attacker_war_score defender_war_score off_war_score_sum def_war_score_sum any_bordering_country galaxy_percentage custom_tooltip_fail count_armies original_owner is_in_combat any_member is_guaranteeing is_war_participant is_homeworld years_passed is_threatened_to is_protective_to is_friendly_to is_hostile_to is_ruined is_dismissive_to is_patronizing_to is_angry_to is_neighbor_of any_neighbor_country is_rival is_unfriendly_to is_loyal_to is_disloyal_to is_cordial_to is_domineering_to is_wary_to fleet_power has_election_type has_ai_personality has_ai_personality_type has_ai_personality_behaviour has_valid_ai_personality has_migration_access grants_migration_access logged_in_to_pdx_account tech_unlocked_ratio has_special_project would_join_war can_be_subject count_war_participants count_potential_war_participants has_skill has_experience any_neighbor_system is_under_colonization has_colony_progress is_growing is_colony_pop is_subspecies is_valid fortification_health subject_can_diplomacy has_surveyed_class fleet_size check_pop_faction_parameter is_robot_pop host_has_dlc local_has_dlc num_rare_techs is_core_sector has_mandate has_spaceport_module has_free_spaceport_module_slot is_spaceport_module_slot_free can_build_spaceport_module num_free_spaceport_module_slots num_spaceport_modules nor nand num_energy species_portrait num_armies is_proposing_war_demands num_war_demands max_naval_capacity used_naval_capacity_integer used_naval_capacity_percent limit yes no has_owner num_pops planet_size not and or if else NOR always is_growing is_primitive influence is_ruined has_ai_personality_type support happiness has_pop_faction_flag has_resource has_ground_combat is_occupied_flag member_of_faction used_naval_capacity_percent has_mandate leader_of_faction is_robot_pop grants_migration_access has_valid_ai_personality has_moon has_election_type opposing_ethics_divergence num_communications has_alliance has_federation is_war_leader pop_has_trait pop_has_ethic count count_war_participants can_be_subject is_war_participant would_join_war is_capital check_pop_faction_parameter is_pirate is_pop_faction_type is_scope_valid is_colony_pop is_sentient is_species count_pops def_war_score_sum is_at_war has_communications is_hostile war_demand_counter is_country_type is_under_colonization has_modifier is_domineering_to is_hostile_to is_at_war_with has_ai_personality is_same_species is_angry_to is_threatened_to is_wary_to is_patronizing_to is_dismissive_to is_protective_to is_cordial_to is_friendly_to is_same_species_class is_unfriendly_to count_potential_war_participants off_war_score_sum has_planet_flag is_country is_same_value has_building has_technology has_ethic has_planet_modifier is_enslaved num_modifiers is_planet_class has_trait is_moon has_ai_personality_behaviour exists years_passed has_blocker has_government has_leader_flag has_country_edict has_policy_flag has_country_flag</Keywords>
  <Keywords name="Keywords6">THESE_ARE_COMMANDS if country_event planet_event random random_list wait move_to every_owned_planet orbit_planet random_owned_planet every_controlled_planet find_closest_planet find_random_system repeat random_controlled_planet create_ship_design change_government ship_event add_energy add_minerals add_physics add_society add_engineering pop_event every_war_defender set_owner every_war_attacker random_war_defender random_war_attacker give_technology enable_special_project add_resource add_physics_research add_society_research add_engineering_research set_country_flag set_planet_flag set_fleet_flag set_ship_flag remove_country_flag remove_planet_flag remove_fleet_flag remove_ship_flag every_owned_ship random_owned_ship create_species create_country create_fleet create_army set_location create_ship set_primitive create_pop create_colony set_capital change_pc random_country random_pop kill_pop enslave_pop destroy_colony every_system_planet surveyed add_experience set_ring create_mining_station create_research_station set_pop_flag remove_pop_flag every_owned_pop set_name random_planet add_modifier create_leader fleet_event reduce_hp reduce_hp_percent repair_ship destroy_country set_variable remove_global_flag set_global_flag change_variable random_planet_within_border every_pop every_country every_ship every_planet add_influence pop_add_ethic pop_remove_ethic pop_migration change_pop_species create_rebels cancel_terraformation set_event_locked clear_orders order_forced_return declare_war set_star_flag remove_star_flag set_primitive_age spawn_system any_spaceport any_research_station any_mining_station random_research_station dismantle random_mining_station random_spaceport random_system random_system_within_border random_army random_army_within_country set_advisor_active save_event_target_as save_global_event_target_as clear_global_event_target clear_global_event_targets break set_tutorial_level begin_event_chain end_event_chain queue_actions while clear_fleet_actions destroy_fleet create_ambient_object destroy_ambient_object add_trait remove_trait modify_species add_opinion_modifier establish_contact set_faction_hostility random_system_planet add_event_chain_counter add_anomaly set_disable_at_health add_building_construction set_building remove_building change_planet_size set_blocker remove_blocker every_tile random_tile every_neighboring_tile random_neighboring_tile set_disabled create_point_of_interest remove_point_of_interest set_relation_flag remove_relation_flag random_moon every_moon every_system_in_cluster create_cluster kill_leader assign_leader country_add_ethic country_remove_ethic set_timed_country_flag set_timed_fleet_flag set_timed_global_flag set_timed_planet_flag set_timed_pop_flag set_timed_relation_flag set_timed_ship_flag set_timed_star_flag remove_army prevent_anomaly every_planet_within_border every_planet_army every_army_within_country observation_outpost_owner observation_outpost add_deposit clear_deposits every_rim_system random_rim_system purge set_planet_max_health set_planet_health remove_modifier set_country_type add_ship_design add_mission_progress create_army_transport set_spaceport_module create_spaceport set_spaceport_level switch set_age create_wormhole_station set_pop_faction create_pop_faction add_support set_support set_graphical_culture set_formation_scale set_controller force_faction_evaluation enable_faction_of_type clear_uncharted_space every_owned_leader random_owned_leader establish_communications add_monthly_resource_mult pop_faction_event set_leader_flag remove_leader_flag add_research_option load_parameters set_heir set_pop_faction_flag remove_pop_faction_flag set_timed_pop_faction_flag declare_white_peace_with leave_alliance create_sector random_owned_pop set_policy recruitable add_tech_progress closest_system random_sector every_sector random_owned_fleet random_ambient_object random_system_ambient_object every_ambient_object every_system_ambient_object set_ambient_object_flag set_timed_ambient_object_flag remove_ambient_object_flag every_fleet_in_system random_fleet_in_system set_aggro_range set_fleet_stance set_aggro_range_measure_from set_ruined random_neighbor_country establish_communications_no_message set_subject_of abort_special_project unassign_leader exile_leader_as set_leader add_skill set_skill every_neighbor_system random_neighbor_system set_federation_leader add_colony_progress start_colony remove_opinion_modifier add_war_demand change_country_flag every_pop_faction random_pop_faction kill_pop_faction add_threat remove_sector set_mission remove_spaceport_module change_dominant_species create_military_fleet add_energy pop_faction_event set_ruined establish_communications_no_message set_controller create_army add_war_demand create_rebels remove_pop_faction_flag set_pop_faction_flag create_species add_minerals country_event set_timed_pop_faction_flag add_support create_country set_country_flag set_owner create_ship_design create_ship set_location add_experience create_fleet planet_event set_name kill_pop begin_event_chain assign_leader set_planet_flag add_threat set_subject_of set_policy add_modifier set_support remove_opinion_modifier create_leader set_pop_faction kill_pop_faction add_opinion_modifier</Keywords>
  <Keywords name="Keywords7">THESE_ARE_DEFINITION_TOKENS name design can_create graphical_culture option ftl id title desc picture is_triggered_only immediate trigger icon section construction_days sound angle trait mean_time_to_happen fire_only_once planet_names fleet_names ship_names drop_weight orbital_weight station is_advisor_event duration min_distance max_distance source auto_opens hide_window auto_delete name_list room picture_event_data diplomatic show_sound required_spaceport_level auto_upgrade is_civilian required_component_set change_orbit usage asteroids_distance level capital plural character_names built_for_ruler is_space_object anomaly flags neighbor_system replace resource init_effect modifiers tile_blockers size orbit_angle num_ai_wanted is_planet_local is_rare ai_categories self_modifier opposites adjacency_bonus condition resources leader_trait modification become_vassal time joins_overlord_wars to ratio can_be_integrated can_do_diplomacy calls_overlord_to_war accumulated_by_sectors sector_ignore_cost AI_category tradable collect_if_wrong_building shipclass_military abort_trigger stars icon_scale num_planets localization portraits same_option_group_as randomized uplifted_into move_pop_sound_effect custom_portraits shipclass_science_ship days_to_research assault_armies on_fail on_success requirements event_scope timelimit tech_department component_set replaceable initial_only homeworld usage_odds location orbit_distance home_planet moon components_add_to_cost build_block_radius valid_target_aggressive_stance is_designable enable_default_design can_have_federation_design is_space_station num_target_locators section_slots fleet_slot_size size_multiplier max_hitpoints collision_radius combat_rotation_speed combat_max_speed rotation_speed acceleration max_speed collision_awareness civilian_target_penalty size_difference_penalty distance_to_fleet_penalty already_incoming_damage_penalty armor_focus_value shield_focus_value low_health_bonus damage_value keep_previous_target_bonus targeting passive_move_pattern attack_move_pattern return_to_formation_distance formation_distance preferred_attack_range military_station ships production_targets rotation large_utility_slots medium_utility_slots small_utility_slots locatorname slot_type noun slot_size component_slot weapon_preferences fits_on_slot format parts support_effects cyclic prefix_format attraction_custom_desc attraction_custom_title prerequisites spaceport_level cost energy planet_modifier minerals ship_size initializer required_resources ship_design produced_resources template create_country_effect ship_modifier component slot create_species orbit_modifier required_component station_modifier class use_design_name hide_size country_type ethics base_buildtime upgrades potential text uses_mandates allow portrait is_listed election_term_years country_modifier re_election_allowed empire_unique traits election_type ai_special_building planet_unique upgrade ruler_title food election_candidates max_election_candidates has_agendas can_have_emergency_elections has_heir can_build_ruler_ship default_pop_factions vote_weight valid which can_build_ruler_military_station event_chain heir_title_female heir_title on_leader_ousted on_leader_elected steps target dynastic_last_names use_regnal_names small_icon ignore_initial_colony_error monthly_progress gain army_modifier completion_event emergency_election_cost opinion events election_term_variance pickable_at_start ruler_title_female government influence ai_weight weight modifier species monthly accumulative decay months unique alliance_acceptance colony_spending colonization_tech colonizable production_spawn_chance moon_size enable_tilt tile_set chance_of_ring on_enabled policy_flags orbit_lines election_header starting_planet ideal on_create lose_support_on_pop_leave attraction fixed_entity_scale empire key valid_objects colors extra_planet_count ringworld star file filter actions skill background is_potential ethos days max_support min_support on_set_leader demand recruitable mandate parameter_transfer extra_orbit_size city_color_lut spawn_odds max_distance_from_sun min_distance_from_sun atmosphere_width atmosphere_intensity atmosphere_color entity_scale behaviour friction_modifier threat_modifier federation_acceptance military_spending bravery trade_willingness aggressiveness engineering_research physics_research flag society_research playable leave_ftl_trails shuffle_pop_ethos diplomatic_wars relations ai enabled declare_war colonizer internal_policies construction modules ship_data constructor min max planet_mult science fraction army_data add factor faction hostile needs_border_access generate_borders needs_colony pirate sub_title sub_title_desc fallen_empire limited_construction tech can_receive can_send has_fortifications hide_names_if_no_communication show_in_contacts_list can_own_empty_planets needs_survey can_planets_be_attacked has_capital enforces_borders colonizing_title colonizing_desc orbital_bombardment pop_modifier slavery_ethos home_system custom_diplomacy targets category_value category has_leaders influence_cost length random_weight value opposite_dislike counter spawn_chance area tier prereqfor_desc feature_flags weight_modifier start_tech cost_per_level levels weight_groups mod_weight_if_group_picked repeatable ai_update_type icon_frame possible war_economy_modifier scope initial base warscore_cost scaled_modifier calc who side attacker defender execution_order overlord parameters subject_type type effect amount counters proposable context num_owned_planets selectable entity show_name tooltip description leader_class</Keywords>
  <Keywords name="Keywords8">THESE_ARE_MODIFIERS army_upkeep_mult max_rivalries ship_reparation_cost_mult resource_society_research_add country_resource_energy_add country_resource_minerals_add planet_fortification_strength shipsize_corvette_construction_speed_mult weapon_type_energy_weapon_damage_mult shipsize_destroyer_construction_speed_mult ship_interstellar_speed_mult shipsize_colonizer_construction_speed_mult ship_accuracy_add ship_evasion_add shipsize_cruiser_construction_speed_mult shipsize_battleship_construction_speed_mult ship_weapon_range_mult shipsize_military_station_small_build_cost_mult species_leader_exp_gain edict_influence_cost ship_anomaly_fail_risk ship_anomaly_research_speed_mult category_military_theory_research_speed_mult category_new_worlds_research_speed_mult category_psionics_research_speed_mult category_computing_research_speed_mult category_particles_research_speed_mult category_field_manipulation_research_speed_mult category_voidcraft_research_speed_mult category_rocketry_research_speed_mult country_leader_pool_size influence_gain_add influence_gain_mult weapon_type_strike_craft_weapon_fire_rate_mult leader_influence_cost country_leader_cap country_core_sector_planet_cap planet_army_build_cost_mult leader_skill_levels country_resettlement_cost_mult num_tech_alternatives_add ship_upkeep_mult building_mining_network_1_build_cost_mult shipsize_constructor_build_cost_mult spaceport_ship_build_cost_mult pop_other_species_happiness country_border_mult leader_age army_health shipsize_mining_station_build_cost_mult edict_length_mult country_sector_cap_add weapon_type_strike_craft_weapon_damage_mult weapon_type_kinetic_weapon_fire_rate_mult weapon_type_kinetic_weapon_damage_mult weapon_type_explosive_weapon_fire_rate_mult weapon_type_explosive_weapon_damage_mult ship_armor_mult ship_hitpoints_mult shipclass_military_station_hit_points_mult pop_food_req_mult pop_slavery_tolerance tile_resource_engineering_research_mult tile_resource_society_research_mult tile_resource_physics_research_mult pop_xenophobia pop_growth_req_mult planet_migration_xeno_pull planet_ship_build_speed_mult pop_war_happiness alliance_influence_cost rivalry_influence_gain pop_alien_slavery_tolerance spaceport_module_cost_mult planet_migration_all_pull planet_sensor_range_mult category_materials_research_speed_mult category_industry_research_speed_mult category_statecraft_research_speed_mult category_biology_research_speed_mult ship_fire_rate_mult ship_weapon_damage max_minerals pop_ethic_shift pop_happiness tile_resource_minerals_mult tile_resource_food_mult pop_environment_tolerance army_damage_mult planet_army_build_speed_mult all_technology_research_speed science_ship_survey_speed ship_anomaly_generation_chance_mult country_engineering_tech_research_speed country_society_tech_research_speed country_physics_tech_research_speed tile_resource_energy_mult navy_size_mult ship_reparation_speed_mult country_ship_upgrade_cost_mult slave_production_output slave_food_output pop_robot_production_output planet_building_cost_mult building_time_mult max_embassies country_trade_attractiveness navy_size_add shipclass_military_station_damage_mult max_rivalries max_embassies all_technology_research_speed influence_gain_mult influence_gain_add country_sector_cap_add country_leader_cap country_leader_pool_size country_trade_attractiveness country_core_sector_planet_cap country_resettlement_cost_mult country_ship_upgrade_cost_mult country_engineering_tech_research_speed country_society_tech_research_speed country_physics_tech_research_speed category_biology_research_speed_mult category_statecraft_research_speed_mult category_industry_research_speed_mult category_materials_research_speed_mult category_rocketry_research_speed_mult category_voidcraft_research_speed_mult category_field_manipulation_research_speed_mult category_particles_research_speed_mult category_computing_research_speed_mult category_psionics_research_speed_mult category_new_worlds_research_speed_mult category_military_theory_research_speed_mult science_ship_survey_speed ship_anomaly_research_speed_mult ship_anomaly_generation_chance_mult ship_anomaly_fail_risk ship_anomaly_research_speed_mult leader_age leader_influence_cost leader_skill_levels max_minerals num_tech_alternatives_add edict_influence_cost edict_length_mult species_leader_exp_gain shipsize_military_station_small_build_cost_mult shipsize_military_station_medium_build_cost_mult shipsize_military_station_large_build_cost_mult shipsize_military_station_small_upkeep_mult shipsize_military_station_medium_upkeep_mult shipsize_military_station_large_upkeep_mult shipsize_constructor_build_cost_mult shipsize_mining_station_build_cost_mult shipsize_colonizer_build_cost_mult shipsize_terraform_station_build_cost_mult shipsize_orbital_station_build_cost_mult shipsize_outpost_station_build_cost_mult shipsize_corvette_build_cost_mult shipsize_destroyer_build_cost_mult shipsize_cruiser_build_cost_mult shipsize_battleship_build_cost_mult building_mining_network_1_build_cost_mult spaceport_ship_build_cost_mult spaceport_ship_build_time_mult spaceport_module_cost_mult planet_ship_build_speed_mult planet_army_build_speed_mult planet_army_build_cost_mult planet_building_cost_mult planet_resource_energy_add planet_resource_minerals_add planet_resource_food_add planet_resource_influence_add planet_sensor_range_mult planet_migration_all_pull planet_migration_xeno_pull planet_border_mult planet_clear_blocker_time_mult planet_clear_blocker_cost_mult planet_colony_development_speed_mult terraforming_cost_mult pc_desert_habitability pc_arid_habitability pc_tropical_habitability pc_continental_habitability pc_tundra_habitability pc_ocean_habitability pc_arctic_habitability pc_ai_habitability pc_nuked_habitability pc_gaia_habitability pc_ringworld_habitable_habitability army_health army_damage_mult army_upkeep_mult army_morale army_rank_increase army_defense_morale_mult army_defense_damage_mult army_attack_morale_mult army_attack_damage_mult ship_upkeep_mult ship_fire_rate_mult ship_armor_add ship_hitpoints_add ship_weapon_damage ship_shield_hp_mult ship_evasion_mult ship_combat_speed_mult ship_speed_mult ship_emergency_ftl_mult ship_reparation_speed_mult ship_auto_repair_add ship_sensor_range_mult ship_hitpoints_mult navy_size_add navy_size_mult damage_vs_country_type_amoeba_mult damage_vs_country_type_crystal_mult damage_vs_country_type_drone_mult damage_vs_country_type_cloud_mult damage_vs_country_type_swarm_mult pop_other_species_happiness pop_environment_tolerance pop_slavery_tolerance pop_food_req_mult pop_growth_req_mult pop_growth_req pop_ethic_shift pop_happiness pop_robot_production_output pop_xenophobia pop_alien_slavery_tolerance pop_migration_time pop_eff_wo_slaves pop_fortification_defense slave_production_output slave_food_output pop_war_happiness pop_xenophobia garrison_health tile_resource_minerals_mult tile_resource_food_mult tile_resource_energy_mult tile_resource_physics_research_mult tile_resource_society_research_mult tile_resource_engineering_research_mult building_time_mult alliance_influence_cost rivalry_influence_gain max_energy max_minerals</Keywords>
  <Keywords name="Delimiters">00&quot; 01 02&quot; 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
  </KeywordLists>
  <Styles>
  <WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS1" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="5" nesting="0" />
  <WordsStyle name="KEYWORDS2" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="5" nesting="0" />
  <WordsStyle name="KEYWORDS3" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="5" nesting="0" />
  <WordsStyle name="KEYWORDS4" fgColor="804040" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS5" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS6" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS7" fgColor="808040" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS8" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="OPERATORS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS1" fgColor="004080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
  </Styles>
  </UserLang>
</NotepadPlus>

old version:

Code:
<NotepadPlus>
  <UserLang name="stellaris" ext="txt" udlVersion="2.1">
  <Settings>
  <Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
  <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
  </Settings>
  <KeywordLists>
  <Keywords name="Comments">00# 01 02 03 04</Keywords>
  <Keywords name="Numbers, prefix1"></Keywords>
  <Keywords name="Numbers, prefix2"></Keywords>
  <Keywords name="Numbers, extras1"></Keywords>
  <Keywords name="Numbers, extras2"></Keywords>
  <Keywords name="Numbers, suffix1"></Keywords>
  <Keywords name="Numbers, suffix2"></Keywords>
  <Keywords name="Numbers, range"></Keywords>
  <Keywords name="Operators1">: = .</Keywords>
  <Keywords name="Operators2"></Keywords>
  <Keywords name="Folders in code1, open">{</Keywords>
  <Keywords name="Folders in code1, middle"></Keywords>
  <Keywords name="Folders in code1, close">}</Keywords>
  <Keywords name="Folders in code2, open"></Keywords>
  <Keywords name="Folders in code2, middle"></Keywords>
  <Keywords name="Folders in code2, close"></Keywords>
  <Keywords name="Folders in comment, open"></Keywords>
  <Keywords name="Folders in comment, middle"></Keywords>
  <Keywords name="Folders in comment, close"></Keywords>
  <Keywords name="Keywords1">THESE_ARE_COMMAND_SCOPES owner_species leader last_created_species last_created_pop last_created_leader last_created_fleet last_created_country last_created_ambient_object fleet capital_scope best_tile_for_pop solar_system every_fleet_in_system every_tile every_neighboring_tile every_owned_ship every_owned_pop every_owned_planet every_system_planet every_planet every_pop_faction every_country every_planet_army every_system_ambient_object random_tile random_neighboring_tile random_rim_system random_system random_owned_ship random_pop random_owned_pop random_owned_planet random_system_planet random_planet random_moon random_owned_leader random_pop_faction random_country random_neighbor_country random_army random_system_ambient_object</Keywords>
  <Keywords name="Keywords2">THESE_ARE_CONDITION_SCOPES any_sector any_system_within_border any_war any_tile any_neighboring_tile any_neighbor_system tile any_system any_ship any_owned_ship any_pop any_owned_pop any_planet_within_border ruler any_controlled_planet species any_ship_in_system any_owned_planet any_planet any_moon any_owned_leader any_owned_fleet any_bordering_country any_attacker any_country any_neighbor_country any_defender research_leader</Keywords>
  <Keywords name="Keywords3">THESE_ARE_MULTI_SCOPES space_owner pop_faction closest_system orbital_deposit_tile owner orbit planet THESE_ARE_RELATIVE_SCOPES root prev prevprev prevprev from fromfrom fromfromfrom this</Keywords>
  <Keywords name="Keywords4">THESE_ARE_SPECIAL_THINGIES hidden_effect event_target default random debug_scope_type save_event_target_as custom_tooltip namespace custom_tooltip_fail parameter hidden hidden_trigger</Keywords>
  <Keywords name="Keywords5">THESE_ARE_CONDITIONS text custom_tooltip if and or not happiness has_ring hidden_trigger has_owner any_owned_planet found_system found_planet any_controlled_planet is_ai always has_trait has_ethic is_moon opinion any_pop is_owned_by is_same_species any_war_defender any_war_attacker ideal_planet_class is_same_empire is_planet_class has_strategic_resource is_star_class distance has_technology has_planet_modifier has_planet_flag has_country_flag has_fleet_flag has_ship_flag is_ship_class is_ship_size is_capital has_ground_combat is_at_war num_owned_planets has_government num_pops is_primitive is_inside_nebula is_pirate is_inside_border any_country planet_size any_planet influence is_star is_asteroid is_at_war_with their_opinion is_same_species_class has_alliance has_federation is_colonizable gender has_level num_minerals num_physics num_society num_engineering num_modifiers has_any_strategic_resource free_leader_slots has_pop_flag is_occupied_flag can_colonize is_damaged has_hp is_surveyed has_global_flag check_variable any_planet_within_border any_owned_ship any_ship energy pop_has_ethic pop_has_trait is_colony habitability has_building is_controlled_by is_terraformed is_terraforming has_planet_edict has_country_edict has_observation_outpost is_federation_leader starting_system has_star_flag has_mining_station has_research_station has_spaceport any_spaceport any_research_station any_mining_station any_system any_system_within_border army_type has_army is_advisor_active count_pops is_enslaved is_being_purged graphical_culture income expenses produced_energy trade_income trade_expenses ship_maintenance army_maintenance colony_maintenance station_maintenance construction_expenses federation_expenses has_anomaly stored_physics_points stored_society_points stored_engineering_points balance running_balance is_planet is_pop is_ship is_army is_country is_tutorial_level is_multiplayer has_event_chain is_species_class vassals has_opinion_modifier has_established_contact has_completed_event_chain_counter has_planet_class is_disabled has_existing_ship_design has_grown_pop has_growing_pop has_resource has_building_construction any_neighboring_tile any_tile has_blocker free_pop_tiles free_building_tiles has_relation_flag reverse_has_relation_flag exists has_edict has_moon num_moons is_in_cluster any_moon num_adjacent_tiles is_sentient leader_class is_preventing_anomaly observation_outpost_owner observation_outpost has_deposit has_deposit_for colony_age is_rim_system any_rim_system has_mission is_country_type has_modifier switch sectors num_fleets num_ships any_ship_in_system mission_progress num_ethics num_traits has_truce has_access_military has_access_civilian has_access_construction is_ringworld member_of_faction support is_ideal_planet_class is_pop_faction_type is_same_value sector_controlled sectors_over_limit is_orbital_tile orbital_bombardment intel_level members is_researching_area any_owned_leader any_owned_pop has_faction count_owned_pops can_declare_war is_hostile has_communications has_country_resource has_leader_flag num_killed_ships num_taken_planets count_ships count_owned_ships has_pop_faction_flag research_leader leader_of_faction is_scope_valid opposing_ethics_divergence is_war_leader can_create_sector is_in_alliance_with is_in_federation_with can_change_policy count_pop_factions has_fleet_order closest_system num_communications is_ironman has_monthly_income last_changed_policy any_sector has_policy_flag any_owned_fleet count_deposits has_ground_support_stance has_tech_option is_species count_tech_options last_increased_tech has_country_strategic_resource has_point_of_interest is_being_repaired any_war any_defender any_attacker has_orbital_station any_orbital_station has_prev_building any_ambient_object any_system_ambient_object has_ambient_object_flag war_demand_counter attacker_war_score defender_war_score off_war_score_sum def_war_score_sum any_bordering_country galaxy_percentage custom_tooltip_fail count_armies original_owner is_in_combat any_member is_guaranteeing is_war_participant is_homeworld years_passed is_threatened_to is_protective_to is_friendly_to is_hostile_to is_ruined is_dismissive_to is_patronizing_to is_angry_to is_neighbor_of any_neighbor_country is_rival is_unfriendly_to is_loyal_to is_disloyal_to is_cordial_to is_domineering_to is_wary_to fleet_power has_election_type has_ai_personality has_ai_personality_type has_ai_personality_behaviour has_valid_ai_personality has_migration_access grants_migration_access logged_in_to_pdx_account tech_unlocked_ratio has_special_project would_join_war can_be_subject count_war_participants count_potential_war_participants has_skill has_experience any_neighbor_system is_under_colonization has_colony_progress is_growing is_colony_pop is_subspecies is_valid fortification_health subject_can_diplomacy has_surveyed_class fleet_size check_pop_faction_parameter is_robot_pop host_has_dlc local_has_dlc num_rare_techs is_core_sector has_mandate has_spaceport_module has_free_spaceport_module_slot is_spaceport_module_slot_free can_build_spaceport_module num_free_spaceport_module_slots num_spaceport_modules nor nand num_energy species_portrait num_armies is_proposing_war_demands num_war_demands max_naval_capacity used_naval_capacity_integer used_naval_capacity_percent limit yes no has_owner num_pops planet_size not and or if else NOR always is_growing is_primitive influence is_ruined has_ai_personality_type support happiness has_pop_faction_flag has_resource has_ground_combat is_occupied_flag member_of_faction used_naval_capacity_percent has_mandate leader_of_faction is_robot_pop grants_migration_access has_valid_ai_personality has_moon has_election_type opposing_ethics_divergence num_communications has_alliance has_federation is_war_leader pop_has_trait pop_has_ethic count count_war_participants can_be_subject is_war_participant would_join_war is_capital check_pop_faction_parameter is_pirate is_pop_faction_type is_scope_valid is_colony_pop is_sentient is_species count_pops def_war_score_sum is_at_war has_communications is_hostile war_demand_counter is_country_type is_under_colonization has_modifier is_domineering_to is_hostile_to is_at_war_with has_ai_personality is_same_species is_angry_to is_threatened_to is_wary_to is_patronizing_to is_dismissive_to is_protective_to is_cordial_to is_friendly_to is_same_species_class is_unfriendly_to count_potential_war_participants off_war_score_sum has_planet_flag is_country is_same_value has_building has_technology has_ethic has_planet_modifier is_enslaved num_modifiers is_planet_class has_trait is_moon has_ai_personality_behaviour exists years_passed has_blocker has_government has_leader_flag has_country_edict has_policy_flag has_country_flag</Keywords>
  <Keywords name="Keywords6">THESE_ARE_COMMANDS if country_event planet_event random random_list wait move_to every_owned_planet orbit_planet  random_owned_planet every_controlled_planet find_closest_planet find_random_system repeat random_controlled_planet create_ship_design change_government ship_event add_energy add_minerals add_physics add_society add_engineering pop_event every_war_defender set_owner every_war_attacker random_war_defender random_war_attacker give_technology enable_special_project add_resource add_physics_research add_society_research add_engineering_research set_country_flag set_planet_flag set_fleet_flag set_ship_flag remove_country_flag remove_planet_flag remove_fleet_flag remove_ship_flag every_owned_ship random_owned_ship create_species create_country create_fleet create_army set_location create_ship set_primitive create_pop create_colony set_capital change_pc random_country random_pop kill_pop enslave_pop destroy_colony every_system_planet surveyed add_experience set_ring create_mining_station create_research_station set_pop_flag remove_pop_flag every_owned_pop set_name random_planet add_modifier create_leader fleet_event reduce_hp reduce_hp_percent repair_ship destroy_country set_variable remove_global_flag set_global_flag change_variable random_planet_within_border every_pop every_country every_ship every_planet add_influence pop_add_ethic pop_remove_ethic pop_migration change_pop_species create_rebels cancel_terraformation set_event_locked clear_orders order_forced_return declare_war set_star_flag remove_star_flag set_primitive_age spawn_system any_spaceport any_research_station any_mining_station random_research_station dismantle random_mining_station random_spaceport random_system random_system_within_border random_army random_army_within_country set_advisor_active save_event_target_as save_global_event_target_as clear_global_event_target clear_global_event_targets break set_tutorial_level begin_event_chain end_event_chain queue_actions while clear_fleet_actions destroy_fleet create_ambient_object destroy_ambient_object add_trait remove_trait modify_species add_opinion_modifier establish_contact set_faction_hostility random_system_planet add_event_chain_counter add_anomaly set_disable_at_health add_building_construction set_building remove_building change_planet_size set_blocker remove_blocker every_tile random_tile every_neighboring_tile random_neighboring_tile set_disabled create_point_of_interest remove_point_of_interest set_relation_flag remove_relation_flag random_moon every_moon every_system_in_cluster create_cluster kill_leader assign_leader country_add_ethic country_remove_ethic set_timed_country_flag set_timed_fleet_flag set_timed_global_flag set_timed_planet_flag set_timed_pop_flag set_timed_relation_flag set_timed_ship_flag set_timed_star_flag remove_army prevent_anomaly every_planet_within_border every_planet_army every_army_within_country observation_outpost_owner observation_outpost add_deposit clear_deposits every_rim_system random_rim_system purge set_planet_max_health set_planet_health remove_modifier set_country_type add_ship_design add_mission_progress create_army_transport set_spaceport_module create_spaceport set_spaceport_level switch set_age create_wormhole_station set_pop_faction create_pop_faction add_support set_support set_graphical_culture set_formation_scale set_controller force_faction_evaluation enable_faction_of_type clear_uncharted_space every_owned_leader random_owned_leader establish_communications add_monthly_resource_mult pop_faction_event set_leader_flag remove_leader_flag add_research_option load_parameters set_heir set_pop_faction_flag remove_pop_faction_flag set_timed_pop_faction_flag declare_white_peace_with leave_alliance create_sector random_owned_pop set_policy recruitable add_tech_progress closest_system random_sector every_sector random_owned_fleet random_ambient_object random_system_ambient_object every_ambient_object every_system_ambient_object set_ambient_object_flag set_timed_ambient_object_flag remove_ambient_object_flag every_fleet_in_system random_fleet_in_system set_aggro_range set_fleet_stance set_aggro_range_measure_from set_ruined random_neighbor_country establish_communications_no_message set_subject_of abort_special_project unassign_leader exile_leader_as set_leader add_skill set_skill every_neighbor_system random_neighbor_system set_federation_leader add_colony_progress start_colony remove_opinion_modifier add_war_demand change_country_flag every_pop_faction random_pop_faction kill_pop_faction add_threat remove_sector set_mission remove_spaceport_module change_dominant_species create_military_fleet add_energy pop_faction_event set_ruined establish_communications_no_message set_controller create_army add_war_demand create_rebels remove_pop_faction_flag set_pop_faction_flag create_species add_minerals country_event set_timed_pop_faction_flag add_support create_country set_country_flag set_owner create_ship_design create_ship set_location add_experience create_fleet planet_event set_name kill_pop begin_event_chain assign_leader set_planet_flag add_threat set_subject_of set_policy add_modifier set_support remove_opinion_modifier create_leader set_pop_faction kill_pop_faction add_opinion_modifier</Keywords>
  <Keywords name="Keywords7">THESE_ARE_DEFINITION_TOKENS name design can_create graphical_culture option ftl id title desc picture is_triggered_only immediate trigger icon section construction_days sound angle trait mean_time_to_happen fire_only_once is_advisor_event duration min_distance max_distance source auto_opens hide_window auto_delete name_list room picture_event_data diplomatic show_sound required_spaceport_level auto_upgrade is_civilian required_component_set change_orbit usage asteroids_distance is_space_object anomaly flags neighbor_system replace resource init_effect modifiers tile_blockers size orbit_angle num_ai_wanted is_planet_local is_rare ai_categories self_modifier opposites adjacency_bonus condition resources leader_trait modification become_vassal time joins_overlord_wars to ratio can_be_integrated can_do_diplomacy calls_overlord_to_war accumulated_by_sectors sector_ignore_cost AI_category tradable collect_if_wrong_building shipclass_military abort_trigger stars icon_scale num_planets localization portraits same_option_group_as randomized uplifted_into move_pop_sound_effect custom_portraits shipclass_science_ship days_to_research assault_armies on_fail on_success requirements event_scope timelimit tech_department component_set replaceable initial_only homeworld usage_odds location orbit_distance home_planet moon components_add_to_cost build_block_radius valid_target_aggressive_stance is_designable enable_default_design can_have_federation_design is_space_station num_target_locators section_slots fleet_slot_size size_multiplier max_hitpoints collision_radius combat_rotation_speed combat_max_speed rotation_speed acceleration max_speed collision_awareness civilian_target_penalty size_difference_penalty distance_to_fleet_penalty already_incoming_damage_penalty armor_focus_value shield_focus_value low_health_bonus damage_value keep_previous_target_bonus targeting passive_move_pattern attack_move_pattern return_to_formation_distance formation_distance preferred_attack_range military_station ships production_targets rotation large_utility_slots medium_utility_slots small_utility_slots locatorname slot_type noun slot_size component_slot weapon_preferences fits_on_slot format parts support_effects cyclic prefix_format attraction_custom_desc attraction_custom_title prerequisites spaceport_level cost energy planet_modifier minerals ship_size initializer required_resources ship_design produced_resources template create_country_effect ship_modifier component slot create_species orbit_modifier required_component station_modifier class use_design_name hide_size country_type ethics base_buildtime upgrades potential text uses_mandates allow portrait is_listed election_term_years country_modifier re_election_allowed empire_unique traits election_type ai_special_building planet_unique upgrade ruler_title food election_candidates max_election_candidates has_agendas can_have_emergency_elections has_heir can_build_ruler_ship default_pop_factions vote_weight valid which can_build_ruler_military_station event_chain heir_title_female heir_title on_leader_ousted on_leader_elected steps target dynastic_last_names use_regnal_names small_icon ignore_initial_colony_error monthly_progress gain army_modifier completion_event emergency_election_cost opinion events election_term_variance pickable_at_start ruler_title_female government influence ai_weight weight modifier species monthly accumulative decay months unique alliance_acceptance colony_spending colonization_tech colonizable production_spawn_chance moon_size enable_tilt tile_set chance_of_ring on_enabled policy_flags orbit_lines election_header starting_planet ideal on_create lose_support_on_pop_leave attraction fixed_entity_scale empire key valid_objects colors extra_planet_count ringworld star file filter actions skill background is_potential ethos days max_support min_support on_set_leader demand recruitable mandate parameter_transfer extra_orbit_size city_color_lut spawn_odds max_distance_from_sun min_distance_from_sun atmosphere_width atmosphere_intensity atmosphere_color entity_scale behaviour friction_modifier threat_modifier federation_acceptance military_spending bravery trade_willingness aggressiveness engineering_research physics_research flag society_research playable leave_ftl_trails shuffle_pop_ethos diplomatic_wars relations ai enabled declare_war colonizer internal_policies construction modules ship_data constructor min max planet_mult science fraction army_data add factor faction hostile needs_border_access generate_borders needs_colony pirate sub_title sub_title_desc fallen_empire limited_construction tech can_receive can_send has_fortifications hide_names_if_no_communication show_in_contacts_list can_own_empty_planets needs_survey can_planets_be_attacked has_capital enforces_borders colonizing_title colonizing_desc orbital_bombardment pop_modifier slavery_ethos home_system custom_diplomacy targets category_value category has_leaders influence_cost length random_weight value opposite_dislike counter spawn_chance area tier prereqfor_desc feature_flags weight_modifier start_tech cost_per_level levels weight_groups mod_weight_if_group_picked repeatable ai_update_type icon_frame possible war_economy_modifier scope initial base warscore_cost scaled_modifier calc who side attacker defender execution_order overlord parameters subject_type type effect amount counters proposable context num_owned_planets selectable entity show_name tooltip description leader_class</Keywords>
  <Keywords name="Keywords8">THESE_ARE_MODIFIERS army_upkeep_mult max_rivalries ship_reparation_cost_mult resource_society_research_add country_resource_energy_add country_resource_minerals_add shipsize_corvette_construction_speed_mult weapon_type_energy_weapon_damage_mult shipsize_destroyer_construction_speed_mult ship_interstellar_speed_mult shipsize_colonizer_construction_speed_mult ship_accuracy_add ship_evasion_add shipsize_cruiser_construction_speed_mult shipsize_battleship_construction_speed_mult ship_weapon_range_mult shipsize_military_station_small_build_cost_mult species_leader_exp_gain edict_influence_cost ship_anomaly_fail_risk ship_anomaly_research_speed_mult category_military_theory_research_speed_mult category_new_worlds_research_speed_mult category_psionics_research_speed_mult category_computing_research_speed_mult category_particles_research_speed_mult category_field_manipulation_research_speed_mult category_voidcraft_research_speed_mult category_rocketry_research_speed_mult country_leader_pool_size influence_gain_add influence_gain_mult weapon_type_strike_craft_weapon_fire_rate_mult leader_influence_cost country_leader_cap country_core_sector_planet_cap planet_army_build_cost_mult leader_skill_levels country_resettlement_cost_mult num_tech_alternatives_add ship_upkeep_mult building_mining_network_1_build_cost_mult shipsize_constructor_build_cost_mult spaceport_ship_build_cost_mult pop_other_species_happiness country_border_mult leader_age army_health shipsize_mining_station_build_cost_mult edict_length_mult country_sector_cap_add weapon_type_strike_craft_weapon_damage_mult weapon_type_kinetic_weapon_fire_rate_mult weapon_type_kinetic_weapon_damage_mult weapon_type_explosive_weapon_fire_rate_mult weapon_type_explosive_weapon_damage_mult ship_armor_mult ship_hitpoints_mult shipclass_military_station_hit_points_mult pop_food_req_mult pop_slavery_tolerance tile_resource_engineering_research_mult tile_resource_society_research_mult tile_resource_physics_research_mult pop_xenophobia pop_growth_req_mult planet_migration_xeno_pull planet_ship_build_speed_mult pop_war_happiness alliance_influence_cost rivalry_influence_gain pop_alien_slavery_tolerance spaceport_module_cost_mult planet_migration_all_pull planet_sensor_range_mult category_materials_research_speed_mult category_industry_research_speed_mult category_statecraft_research_speed_mult category_biology_research_speed_mult ship_fire_rate_mult ship_weapon_damage max_minerals pop_ethic_shift pop_happiness tile_resource_minerals_mult tile_resource_food_mult pop_environment_tolerance army_damage_mult planet_army_build_speed_mult all_technology_research_speed science_ship_survey_speed ship_anomaly_generation_chance_mult country_engineering_tech_research_speed country_society_tech_research_speed country_physics_tech_research_speed tile_resource_energy_mult navy_size_mult ship_reparation_speed_mult country_ship_upgrade_cost_mult slave_production_output slave_food_output pop_robot_production_output planet_building_cost_mult building_time_mult max_embassies country_trade_attractiveness navy_size_add shipclass_military_station_damage_mult max_rivalries max_embassies all_technology_research_speed influence_gain_mult influence_gain_add country_sector_cap_add country_leader_cap country_leader_pool_size country_trade_attractiveness country_core_sector_planet_cap country_resettlement_cost_mult country_ship_upgrade_cost_mult country_engineering_tech_research_speed country_society_tech_research_speed country_physics_tech_research_speed category_biology_research_speed_mult category_statecraft_research_speed_mult category_industry_research_speed_mult category_materials_research_speed_mult category_rocketry_research_speed_mult category_voidcraft_research_speed_mult category_field_manipulation_research_speed_mult category_particles_research_speed_mult category_computing_research_speed_mult category_psionics_research_speed_mult category_new_worlds_research_speed_mult category_military_theory_research_speed_mult science_ship_survey_speed ship_anomaly_research_speed_mult ship_anomaly_generation_chance_mult ship_anomaly_fail_risk ship_anomaly_research_speed_mult leader_age leader_influence_cost leader_skill_levels max_minerals num_tech_alternatives_add edict_influence_cost edict_length_mult species_leader_exp_gain shipsize_military_station_small_build_cost_mult shipsize_military_station_medium_build_cost_mult shipsize_military_station_large_build_cost_mult shipsize_military_station_small_upkeep_mult shipsize_military_station_medium_upkeep_mult shipsize_military_station_large_upkeep_mult shipsize_constructor_build_cost_mult shipsize_mining_station_build_cost_mult shipsize_colonizer_build_cost_mult shipsize_terraform_station_build_cost_mult shipsize_orbital_station_build_cost_mult shipsize_outpost_station_build_cost_mult shipsize_corvette_build_cost_mult shipsize_destroyer_build_cost_mult shipsize_cruiser_build_cost_mult shipsize_battleship_build_cost_mult building_mining_network_1_build_cost_mult spaceport_ship_build_cost_mult spaceport_ship_build_time_mult spaceport_module_cost_mult planet_ship_build_speed_mult planet_army_build_speed_mult planet_army_build_cost_mult planet_building_cost_mult planet_resource_energy_add planet_resource_minerals_add planet_resource_food_add planet_resource_influence_add planet_sensor_range_mult planet_migration_all_pull planet_migration_xeno_pull planet_border_mult planet_clear_blocker_time_mult planet_clear_blocker_cost_mult planet_colony_development_speed_mult terraforming_cost_mult pc_desert_habitability pc_arid_habitability pc_tropical_habitability pc_continental_habitability pc_tundra_habitability pc_ocean_habitability pc_arctic_habitability pc_ai_habitability pc_nuked_habitability pc_gaia_habitability pc_ringworld_habitable_habitability army_health army_damage_mult army_upkeep_mult army_morale army_rank_increase army_defense_morale_mult army_defense_damage_mult army_attack_morale_mult army_attack_damage_mult ship_upkeep_mult ship_fire_rate_mult ship_armor_add ship_hitpoints_add ship_weapon_damage ship_shield_hp_mult ship_evasion_mult ship_combat_speed_mult ship_speed_mult ship_emergency_ftl_mult ship_reparation_speed_mult ship_auto_repair_add ship_sensor_range_mult ship_hitpoints_mult navy_size_add navy_size_mult damage_vs_country_type_amoeba_mult damage_vs_country_type_crystal_mult damage_vs_country_type_drone_mult damage_vs_country_type_cloud_mult damage_vs_country_type_swarm_mult pop_other_species_happiness pop_environment_tolerance pop_slavery_tolerance pop_food_req_mult pop_growth_req_mult pop_growth_req pop_ethic_shift pop_happiness pop_robot_production_output pop_xenophobia pop_alien_slavery_tolerance pop_migration_time pop_eff_wo_slaves pop_fortification_defense slave_production_output slave_food_output pop_war_happiness pop_xenophobia garrison_health tile_resource_minerals_mult tile_resource_food_mult tile_resource_energy_mult tile_resource_physics_research_mult tile_resource_society_research_mult tile_resource_engineering_research_mult building_time_mult alliance_influence_cost rivalry_influence_gain max_energy max_minerals</Keywords>
  <Keywords name="Delimiters">00&quot; 01 02&quot; 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
  </KeywordLists>
  <Styles>
  <WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="LINE COMMENTS" fgColor="C0C0C0" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS1" fgColor="FF00FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS2" fgColor="8080FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS3" fgColor="8000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS4" fgColor="804040" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS5" fgColor="0080FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS6" fgColor="FF8040" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS7" fgColor="808040" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="KEYWORDS8" fgColor="008000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="OPERATORS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS1" fgColor="004080" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
  </Styles>
  </UserLang>
</NotepadPlus>

And then in Notepad++ do:
  1. Language -> Define Your Language
  2. Import -> stellaris.xml
  3. Switch to it, or any newly opened txt file should be highlighted (Notepad++ may need restart)
Explanation on what I did:

I defined 8 groups of keywords:
  1. Command Scopes (aka Effect Scopes)
  2. Condition Scopes (aka Trigger Scopes)
  3. Multi Scopes (keywords for both Effect and Trigger Scopes)
  4. Special Thingies (things that don't fit anything else)
  5. Conditions
  6. Commands (aka Effects)
  7. Definition Tokens (aka Declarations)
  8. Modifiers (aka Buffs/Debuffs)
You can change the colors how you want or merge different things into the same colors.

I set it up, so that Command Scopes (Pink) and Condition Scopes (Purple) are differentiated and Multi Scopes (PurplePink) get the color in between the two, because they can be used as both.

Commands (orange) are more associated with Command Scopes (Pink) and Conditions (blue) with Conditions Scopes (Purple). So it should be easy to tell if you used the wrong keywords in the wrong context. Pink and Orange is ok. Purple and Blue is ok. If Pink mixes with Blue, or Purple with Orange you did something wrong.

Definition Token are olive and Modifiers are green. Special Thingies are Red.

Post Feedback and if someone can sticky this, please do.
 
Last edited:
  • 39
  • 2
Reactions:
If anyone knows how to port it to Sublime Text, let me know:
Sublime uses the .tmLanguage format. A file mylang.tmLanguage associates all the keywords with their types, and a mytheme.tmTheme file colors those keywords. An example .tmLanguage for Python can be seen here. Naming conventions for .tmLanguage keywords are visible here. You're not required to use those names, but if you invent your own names then you'll have to provide your own .tmTheme file for coloring them and the user will have to manually switch from their theme to your theme whenever they switch to editing a Paradox file.

You can also use the .sublime-syntax format, described here, but the same qualifications apply for the names of keywords. If you don't want to make your own theme as well, the best solution would probably be to associate Paradox keywords with syntax names that don't actually describe them, to ensure that existing themes can correctly parse and highlight them.
 
  • 1
Reactions:
Thanks for the info, will have to check it out some times. Seems rather complicated.

Updated OP with newest version of the syntax file.

Changelog:

  • Added some more keywords
  • Corrected some keywords
  • Made condition scope more pronounced than condition
  • Added bold and underline to scopes, now you really know if you change scope. Of course if you don't like bold or underline, just check it off.
 
  • 1
Reactions:
Thanks, this is useful. I've added it to the list of modding utilities.
 
  • 1
Reactions:
I also made an autocomplete file, but for me it's really buggy and autocompletes only 30% of keywords. Maybe somebody else has more luck:

Code:
<?xml version="1.0" encoding="Windows-1252" ?>
<NotepadPlus>
   <AutoComplete>
     <Environment ignoreCase="yes" startFunc="{" stopFunc="}" paramSeparator=" " terminal=";" />     
     <KeyWord name="THESE_ARE_COMMAND_SCOPES" />
     <KeyWord name="owner_species" />
     <KeyWord name="leader" />
     <KeyWord name="last_created_species" />
     <KeyWord name="last_created_pop" />
     <KeyWord name="last_created_leader" />
     <KeyWord name="last_created_fleet" />
     <KeyWord name="last_created_ship" />
     <KeyWord name="last_created_country" />
     <KeyWord name="home_planet" />
     <KeyWord name="last_created_ambient_object" />
     <KeyWord name="fleet" />
     <KeyWord name="capital_scope" />
     <KeyWord name="best_tile_for_pop" />
     <KeyWord name="solar_system" />
     <KeyWord name="every_fleet_in_system" />
     <KeyWord name="every_tile" />
     <KeyWord name="every_neighboring_tile" />
     <KeyWord name="every_owned_ship" />
     <KeyWord name="every_owned_pop" />
     <KeyWord name="every_owned_planet" />
     <KeyWord name="every_system_planet" />
     <KeyWord name="every_planet" />
     <KeyWord name="every_pop_faction" />
     <KeyWord name="every_country" />
     <KeyWord name="every_planet_army" />
     <KeyWord name="every_system_ambient_object" />
     <KeyWord name="random_tile" />
     <KeyWord name="random_neighboring_tile" />
     <KeyWord name="random_rim_system" />
     <KeyWord name="random_system" />
     <KeyWord name="random_owned_ship" />
     <KeyWord name="random_pop" />
     <KeyWord name="random_owned_pop" />
     <KeyWord name="random_owned_planet" />
     <KeyWord name="random_system_planet" />
     <KeyWord name="random_planet" />
     <KeyWord name="random_moon" />
     <KeyWord name="random_owned_leader" />
     <KeyWord name="random_pop_faction" />
     <KeyWord name="random_country" />
     <KeyWord name="random_neighbor_country" />
     <KeyWord name="random_army" />
     <KeyWord name="random_system_ambient_object" />

     <KeyWord name="THESE_ARE_CONDITION_SCOPES" />
     <KeyWord name="any_sector" />
     <KeyWord name="count_pops" />
     <KeyWord name="any_system_within_border" />
     <KeyWord name="any_war" />
     <KeyWord name="any_tile" />
     <KeyWord name="any_neighboring_tile" />
     <KeyWord name="any_neighbor_system" />
     <KeyWord name="tile" />
     <KeyWord name="any_system" />
     <KeyWord name="any_ship" />
     <KeyWord name="any_owned_ship" />
     <KeyWord name="any_pop" />
     <KeyWord name="any_owned_pop" />
     <KeyWord name="any_planet_within_border" />
     <KeyWord name="ruler" />
     <KeyWord name="any_controlled_planet" />
     <KeyWord name="species" />
     <KeyWord name="any_ship_in_system" />
     <KeyWord name="any_owned_planet" />
     <KeyWord name="any_planet" />
     <KeyWord name="any_moon" />
     <KeyWord name="any_owned_leader" />
     <KeyWord name="any_owned_fleet" />
     <KeyWord name="any_bordering_country" />
     <KeyWord name="any_attacker" />
     <KeyWord name="any_country" />
     <KeyWord name="any_neighbor_country" />
     <KeyWord name="any_defender" />
     <KeyWord name="research_leader" />

     <KeyWord name="THESE_ARE_MULTI_SCOPES" />
     <KeyWord name="space_owner" />
     <KeyWord name="pop_faction" />
     <KeyWord name="closest_system" />
     <KeyWord name="orbital_deposit_tile" />
     <KeyWord name="owner" />
     <KeyWord name="orbit" />
     <KeyWord name="planet" />
     <KeyWord name="observation_outpost" />
     <KeyWord name="observation_outpost_owner" />
     <KeyWord name="THESE_ARE_RELATIVE_SCOPES" />
     <KeyWord name="root" />
     <KeyWord name="prev" />
     <KeyWord name="prevprev" />
     <KeyWord name="prevprevprev" />
     <KeyWord name="from" />
     <KeyWord name="fromfrom" />
     <KeyWord name="fromfromfrom" />
     <KeyWord name="this" />

     <KeyWord name="THESE_ARE_SPECIAL_THINGIES" />
     <KeyWord name="hidden_effect" />
     <KeyWord name="event_target" />
     <KeyWord name="default" />
     <KeyWord name="random" />
     <KeyWord name="debug_scope_type" />
     <KeyWord name="save_event_target_as" />
     <KeyWord name="custom_tooltip" />
     <KeyWord name="namespace" />
     <KeyWord name="custom_tooltip_fail" />
     <KeyWord name="parameter" />
     <KeyWord name="hidden" />
     <KeyWord name="hidden_trigger" />

     <KeyWord name="THESE_ARE_CONDITIONS" />
     <KeyWord name="custom_tooltip" />
     <KeyWord name="if" />
     <KeyWord name="and" />
     <KeyWord name="or" />
     <KeyWord name="not" />
     <KeyWord name="happiness" />
     <KeyWord name="has_ring" />
     <KeyWord name="hidden_trigger" />
     <KeyWord name="has_owner" />
     <KeyWord name="any_owned_planet" />
     <KeyWord name="found_system" />
     <KeyWord name="found_planet" />
     <KeyWord name="any_controlled_planet" />
     <KeyWord name="is_ai" />
     <KeyWord name="always" />
     <KeyWord name="has_trait" />
     <KeyWord name="has_ethic" />
     <KeyWord name="is_moon" />
     <KeyWord name="opinion" />
     <KeyWord name="any_pop" />
     <KeyWord name="is_owned_by" />
     <KeyWord name="is_same_species" />
     <KeyWord name="any_war_defender" />
     <KeyWord name="any_war_attacker" />
     <KeyWord name="ideal_planet_class" />
     <KeyWord name="is_same_empire" />
     <KeyWord name="is_planet_class" />
     <KeyWord name="has_strategic_resource" />
     <KeyWord name="is_star_class" />
     <KeyWord name="distance" />
     <KeyWord name="has_technology" />
     <KeyWord name="has_planet_modifier" />
     <KeyWord name="has_planet_flag" />
     <KeyWord name="has_country_flag" />
     <KeyWord name="has_fleet_flag" />
     <KeyWord name="has_ship_flag" />
     <KeyWord name="is_ship_class" />
     <KeyWord name="is_ship_size" />
     <KeyWord name="is_capital" />
     <KeyWord name="has_ground_combat" />
     <KeyWord name="is_at_war" />
     <KeyWord name="num_owned_planets" />
     <KeyWord name="has_government" />
     <KeyWord name="num_pops" />
     <KeyWord name="is_primitive" />
     <KeyWord name="is_inside_nebula" />
     <KeyWord name="is_pirate" />
     <KeyWord name="is_inside_border" />
     <KeyWord name="any_country" />
     <KeyWord name="planet_size" />
     <KeyWord name="any_planet" />
     <KeyWord name="influence" />
     <KeyWord name="is_star" />
     <KeyWord name="is_asteroid" />
     <KeyWord name="is_at_war_with" />
     <KeyWord name="their_opinion" />
     <KeyWord name="is_same_species_class" />
     <KeyWord name="has_alliance" />
     <KeyWord name="has_federation" />
     <KeyWord name="is_colonizable" />
     <KeyWord name="gender" />
     <KeyWord name="has_level" />
     <KeyWord name="num_minerals" />
     <KeyWord name="num_physics" />
     <KeyWord name="num_society" />
     <KeyWord name="num_engineering" />
     <KeyWord name="num_modifiers" />
     <KeyWord name="has_any_strategic_resource" />
     <KeyWord name="free_leader_slots" />
     <KeyWord name="has_pop_flag" />
     <KeyWord name="is_occupied_flag" />
     <KeyWord name="can_colonize" />
     <KeyWord name="is_damaged" />
     <KeyWord name="has_hp" />
     <KeyWord name="is_surveyed" />
     <KeyWord name="has_global_flag" />
     <KeyWord name="check_variable" />
     <KeyWord name="any_planet_within_border" />
     <KeyWord name="any_owned_ship" />
     <KeyWord name="any_ship" />
     <KeyWord name="energy" />
     <KeyWord name="pop_has_ethic" />
     <KeyWord name="pop_has_trait" />
     <KeyWord name="is_colony" />
     <KeyWord name="habitability" />
     <KeyWord name="has_building" />
     <KeyWord name="is_controlled_by" />
     <KeyWord name="is_terraformed" />
     <KeyWord name="is_terraforming" />
     <KeyWord name="has_planet_edict" />
     <KeyWord name="has_country_edict" />
     <KeyWord name="has_observation_outpost" />
     <KeyWord name="is_federation_leader" />
     <KeyWord name="starting_system" />
     <KeyWord name="has_star_flag" />
     <KeyWord name="has_mining_station" />
     <KeyWord name="has_research_station" />
     <KeyWord name="has_spaceport" />
     <KeyWord name="any_spaceport" />
     <KeyWord name="any_research_station" />
     <KeyWord name="any_mining_station" />
     <KeyWord name="any_system" />
     <KeyWord name="any_system_within_border" />
     <KeyWord name="army_type" />
     <KeyWord name="has_army" />
     <KeyWord name="is_advisor_active" />
     <KeyWord name="count_pops" />
     <KeyWord name="is_enslaved" />
     <KeyWord name="is_being_purged" />
     <KeyWord name="graphical_culture" />
     <KeyWord name="income" />
     <KeyWord name="expenses" />
     <KeyWord name="produced_energy" />
     <KeyWord name="trade_income" />
     <KeyWord name="trade_expenses" />
     <KeyWord name="ship_maintenance" />
     <KeyWord name="army_maintenance" />
     <KeyWord name="colony_maintenance" />
     <KeyWord name="station_maintenance" />
     <KeyWord name="construction_expenses" />
     <KeyWord name="federation_expenses" />
     <KeyWord name="has_anomaly" />
     <KeyWord name="stored_physics_points" />
     <KeyWord name="stored_society_points" />
     <KeyWord name="stored_engineering_points" />
     <KeyWord name="balance" />
     <KeyWord name="running_balance" />
     <KeyWord name="is_planet" />
     <KeyWord name="is_pop" />
     <KeyWord name="is_ship" />
     <KeyWord name="is_army" />
     <KeyWord name="is_country" />
     <KeyWord name="is_tutorial_level" />
     <KeyWord name="is_multiplayer" />
     <KeyWord name="has_event_chain" />
     <KeyWord name="is_species_class" />
     <KeyWord name="vassals" />
     <KeyWord name="has_opinion_modifier" />
     <KeyWord name="has_established_contact" />
     <KeyWord name="has_completed_event_chain_counter" />
     <KeyWord name="has_planet_class" />
     <KeyWord name="is_disabled" />
     <KeyWord name="has_existing_ship_design" />
     <KeyWord name="has_grown_pop" />
     <KeyWord name="has_growing_pop" />
     <KeyWord name="has_resource" />
     <KeyWord name="has_building_construction" />
     <KeyWord name="any_neighboring_tile" />
     <KeyWord name="any_tile" />
     <KeyWord name="has_blocker" />
     <KeyWord name="free_pop_tiles" />
     <KeyWord name="free_building_tiles" />
     <KeyWord name="has_relation_flag" />
     <KeyWord name="reverse_has_relation_flag" />
     <KeyWord name="exists" />
     <KeyWord name="has_edict" />
     <KeyWord name="has_moon" />
     <KeyWord name="num_moons" />
     <KeyWord name="is_in_cluster" />
     <KeyWord name="any_moon" />
     <KeyWord name="num_adjacent_tiles" />
     <KeyWord name="is_sentient" />
     <KeyWord name="leader_class" />
     <KeyWord name="is_preventing_anomaly" />
     <KeyWord name="observation_outpost_owner" />
     <KeyWord name="observation_outpost" />
     <KeyWord name="has_deposit" />
     <KeyWord name="has_deposit_for" />
     <KeyWord name="colony_age" />
     <KeyWord name="is_rim_system" />
     <KeyWord name="any_rim_system" />
     <KeyWord name="has_mission" />
     <KeyWord name="is_country_type" />
     <KeyWord name="has_modifier" />
     <KeyWord name="switch" />
     <KeyWord name="sectors" />
     <KeyWord name="num_fleets" />
     <KeyWord name="num_ships" />
     <KeyWord name="any_ship_in_system" />
     <KeyWord name="mission_progress" />
     <KeyWord name="num_ethics" />
     <KeyWord name="num_traits" />
     <KeyWord name="has_truce" />
     <KeyWord name="has_access_military" />
     <KeyWord name="has_access_civilian" />
     <KeyWord name="has_access_construction" />
     <KeyWord name="is_ringworld" />
     <KeyWord name="member_of_faction" />
     <KeyWord name="support" />
     <KeyWord name="is_ideal_planet_class" />
     <KeyWord name="is_pop_faction_type" />
     <KeyWord name="is_same_value" />
     <KeyWord name="sector_controlled" />
     <KeyWord name="sectors_over_limit" />
     <KeyWord name="is_orbital_tile" />
     <KeyWord name="orbital_bombardment" />
     <KeyWord name="intel_level" />
     <KeyWord name="members" />
     <KeyWord name="is_researching_area" />
     <KeyWord name="any_owned_leader" />
     <KeyWord name="any_owned_pop" />
     <KeyWord name="has_faction" />
     <KeyWord name="count_owned_pops" />
     <KeyWord name="can_declare_war" />
     <KeyWord name="is_hostile" />
     <KeyWord name="has_communications" />
     <KeyWord name="has_country_resource" />
     <KeyWord name="has_leader_flag" />
     <KeyWord name="num_killed_ships" />
     <KeyWord name="num_taken_planets" />
     <KeyWord name="count_ships" />
     <KeyWord name="count_owned_ships" />
     <KeyWord name="has_pop_faction_flag" />
     <KeyWord name="research_leader" />
     <KeyWord name="leader_of_faction" />
     <KeyWord name="is_scope_valid" />
     <KeyWord name="opposing_ethics_divergence" />
     <KeyWord name="is_war_leader" />
     <KeyWord name="can_create_sector" />
     <KeyWord name="is_in_alliance_with" />
     <KeyWord name="is_in_federation_with" />
     <KeyWord name="can_change_policy" />
     <KeyWord name="count_pop_factions" />
     <KeyWord name="has_fleet_order" />
     <KeyWord name="closest_system" />
     <KeyWord name="num_communications" />
     <KeyWord name="is_ironman" />
     <KeyWord name="has_monthly_income" />
     <KeyWord name="last_changed_policy" />
     <KeyWord name="any_sector" />
     <KeyWord name="has_policy_flag" />
     <KeyWord name="any_owned_fleet" />
     <KeyWord name="count_deposits" />
     <KeyWord name="has_ground_support_stance" />
     <KeyWord name="has_tech_option" />
     <KeyWord name="is_species" />
     <KeyWord name="count_tech_options" />
     <KeyWord name="last_increased_tech" />
     <KeyWord name="has_country_strategic_resource" />
     <KeyWord name="has_point_of_interest" />
     <KeyWord name="is_being_repaired" />
     <KeyWord name="any_war" />
     <KeyWord name="any_defender" />
     <KeyWord name="any_attacker" />
     <KeyWord name="has_orbital_station" />
     <KeyWord name="any_orbital_station" />
     <KeyWord name="has_prev_building" />
     <KeyWord name="any_ambient_object" />
     <KeyWord name="any_system_ambient_object" />
     <KeyWord name="has_ambient_object_flag" />
     <KeyWord name="war_demand_counter" />
     <KeyWord name="attacker_war_score" />
     <KeyWord name="defender_war_score" />
     <KeyWord name="off_war_score_sum" />
     <KeyWord name="def_war_score_sum" />
     <KeyWord name="any_bordering_country" />
     <KeyWord name="galaxy_percentage" />
     <KeyWord name="custom_tooltip_fail" />
     <KeyWord name="count_armies" />
     <KeyWord name="original_owner" />
     <KeyWord name="is_in_combat" />
     <KeyWord name="any_member" />
     <KeyWord name="is_guaranteeing" />
     <KeyWord name="is_war_participant" />
     <KeyWord name="is_homeworld" />
     <KeyWord name="years_passed" />
     <KeyWord name="is_threatened_to" />
     <KeyWord name="is_protective_to" />
     <KeyWord name="is_friendly_to" />
     <KeyWord name="is_hostile_to" />
     <KeyWord name="is_ruined" />
     <KeyWord name="is_dismissive_to" />
     <KeyWord name="is_patronizing_to" />
     <KeyWord name="is_angry_to" />
     <KeyWord name="is_neighbor_of" />
     <KeyWord name="any_neighbor_country" />
     <KeyWord name="is_rival" />
     <KeyWord name="is_unfriendly_to" />
     <KeyWord name="is_loyal_to" />
     <KeyWord name="is_disloyal_to" />
     <KeyWord name="is_cordial_to" />
     <KeyWord name="is_domineering_to" />
     <KeyWord name="is_wary_to" />
     <KeyWord name="fleet_power" />
     <KeyWord name="has_election_type" />
     <KeyWord name="has_ai_personality" />
     <KeyWord name="has_ai_personality_type" />
     <KeyWord name="has_ai_personality_behaviour" />
     <KeyWord name="has_valid_ai_personality" />
     <KeyWord name="has_migration_access" />
     <KeyWord name="grants_migration_access" />
     <KeyWord name="logged_in_to_pdx_account" />
     <KeyWord name="tech_unlocked_ratio" />
     <KeyWord name="has_special_project" />
     <KeyWord name="would_join_war" />
     <KeyWord name="can_be_subject" />
     <KeyWord name="count_war_participants" />
     <KeyWord name="count_potential_war_participants" />
     <KeyWord name="has_skill" />
     <KeyWord name="has_experience" />
     <KeyWord name="any_neighbor_system" />
     <KeyWord name="is_under_colonization" />
     <KeyWord name="has_colony_progress" />
     <KeyWord name="is_growing" />
     <KeyWord name="is_colony_pop" />
     <KeyWord name="is_subspecies" />
     <KeyWord name="is_valid" />
     <KeyWord name="fortification_health" />
     <KeyWord name="subject_can_diplomacy" />
     <KeyWord name="has_surveyed_class" />
     <KeyWord name="fleet_size" />
     <KeyWord name="check_pop_faction_parameter" />
     <KeyWord name="is_robot_pop" />
     <KeyWord name="host_has_dlc" />
     <KeyWord name="local_has_dlc" />
     <KeyWord name="num_rare_techs" />
     <KeyWord name="is_core_sector" />
     <KeyWord name="has_mandate" />
     <KeyWord name="has_spaceport_module" />
     <KeyWord name="has_free_spaceport_module_slot" />
     <KeyWord name="is_spaceport_module_slot_free" />
     <KeyWord name="can_build_spaceport_module" />
     <KeyWord name="num_free_spaceport_module_slots" />
     <KeyWord name="num_spaceport_modules" />
     <KeyWord name="nor" />
     <KeyWord name="nand" />
     <KeyWord name="num_energy" />
     <KeyWord name="species_portrait" />
     <KeyWord name="num_armies" />
     <KeyWord name="is_proposing_war_demands" />
     <KeyWord name="num_war_demands" />
     <KeyWord name="max_naval_capacity" />
     <KeyWord name="used_naval_capacity_integer" />
     <KeyWord name="used_naval_capacity_percent" />
     <KeyWord name="limit" />
     <KeyWord name="yes" />
     <KeyWord name="no" />
     <KeyWord name="has_owner" />
     <KeyWord name="num_pops" />
     <KeyWord name="planet_size" />
     <KeyWord name="not" />
     <KeyWord name="and" />
     <KeyWord name="or" />
     <KeyWord name="if" />
     <KeyWord name="else" />
     <KeyWord name="NOR" />
     <KeyWord name="always" />
     <KeyWord name="is_growing" />
     <KeyWord name="is_primitive" />
     <KeyWord name="influence" />
     <KeyWord name="is_ruined" />
     <KeyWord name="has_ai_personality_type" />
     <KeyWord name="support" />
     <KeyWord name="happiness" />
     <KeyWord name="has_pop_faction_flag" />
     <KeyWord name="has_resource" />
     <KeyWord name="has_ground_combat" />
     <KeyWord name="is_occupied_flag" />
     <KeyWord name="member_of_faction" />
     <KeyWord name="used_naval_capacity_percent" />
     <KeyWord name="has_mandate" />
     <KeyWord name="leader_of_faction" />
     <KeyWord name="is_robot_pop" />
     <KeyWord name="grants_migration_access" />
     <KeyWord name="has_valid_ai_personality" />
     <KeyWord name="has_moon" />
     <KeyWord name="has_election_type" />
     <KeyWord name="opposing_ethics_divergence" />
     <KeyWord name="num_communications" />
     <KeyWord name="has_alliance" />
     <KeyWord name="has_federation" />
     <KeyWord name="is_war_leader" />
     <KeyWord name="pop_has_trait" />
     <KeyWord name="pop_has_ethic" />
     <KeyWord name="count" />
     <KeyWord name="count_war_participants" />
     <KeyWord name="can_be_subject" />
     <KeyWord name="is_war_participant" />
     <KeyWord name="would_join_war" />
     <KeyWord name="is_capital" />
     <KeyWord name="check_pop_faction_parameter" />
     <KeyWord name="is_pirate" />
     <KeyWord name="is_pop_faction_type" />
     <KeyWord name="is_scope_valid" />
     <KeyWord name="is_colony_pop" />
     <KeyWord name="is_sentient" />
     <KeyWord name="is_species" />
     <KeyWord name="count_pops" />
     <KeyWord name="def_war_score_sum" />
     <KeyWord name="is_at_war" />
     <KeyWord name="has_communications" />
     <KeyWord name="is_hostile" />
     <KeyWord name="war_demand_counter" />
     <KeyWord name="is_country_type" />
     <KeyWord name="is_under_colonization" />
     <KeyWord name="has_modifier" />
     <KeyWord name="is_domineering_to" />
     <KeyWord name="is_hostile_to" />
     <KeyWord name="is_at_war_with" />
     <KeyWord name="has_ai_personality" />
     <KeyWord name="is_same_species" />
     <KeyWord name="is_angry_to" />
     <KeyWord name="is_threatened_to" />
     <KeyWord name="is_wary_to" />
     <KeyWord name="is_patronizing_to" />
     <KeyWord name="is_dismissive_to" />
     <KeyWord name="is_protective_to" />
     <KeyWord name="is_cordial_to" />
     <KeyWord name="is_friendly_to" />
     <KeyWord name="is_same_species_class" />
     <KeyWord name="is_unfriendly_to" />
     <KeyWord name="count_potential_war_participants" />
     <KeyWord name="off_war_score_sum" />
     <KeyWord name="has_planet_flag" />
     <KeyWord name="is_country" />
     <KeyWord name="is_same_value" />
     <KeyWord name="has_building" />
     <KeyWord name="has_technology" />
     <KeyWord name="has_ethic" />
     <KeyWord name="has_planet_modifier" />
     <KeyWord name="is_enslaved" />
     <KeyWord name="num_modifiers" />
     <KeyWord name="is_planet_class" />
     <KeyWord name="has_trait" />
     <KeyWord name="is_moon" />
     <KeyWord name="has_ai_personality_behaviour" />
     <KeyWord name="exists" />
     <KeyWord name="years_passed" />
     <KeyWord name="has_blocker" />
     <KeyWord name="has_government" />
     <KeyWord name="has_leader_flag" />
     <KeyWord name="has_country_edict" />
     <KeyWord name="has_policy_flag" />
     <KeyWord name="has_country_flag" />

     <KeyWord name="THESE_ARE_COMMANDS" />
     <KeyWord name="if" />
     <KeyWord name="country_event" />
     <KeyWord name="planet_event" />
     <KeyWord name="random" />
     <KeyWord name="random_list" />
     <KeyWord name="wait" />
     <KeyWord name="move_to" />
     <KeyWord name="every_owned_planet" />
     <KeyWord name="orbit_planet" />
     <KeyWord name="random_owned_planet" />
     <KeyWord name="every_controlled_planet" />
     <KeyWord name="find_closest_planet" />
     <KeyWord name="find_random_system" />
     <KeyWord name="repeat" />
     <KeyWord name="random_controlled_planet" />
     <KeyWord name="create_ship_design" />
     <KeyWord name="change_government" />
     <KeyWord name="ship_event" />
     <KeyWord name="add_energy" />
     <KeyWord name="add_minerals" />
     <KeyWord name="add_physics" />
     <KeyWord name="add_society" />
     <KeyWord name="add_engineering" />
     <KeyWord name="pop_event" />
     <KeyWord name="every_war_defender" />
     <KeyWord name="set_owner" />
     <KeyWord name="every_war_attacker" />
     <KeyWord name="random_war_defender" />
     <KeyWord name="random_war_attacker" />
     <KeyWord name="give_technology" />
     <KeyWord name="enable_special_project" />
     <KeyWord name="add_resource" />
     <KeyWord name="add_physics_research" />
     <KeyWord name="add_society_research" />
     <KeyWord name="add_engineering_research" />
     <KeyWord name="set_country_flag" />
     <KeyWord name="set_planet_flag" />
     <KeyWord name="set_fleet_flag" />
     <KeyWord name="set_ship_flag" />
     <KeyWord name="remove_country_flag" />
     <KeyWord name="remove_planet_flag" />
     <KeyWord name="remove_fleet_flag" />
     <KeyWord name="remove_ship_flag" />
     <KeyWord name="every_owned_ship" />
     <KeyWord name="random_owned_ship" />
     <KeyWord name="create_species" />
     <KeyWord name="create_country" />
     <KeyWord name="create_fleet" />
     <KeyWord name="create_army" />
     <KeyWord name="set_location" />
     <KeyWord name="create_ship" />
     <KeyWord name="set_primitive" />
     <KeyWord name="create_pop" />
     <KeyWord name="create_colony" />
     <KeyWord name="set_capital" />
     <KeyWord name="change_pc" />
     <KeyWord name="random_country" />
     <KeyWord name="random_pop" />
     <KeyWord name="kill_pop" />
     <KeyWord name="enslave_pop" />
     <KeyWord name="destroy_colony" />
     <KeyWord name="every_system_planet" />
     <KeyWord name="surveyed" />
     <KeyWord name="add_experience" />
     <KeyWord name="set_ring" />
     <KeyWord name="create_mining_station" />
     <KeyWord name="create_research_station" />
     <KeyWord name="set_pop_flag" />
     <KeyWord name="remove_pop_flag" />
     <KeyWord name="every_owned_pop" />
     <KeyWord name="set_name" />
     <KeyWord name="random_planet" />
     <KeyWord name="add_modifier" />
     <KeyWord name="create_leader" />
     <KeyWord name="fleet_event" />
     <KeyWord name="reduce_hp" />
     <KeyWord name="reduce_hp_percent" />
     <KeyWord name="repair_ship" />
     <KeyWord name="destroy_country" />
     <KeyWord name="set_variable" />
     <KeyWord name="remove_global_flag" />
     <KeyWord name="set_global_flag" />
     <KeyWord name="change_variable" />
     <KeyWord name="random_planet_within_border" />
     <KeyWord name="every_pop" />
     <KeyWord name="every_country" />
     <KeyWord name="every_ship" />
     <KeyWord name="every_planet" />
     <KeyWord name="add_influence" />
     <KeyWord name="pop_add_ethic" />
     <KeyWord name="pop_remove_ethic" />
     <KeyWord name="pop_migration" />
     <KeyWord name="change_pop_species" />
     <KeyWord name="create_rebels" />
     <KeyWord name="cancel_terraformation" />
     <KeyWord name="set_event_locked" />
     <KeyWord name="clear_orders" />
     <KeyWord name="order_forced_return" />
     <KeyWord name="declare_war" />
     <KeyWord name="set_star_flag" />
     <KeyWord name="remove_star_flag" />
     <KeyWord name="set_primitive_age" />
     <KeyWord name="spawn_system" />
     <KeyWord name="any_spaceport" />
     <KeyWord name="any_research_station" />
     <KeyWord name="any_mining_station" />
     <KeyWord name="random_research_station" />
     <KeyWord name="dismantle" />
     <KeyWord name="random_mining_station" />
     <KeyWord name="random_spaceport" />
     <KeyWord name="random_system" />
     <KeyWord name="random_system_within_border" />
     <KeyWord name="random_army" />
     <KeyWord name="random_army_within_country" />
     <KeyWord name="set_advisor_active" />
     <KeyWord name="save_event_target_as" />
     <KeyWord name="save_global_event_target_as" />
     <KeyWord name="clear_global_event_target" />
     <KeyWord name="clear_global_event_targets" />
     <KeyWord name="break" />
     <KeyWord name="set_tutorial_level" />
     <KeyWord name="begin_event_chain" />
     <KeyWord name="end_event_chain" />
     <KeyWord name="queue_actions" />
     <KeyWord name="while" />
     <KeyWord name="clear_fleet_actions" />
     <KeyWord name="destroy_fleet" />
     <KeyWord name="create_ambient_object" />
     <KeyWord name="destroy_ambient_object" />
     <KeyWord name="add_trait" />
     <KeyWord name="remove_trait" />
     <KeyWord name="modify_species" />
     <KeyWord name="add_opinion_modifier" />
     <KeyWord name="establish_contact" />
     <KeyWord name="set_faction_hostility" />
     <KeyWord name="random_system_planet" />
     <KeyWord name="add_event_chain_counter" />
     <KeyWord name="add_anomaly" />
     <KeyWord name="set_disable_at_health" />
     <KeyWord name="add_building_construction" />
     <KeyWord name="set_building" />
     <KeyWord name="remove_building" />
     <KeyWord name="change_planet_size" />
     <KeyWord name="set_blocker" />
     <KeyWord name="remove_blocker" />
     <KeyWord name="every_tile" />
     <KeyWord name="random_tile" />
     <KeyWord name="every_neighboring_tile" />
     <KeyWord name="random_neighboring_tile" />
     <KeyWord name="set_disabled" />
     <KeyWord name="create_point_of_interest" />
     <KeyWord name="remove_point_of_interest" />
     <KeyWord name="set_relation_flag" />
     <KeyWord name="remove_relation_flag" />
     <KeyWord name="random_moon" />
     <KeyWord name="every_moon" />
     <KeyWord name="every_system_in_cluster" />
     <KeyWord name="create_cluster" />
     <KeyWord name="kill_leader" />
     <KeyWord name="assign_leader" />
     <KeyWord name="country_add_ethic" />
     <KeyWord name="country_remove_ethic" />
     <KeyWord name="set_timed_country_flag" />
     <KeyWord name="set_timed_fleet_flag" />
     <KeyWord name="set_timed_global_flag" />
     <KeyWord name="set_timed_planet_flag" />
     <KeyWord name="set_timed_pop_flag" />
     <KeyWord name="set_timed_relation_flag" />
     <KeyWord name="set_timed_ship_flag" />
     <KeyWord name="set_timed_star_flag" />
     <KeyWord name="remove_army" />
     <KeyWord name="prevent_anomaly" />
     <KeyWord name="every_planet_within_border" />
     <KeyWord name="every_planet_army" />
     <KeyWord name="every_army_within_country" />
     <KeyWord name="observation_outpost_owner" />
     <KeyWord name="observation_outpost" />
     <KeyWord name="add_deposit" />
     <KeyWord name="clear_deposits" />
     <KeyWord name="every_rim_system" />
     <KeyWord name="random_rim_system" />
     <KeyWord name="purge" />
     <KeyWord name="set_planet_max_health" />
     <KeyWord name="set_planet_health" />
     <KeyWord name="remove_modifier" />
     <KeyWord name="set_country_type" />
     <KeyWord name="add_ship_design" />
     <KeyWord name="add_mission_progress" />
     <KeyWord name="create_army_transport" />
     <KeyWord name="set_spaceport_module" />
     <KeyWord name="create_spaceport" />
     <KeyWord name="set_spaceport_level" />
     <KeyWord name="switch" />
     <KeyWord name="set_age" />
     <KeyWord name="create_wormhole_station" />
     <KeyWord name="set_pop_faction" />
     <KeyWord name="create_pop_faction" />
     <KeyWord name="add_support" />
     <KeyWord name="set_support" />
     <KeyWord name="set_graphical_culture" />
     <KeyWord name="set_formation_scale" />
     <KeyWord name="set_controller" />
     <KeyWord name="force_faction_evaluation" />
     <KeyWord name="enable_faction_of_type" />
     <KeyWord name="clear_uncharted_space" />
     <KeyWord name="every_owned_leader" />
     <KeyWord name="random_owned_leader" />
     <KeyWord name="establish_communications" />
     <KeyWord name="add_monthly_resource_mult" />
     <KeyWord name="pop_faction_event" />
     <KeyWord name="set_leader_flag" />
     <KeyWord name="remove_leader_flag" />
     <KeyWord name="add_research_option" />
     <KeyWord name="load_parameters" />
     <KeyWord name="set_heir" />
     <KeyWord name="set_pop_faction_flag" />
     <KeyWord name="remove_pop_faction_flag" />
     <KeyWord name="set_timed_pop_faction_flag" />
     <KeyWord name="declare_white_peace_with" />
     <KeyWord name="leave_alliance" />
     <KeyWord name="create_sector" />
     <KeyWord name="random_owned_pop" />
     <KeyWord name="set_policy" />
     <KeyWord name="recruitable" />
     <KeyWord name="add_tech_progress" />
     <KeyWord name="closest_system" />
     <KeyWord name="random_sector" />
     <KeyWord name="every_sector" />
     <KeyWord name="random_owned_fleet" />
     <KeyWord name="random_ambient_object" />
     <KeyWord name="random_system_ambient_object" />
     <KeyWord name="every_ambient_object" />
     <KeyWord name="every_system_ambient_object" />
     <KeyWord name="set_ambient_object_flag" />
     <KeyWord name="set_timed_ambient_object_flag" />
     <KeyWord name="remove_ambient_object_flag" />
     <KeyWord name="every_fleet_in_system" />
     <KeyWord name="random_fleet_in_system" />
     <KeyWord name="set_aggro_range" />
     <KeyWord name="set_fleet_stance" />
     <KeyWord name="set_aggro_range_measure_from" />
     <KeyWord name="set_ruined" />
     <KeyWord name="random_neighbor_country" />
     <KeyWord name="establish_communications_no_message" />
     <KeyWord name="set_subject_of" />
     <KeyWord name="abort_special_project" />
     <KeyWord name="unassign_leader" />
     <KeyWord name="exile_leader_as" />
     <KeyWord name="set_leader" />
     <KeyWord name="add_skill" />
     <KeyWord name="set_skill" />
     <KeyWord name="every_neighbor_system" />
     <KeyWord name="random_neighbor_system" />
     <KeyWord name="set_federation_leader" />
     <KeyWord name="add_colony_progress" />
     <KeyWord name="start_colony" />
     <KeyWord name="remove_opinion_modifier" />
     <KeyWord name="add_war_demand" />
     <KeyWord name="change_country_flag" />
     <KeyWord name="every_pop_faction" />
     <KeyWord name="random_pop_faction" />
     <KeyWord name="kill_pop_faction" />
     <KeyWord name="add_threat" />
     <KeyWord name="remove_sector" />
     <KeyWord name="set_mission" />
     <KeyWord name="remove_spaceport_module" />
     <KeyWord name="change_dominant_species" />
     <KeyWord name="create_military_fleet" />
     <KeyWord name="add_energy" />
     <KeyWord name="pop_faction_event" />
     <KeyWord name="set_ruined" />
     <KeyWord name="establish_communications_no_message" />
     <KeyWord name="set_controller" />
     <KeyWord name="create_army" />
     <KeyWord name="add_war_demand" />
     <KeyWord name="create_rebels" />
     <KeyWord name="remove_pop_faction_flag" />
     <KeyWord name="set_pop_faction_flag" />
     <KeyWord name="create_species" />
     <KeyWord name="add_minerals" />
     <KeyWord name="country_event" />
     <KeyWord name="set_timed_pop_faction_flag" />
     <KeyWord name="add_support" />
     <KeyWord name="create_country" />
     <KeyWord name="set_country_flag" />
     <KeyWord name="set_owner" />
     <KeyWord name="create_ship_design" />
     <KeyWord name="create_ship" />
     <KeyWord name="set_location" />
     <KeyWord name="add_experience" />
     <KeyWord name="create_fleet" />
     <KeyWord name="planet_event" />
     <KeyWord name="set_name" />
     <KeyWord name="kill_pop" />
     <KeyWord name="begin_event_chain" />
     <KeyWord name="assign_leader" />
     <KeyWord name="set_planet_flag" />
     <KeyWord name="add_threat" />
     <KeyWord name="set_subject_of" />
     <KeyWord name="set_policy" />
     <KeyWord name="add_modifier" />
     <KeyWord name="set_support" />
     <KeyWord name="remove_opinion_modifier" />
     <KeyWord name="create_leader" />
     <KeyWord name="set_pop_faction" />
     <KeyWord name="kill_pop_faction" />
     <KeyWord name="add_opinion_modifier" />

     <KeyWord name="THESE_ARE_DEFINITION_TOKENS" />
     <KeyWord name="name" />
     <KeyWord name="design" />
     <KeyWord name="can_create" />
     <KeyWord name="graphical_culture" />
     <KeyWord name="option" />
     <KeyWord name="ftl" />
     <KeyWord name="id" />
     <KeyWord name="title" />
     <KeyWord name="desc" />
     <KeyWord name="picture" />
     <KeyWord name="is_triggered_only" />
     <KeyWord name="immediate" />
     <KeyWord name="trigger" />
     <KeyWord name="icon" />
     <KeyWord name="section" />
     <KeyWord name="construction_days" />
     <KeyWord name="sound" />
     <KeyWord name="angle" />
     <KeyWord name="trait" />
     <KeyWord name="mean_time_to_happen" />
     <KeyWord name="fire_only_once" />
     <KeyWord name="planet_names" />
     <KeyWord name="fleet_names" />
     <KeyWord name="ship_names" />
     <KeyWord name="drop_weight" />
     <KeyWord name="orbital_weight" />
     <KeyWord name="station" />
     <KeyWord name="is_advisor_event" />
     <KeyWord name="duration" />
     <KeyWord name="min_distance" />
     <KeyWord name="max_distance" />
     <KeyWord name="source" />
     <KeyWord name="auto_opens" />
     <KeyWord name="hide_window" />
     <KeyWord name="auto_delete" />
     <KeyWord name="name_list" />
     <KeyWord name="room" />
     <KeyWord name="picture_event_data" />
     <KeyWord name="diplomatic" />
     <KeyWord name="show_sound" />
     <KeyWord name="required_spaceport_level" />
     <KeyWord name="auto_upgrade" />
     <KeyWord name="is_civilian" />
     <KeyWord name="required_component_set" />
     <KeyWord name="change_orbit" />
     <KeyWord name="usage" />
     <KeyWord name="asteroids_distance" />
     <KeyWord name="level" />
     <KeyWord name="capital" />
     <KeyWord name="plural" />
     <KeyWord name="character_names" />
     <KeyWord name="built_for_ruler" />
     <KeyWord name="is_space_object" />
     <KeyWord name="anomaly" />
     <KeyWord name="flags" />
     <KeyWord name="neighbor_system" />
     <KeyWord name="replace" />
     <KeyWord name="resource" />
     <KeyWord name="init_effect" />
     <KeyWord name="modifiers" />
     <KeyWord name="tile_blockers" />
     <KeyWord name="size" />
     <KeyWord name="orbit_angle" />
     <KeyWord name="num_ai_wanted" />
     <KeyWord name="is_planet_local" />
     <KeyWord name="is_rare" />
     <KeyWord name="ai_categories" />
     <KeyWord name="self_modifier" />
     <KeyWord name="opposites" />
     <KeyWord name="adjacency_bonus" />
     <KeyWord name="condition" />
     <KeyWord name="resources" />
     <KeyWord name="leader_trait" />
     <KeyWord name="modification" />
     <KeyWord name="become_vassal" />
     <KeyWord name="time" />
     <KeyWord name="joins_overlord_wars" />
     <KeyWord name="to" />
     <KeyWord name="ratio" />
     <KeyWord name="can_be_integrated" />
     <KeyWord name="can_do_diplomacy" />
     <KeyWord name="calls_overlord_to_war" />
     <KeyWord name="accumulated_by_sectors" />
     <KeyWord name="sector_ignore_cost" />
     <KeyWord name="AI_category" />
     <KeyWord name="tradable" />
     <KeyWord name="collect_if_wrong_building" />
     <KeyWord name="shipclass_military" />
     <KeyWord name="abort_trigger" />
     <KeyWord name="stars" />
     <KeyWord name="icon_scale" />
     <KeyWord name="num_planets" />
     <KeyWord name="localization" />
     <KeyWord name="portraits" />
     <KeyWord name="same_option_group_as" />
     <KeyWord name="randomized" />
     <KeyWord name="uplifted_into" />
     <KeyWord name="move_pop_sound_effect" />
     <KeyWord name="custom_portraits" />
     <KeyWord name="shipclass_science_ship" />
     <KeyWord name="days_to_research" />
     <KeyWord name="assault_armies" />
     <KeyWord name="on_fail" />
     <KeyWord name="on_success" />
     <KeyWord name="requirements" />
     <KeyWord name="event_scope" />
     <KeyWord name="timelimit" />
     <KeyWord name="tech_department" />
     <KeyWord name="component_set" />
     <KeyWord name="replaceable" />
     <KeyWord name="initial_only" />
     <KeyWord name="homeworld" />
     <KeyWord name="usage_odds" />
     <KeyWord name="location" />
     <KeyWord name="orbit_distance" />
     <KeyWord name="home_planet" />
     <KeyWord name="moon" />
     <KeyWord name="components_add_to_cost" />
     <KeyWord name="build_block_radius" />
     <KeyWord name="valid_target_aggressive_stance" />
     <KeyWord name="is_designable" />
     <KeyWord name="enable_default_design" />
     <KeyWord name="can_have_federation_design" />
     <KeyWord name="is_space_station" />
     <KeyWord name="num_target_locators" />
     <KeyWord name="section_slots" />
     <KeyWord name="fleet_slot_size" />
     <KeyWord name="size_multiplier" />
     <KeyWord name="max_hitpoints" />
     <KeyWord name="collision_radius" />
     <KeyWord name="combat_rotation_speed" />
     <KeyWord name="combat_max_speed" />
     <KeyWord name="rotation_speed" />
     <KeyWord name="acceleration" />
     <KeyWord name="max_speed" />
     <KeyWord name="collision_awareness" />
     <KeyWord name="civilian_target_penalty" />
     <KeyWord name="size_difference_penalty" />
     <KeyWord name="distance_to_fleet_penalty" />
     <KeyWord name="already_incoming_damage_penalty" />
     <KeyWord name="armor_focus_value" />
     <KeyWord name="shield_focus_value" />
     <KeyWord name="low_health_bonus" />
     <KeyWord name="damage_value" />
     <KeyWord name="keep_previous_target_bonus" />
     <KeyWord name="targeting" />
     <KeyWord name="passive_move_pattern" />
     <KeyWord name="attack_move_pattern" />
     <KeyWord name="return_to_formation_distance" />
     <KeyWord name="formation_distance" />
     <KeyWord name="preferred_attack_range" />
     <KeyWord name="military_station" />
     <KeyWord name="ships" />
     <KeyWord name="production_targets" />
     <KeyWord name="rotation" />
     <KeyWord name="large_utility_slots" />
     <KeyWord name="medium_utility_slots" />
     <KeyWord name="small_utility_slots" />
     <KeyWord name="locatorname" />
     <KeyWord name="slot_type" />
     <KeyWord name="noun" />
     <KeyWord name="slot_size" />
     <KeyWord name="component_slot" />
     <KeyWord name="weapon_preferences" />
     <KeyWord name="fits_on_slot" />
     <KeyWord name="format" />
     <KeyWord name="parts" />
     <KeyWord name="support_effects" />
     <KeyWord name="cyclic" />
     <KeyWord name="prefix_format" />
     <KeyWord name="attraction_custom_desc" />
     <KeyWord name="attraction_custom_title" />
     <KeyWord name="prerequisites" />
     <KeyWord name="spaceport_level" />
     <KeyWord name="cost" />
     <KeyWord name="energy" />
     <KeyWord name="planet_modifier" />
     <KeyWord name="minerals" />
     <KeyWord name="ship_size" />
     <KeyWord name="initializer" />
     <KeyWord name="required_resources" />
     <KeyWord name="ship_design" />
     <KeyWord name="produced_resources" />
     <KeyWord name="template" />
     <KeyWord name="create_country_effect" />
     <KeyWord name="ship_modifier" />
     <KeyWord name="component" />
     <KeyWord name="slot" />
     <KeyWord name="create_species" />
     <KeyWord name="orbit_modifier" />
     <KeyWord name="required_component" />
     <KeyWord name="station_modifier" />
     <KeyWord name="class" />
     <KeyWord name="use_design_name" />
     <KeyWord name="hide_size" />
     <KeyWord name="country_type" />
     <KeyWord name="ethics" />
     <KeyWord name="base_buildtime" />
     <KeyWord name="upgrades" />
     <KeyWord name="potential" />
     <KeyWord name="text" />
     <KeyWord name="uses_mandates" />
     <KeyWord name="allow" />
     <KeyWord name="portrait" />
     <KeyWord name="is_listed" />
     <KeyWord name="election_term_years" />
     <KeyWord name="country_modifier" />
     <KeyWord name="re_election_allowed" />
     <KeyWord name="empire_unique" />
     <KeyWord name="traits" />
     <KeyWord name="election_type" />
     <KeyWord name="ai_special_building" />
     <KeyWord name="planet_unique" />
     <KeyWord name="upgrade" />
     <KeyWord name="ruler_title" />
     <KeyWord name="food" />
     <KeyWord name="election_candidates" />
     <KeyWord name="max_election_candidates" />
     <KeyWord name="has_agendas" />
     <KeyWord name="can_have_emergency_elections" />
     <KeyWord name="has_heir" />
     <KeyWord name="can_build_ruler_ship" />
     <KeyWord name="default_pop_factions" />
     <KeyWord name="vote_weight" />
     <KeyWord name="valid" />
     <KeyWord name="which" />
     <KeyWord name="can_build_ruler_military_station" />
     <KeyWord name="event_chain" />
     <KeyWord name="heir_title_female" />
     <KeyWord name="heir_title" />
     <KeyWord name="on_leader_ousted" />
     <KeyWord name="on_leader_elected" />
     <KeyWord name="steps" />
     <KeyWord name="target" />
     <KeyWord name="dynastic_last_names" />
     <KeyWord name="use_regnal_names" />
     <KeyWord name="small_icon" />
     <KeyWord name="ignore_initial_colony_error" />
     <KeyWord name="monthly_progress" />
     <KeyWord name="gain" />
     <KeyWord name="army_modifier" />
     <KeyWord name="completion_event" />
     <KeyWord name="emergency_election_cost" />
     <KeyWord name="opinion" />
     <KeyWord name="events" />
     <KeyWord name="election_term_variance" />
     <KeyWord name="pickable_at_start" />
     <KeyWord name="ruler_title_female" />
     <KeyWord name="government" />
     <KeyWord name="influence" />
     <KeyWord name="ai_weight" />
     <KeyWord name="weight" />
     <KeyWord name="modifier" />
     <KeyWord name="species" />
     <KeyWord name="monthly" />
     <KeyWord name="accumulative" />
     <KeyWord name="decay" />
     <KeyWord name="months" />
     <KeyWord name="unique" />
     <KeyWord name="alliance_acceptance" />
     <KeyWord name="colony_spending" />
     <KeyWord name="colonization_tech" />
     <KeyWord name="colonizable" />
     <KeyWord name="production_spawn_chance" />
     <KeyWord name="moon_size" />
     <KeyWord name="enable_tilt" />
     <KeyWord name="tile_set" />
     <KeyWord name="chance_of_ring" />
     <KeyWord name="on_enabled" />
     <KeyWord name="policy_flags" />
     <KeyWord name="orbit_lines" />
     <KeyWord name="election_header" />
     <KeyWord name="starting_planet" />
     <KeyWord name="ideal" />
     <KeyWord name="on_create" />
     <KeyWord name="lose_support_on_pop_leave" />
     <KeyWord name="attraction" />
     <KeyWord name="fixed_entity_scale" />
     <KeyWord name="empire" />
     <KeyWord name="key" />
     <KeyWord name="valid_objects" />
     <KeyWord name="colors" />
     <KeyWord name="extra_planet_count" />
     <KeyWord name="ringworld" />
     <KeyWord name="star" />
     <KeyWord name="file" />
     <KeyWord name="filter" />
     <KeyWord name="actions" />
     <KeyWord name="skill" />
     <KeyWord name="background" />
     <KeyWord name="is_potential" />
     <KeyWord name="ethos" />
     <KeyWord name="days" />
     <KeyWord name="max_support" />
     <KeyWord name="min_support" />
     <KeyWord name="on_set_leader" />
     <KeyWord name="demand" />
     <KeyWord name="recruitable" />
     <KeyWord name="mandate" />
     <KeyWord name="parameter_transfer" />
     <KeyWord name="extra_orbit_size" />
     <KeyWord name="city_color_lut" />
     <KeyWord name="spawn_odds" />
     <KeyWord name="max_distance_from_sun" />
     <KeyWord name="min_distance_from_sun" />
     <KeyWord name="atmosphere_width" />
     <KeyWord name="atmosphere_intensity" />
     <KeyWord name="atmosphere_color" />
     <KeyWord name="entity_scale" />
     <KeyWord name="behaviour" />
     <KeyWord name="friction_modifier" />
     <KeyWord name="threat_modifier" />
     <KeyWord name="federation_acceptance" />
     <KeyWord name="military_spending" />
     <KeyWord name="bravery" />
     <KeyWord name="trade_willingness" />
     <KeyWord name="aggressiveness" />
     <KeyWord name="engineering_research" />
     <KeyWord name="physics_research" />
     <KeyWord name="flag" />
     <KeyWord name="society_research" />
     <KeyWord name="playable" />
     <KeyWord name="leave_ftl_trails" />
     <KeyWord name="shuffle_pop_ethos" />
     <KeyWord name="diplomatic_wars" />
     <KeyWord name="relations" />
     <KeyWord name="ai" />
     <KeyWord name="enabled" />
     <KeyWord name="declare_war" />
     <KeyWord name="colonizer" />
     <KeyWord name="internal_policies" />
     <KeyWord name="construction" />
     <KeyWord name="modules" />
     <KeyWord name="ship_data" />
     <KeyWord name="constructor" />
     <KeyWord name="min" />
     <KeyWord name="max" />
     <KeyWord name="planet_mult" />
     <KeyWord name="science" />
     <KeyWord name="fraction" />
     <KeyWord name="army_data" />
     <KeyWord name="add" />
     <KeyWord name="factor" />
     <KeyWord name="faction" />
     <KeyWord name="hostile" />
     <KeyWord name="needs_border_access" />
     <KeyWord name="generate_borders" />
     <KeyWord name="needs_colony" />
     <KeyWord name="pirate" />
     <KeyWord name="sub_title" />
     <KeyWord name="sub_title_desc" />
     <KeyWord name="fallen_empire" />
     <KeyWord name="limited_construction" />
     <KeyWord name="tech" />
     <KeyWord name="can_receive" />
     <KeyWord name="can_send" />
     <KeyWord name="has_fortifications" />
     <KeyWord name="hide_names_if_no_communication" />
     <KeyWord name="show_in_contacts_list" />
     <KeyWord name="can_own_empty_planets" />
     <KeyWord name="needs_survey" />
     <KeyWord name="can_planets_be_attacked" />
     <KeyWord name="has_capital" />
     <KeyWord name="enforces_borders" />
     <KeyWord name="colonizing_title" />
     <KeyWord name="colonizing_desc" />
     <KeyWord name="orbital_bombardment" />
     <KeyWord name="pop_modifier" />
     <KeyWord name="slavery_ethos" />
     <KeyWord name="home_system" />
     <KeyWord name="custom_diplomacy" />
     <KeyWord name="targets" />
     <KeyWord name="category_value" />
     <KeyWord name="category" />
     <KeyWord name="has_leaders" />
     <KeyWord name="influence_cost" />
     <KeyWord name="length" />
     <KeyWord name="random_weight" />
     <KeyWord name="value" />
     <KeyWord name="opposite_dislike" />
     <KeyWord name="counter" />
     <KeyWord name="spawn_chance" />
     <KeyWord name="area" />
     <KeyWord name="tier" />
     <KeyWord name="prereqfor_desc" />
     <KeyWord name="feature_flags" />
     <KeyWord name="weight_modifier" />
     <KeyWord name="start_tech" />
     <KeyWord name="cost_per_level" />
     <KeyWord name="levels" />
     <KeyWord name="weight_groups" />
     <KeyWord name="mod_weight_if_group_picked" />
     <KeyWord name="repeatable" />
     <KeyWord name="ai_update_type" />
     <KeyWord name="icon_frame" />
     <KeyWord name="possible" />
     <KeyWord name="war_economy_modifier" />
     <KeyWord name="scope" />
     <KeyWord name="initial" />
     <KeyWord name="base" />
     <KeyWord name="warscore_cost" />
     <KeyWord name="scaled_modifier" />
     <KeyWord name="calc" />
     <KeyWord name="who" />
     <KeyWord name="side" />
     <KeyWord name="attacker" />
     <KeyWord name="defender" />
     <KeyWord name="execution_order" />
     <KeyWord name="overlord" />
     <KeyWord name="parameters" />
     <KeyWord name="subject_type" />
     <KeyWord name="type" />
     <KeyWord name="effect" />
     <KeyWord name="amount" />
     <KeyWord name="counters" />
     <KeyWord name="proposable" />
     <KeyWord name="context" />
     <KeyWord name="num_owned_planets" />
     <KeyWord name="selectable" />
     <KeyWord name="entity" />
     <KeyWord name="show_name" />
     <KeyWord name="tooltip" />
     <KeyWord name="description" />
     <KeyWord name="leader_class" />

     <KeyWord name="THESE_ARE_MODIFIERS" />
     <KeyWord name="army_upkeep_mult" />
     <KeyWord name="max_rivalries" />
     <KeyWord name="ship_reparation_cost_mult" />
     <KeyWord name="resource_society_research_add" />
     <KeyWord name="country_resource_energy_add" />
     <KeyWord name="country_resource_minerals_add" />
     <KeyWord name="planet_fortification_strength" />
     <KeyWord name="shipsize_corvette_construction_speed_mult" />
     <KeyWord name="weapon_type_energy_weapon_damage_mult" />
     <KeyWord name="shipsize_destroyer_construction_speed_mult" />
     <KeyWord name="ship_interstellar_speed_mult" />
     <KeyWord name="shipsize_colonizer_construction_speed_mult" />
     <KeyWord name="ship_accuracy_add" />
     <KeyWord name="ship_evasion_add" />
     <KeyWord name="shipsize_cruiser_construction_speed_mult" />
     <KeyWord name="shipsize_battleship_construction_speed_mult" />
     <KeyWord name="ship_weapon_range_mult" />
     <KeyWord name="shipsize_military_station_small_build_cost_mult" />
     <KeyWord name="species_leader_exp_gain" />
     <KeyWord name="edict_influence_cost" />
     <KeyWord name="ship_anomaly_fail_risk" />
     <KeyWord name="ship_anomaly_research_speed_mult" />
     <KeyWord name="category_military_theory_research_speed_mult" />
     <KeyWord name="category_new_worlds_research_speed_mult" />
     <KeyWord name="category_psionics_research_speed_mult" />
     <KeyWord name="category_computing_research_speed_mult" />
     <KeyWord name="category_particles_research_speed_mult" />
     <KeyWord name="category_field_manipulation_research_speed_mult" />
     <KeyWord name="category_voidcraft_research_speed_mult" />
     <KeyWord name="category_rocketry_research_speed_mult" />
     <KeyWord name="country_leader_pool_size" />
     <KeyWord name="influence_gain_add" />
     <KeyWord name="influence_gain_mult" />
     <KeyWord name="weapon_type_strike_craft_weapon_fire_rate_mult" />
     <KeyWord name="leader_influence_cost" />
     <KeyWord name="country_leader_cap" />
     <KeyWord name="country_core_sector_planet_cap" />
     <KeyWord name="planet_army_build_cost_mult" />
     <KeyWord name="leader_skill_levels" />
     <KeyWord name="country_resettlement_cost_mult" />
     <KeyWord name="num_tech_alternatives_add" />
     <KeyWord name="ship_upkeep_mult" />
     <KeyWord name="building_mining_network_1_build_cost_mult" />
     <KeyWord name="shipsize_constructor_build_cost_mult" />
     <KeyWord name="spaceport_ship_build_cost_mult" />
     <KeyWord name="pop_other_species_happiness" />
     <KeyWord name="country_border_mult" />
     <KeyWord name="leader_age" />
     <KeyWord name="army_health" />
     <KeyWord name="shipsize_mining_station_build_cost_mult" />
     <KeyWord name="edict_length_mult" />
     <KeyWord name="country_sector_cap_add" />
     <KeyWord name="weapon_type_strike_craft_weapon_damage_mult" />
     <KeyWord name="weapon_type_kinetic_weapon_fire_rate_mult" />
     <KeyWord name="weapon_type_kinetic_weapon_damage_mult" />
     <KeyWord name="weapon_type_explosive_weapon_fire_rate_mult" />
     <KeyWord name="weapon_type_explosive_weapon_damage_mult" />
     <KeyWord name="ship_armor_mult" />
     <KeyWord name="ship_hitpoints_mult" />
     <KeyWord name="shipclass_military_station_hit_points_mult" />
     <KeyWord name="pop_food_req_mult" />
     <KeyWord name="pop_slavery_tolerance" />
     <KeyWord name="tile_resource_engineering_research_mult" />
     <KeyWord name="tile_resource_society_research_mult" />
     <KeyWord name="tile_resource_physics_research_mult" />
     <KeyWord name="pop_xenophobia" />
     <KeyWord name="pop_growth_req_mult" />
     <KeyWord name="planet_migration_xeno_pull" />
     <KeyWord name="planet_ship_build_speed_mult" />
     <KeyWord name="pop_war_happiness" />
     <KeyWord name="alliance_influence_cost" />
     <KeyWord name="rivalry_influence_gain" />
     <KeyWord name="pop_alien_slavery_tolerance" />
     <KeyWord name="spaceport_module_cost_mult" />
     <KeyWord name="planet_migration_all_pull" />
     <KeyWord name="planet_sensor_range_mult" />
     <KeyWord name="category_materials_research_speed_mult" />
     <KeyWord name="category_industry_research_speed_mult" />
     <KeyWord name="category_statecraft_research_speed_mult" />
     <KeyWord name="category_biology_research_speed_mult" />
     <KeyWord name="ship_fire_rate_mult" />
     <KeyWord name="ship_weapon_damage" />
     <KeyWord name="max_minerals" />
     <KeyWord name="pop_ethic_shift" />
     <KeyWord name="pop_happiness" />
     <KeyWord name="tile_resource_minerals_mult" />
     <KeyWord name="tile_resource_food_mult" />
     <KeyWord name="pop_environment_tolerance" />
     <KeyWord name="army_damage_mult" />
     <KeyWord name="planet_army_build_speed_mult" />
     <KeyWord name="all_technology_research_speed" />
     <KeyWord name="science_ship_survey_speed" />
     <KeyWord name="ship_anomaly_generation_chance_mult" />
     <KeyWord name="country_engineering_tech_research_speed" />
     <KeyWord name="country_society_tech_research_speed" />
     <KeyWord name="country_physics_tech_research_speed" />
     <KeyWord name="tile_resource_energy_mult" />
     <KeyWord name="navy_size_mult" />
     <KeyWord name="ship_reparation_speed_mult" />
     <KeyWord name="country_ship_upgrade_cost_mult" />
     <KeyWord name="slave_production_output" />
     <KeyWord name="slave_food_output" />
     <KeyWord name="pop_robot_production_output" />
     <KeyWord name="planet_building_cost_mult" />
     <KeyWord name="building_time_mult" />
     <KeyWord name="max_embassies" />
     <KeyWord name="country_trade_attractiveness" />
     <KeyWord name="navy_size_add" />
     <KeyWord name="shipclass_military_station_damage_mult" />
     <KeyWord name="max_rivalries" />
     <KeyWord name="max_embassies" />
     <KeyWord name="all_technology_research_speed" />
     <KeyWord name="influence_gain_mult" />
     <KeyWord name="influence_gain_add" />
     <KeyWord name="country_sector_cap_add" />
     <KeyWord name="country_leader_cap" />
     <KeyWord name="country_leader_pool_size" />
     <KeyWord name="country_trade_attractiveness" />
     <KeyWord name="country_core_sector_planet_cap" />
     <KeyWord name="country_resettlement_cost_mult" />
     <KeyWord name="country_ship_upgrade_cost_mult" />
     <KeyWord name="country_engineering_tech_research_speed" />
     <KeyWord name="country_society_tech_research_speed" />
     <KeyWord name="country_physics_tech_research_speed" />
     <KeyWord name="category_biology_research_speed_mult" />
     <KeyWord name="category_statecraft_research_speed_mult" />
     <KeyWord name="category_industry_research_speed_mult" />
     <KeyWord name="category_materials_research_speed_mult" />
     <KeyWord name="category_rocketry_research_speed_mult" />
     <KeyWord name="category_voidcraft_research_speed_mult" />
     <KeyWord name="category_field_manipulation_research_speed_mult" />
     <KeyWord name="category_particles_research_speed_mult" />
     <KeyWord name="category_computing_research_speed_mult" />
     <KeyWord name="category_psionics_research_speed_mult" />
     <KeyWord name="category_new_worlds_research_speed_mult" />
     <KeyWord name="category_military_theory_research_speed_mult" />
     <KeyWord name="science_ship_survey_speed" />
     <KeyWord name="ship_anomaly_research_speed_mult" />
     <KeyWord name="ship_anomaly_generation_chance_mult" />
     <KeyWord name="ship_anomaly_fail_risk" />
     <KeyWord name="ship_anomaly_research_speed_mult" />
     <KeyWord name="leader_age" />
     <KeyWord name="leader_influence_cost" />
     <KeyWord name="leader_skill_levels" />
     <KeyWord name="max_minerals" />
     <KeyWord name="num_tech_alternatives_add" />
     <KeyWord name="edict_influence_cost" />
     <KeyWord name="edict_length_mult" />
     <KeyWord name="species_leader_exp_gain" />
     <KeyWord name="shipsize_military_station_small_build_cost_mult" />
     <KeyWord name="shipsize_military_station_medium_build_cost_mult" />
     <KeyWord name="shipsize_military_station_large_build_cost_mult" />
     <KeyWord name="shipsize_military_station_small_upkeep_mult" />
     <KeyWord name="shipsize_military_station_medium_upkeep_mult" />
     <KeyWord name="shipsize_military_station_large_upkeep_mult" />
     <KeyWord name="shipsize_constructor_build_cost_mult" />
     <KeyWord name="shipsize_mining_station_build_cost_mult" />
     <KeyWord name="shipsize_colonizer_build_cost_mult" />
     <KeyWord name="shipsize_terraform_station_build_cost_mult" />
     <KeyWord name="shipsize_orbital_station_build_cost_mult" />
     <KeyWord name="shipsize_outpost_station_build_cost_mult" />
     <KeyWord name="shipsize_corvette_build_cost_mult" />
     <KeyWord name="shipsize_destroyer_build_cost_mult" />
     <KeyWord name="shipsize_cruiser_build_cost_mult" />
     <KeyWord name="shipsize_battleship_build_cost_mult" />
     <KeyWord name="building_mining_network_1_build_cost_mult" />
     <KeyWord name="spaceport_ship_build_cost_mult" />
     <KeyWord name="spaceport_ship_build_time_mult" />
     <KeyWord name="spaceport_module_cost_mult" />
     <KeyWord name="planet_ship_build_speed_mult" />
     <KeyWord name="planet_army_build_speed_mult" />
     <KeyWord name="planet_army_build_cost_mult" />
     <KeyWord name="planet_building_cost_mult" />
     <KeyWord name="planet_resource_energy_add" />
     <KeyWord name="planet_resource_minerals_add" />
     <KeyWord name="planet_resource_food_add" />
     <KeyWord name="planet_resource_influence_add" />
     <KeyWord name="planet_sensor_range_mult" />
     <KeyWord name="planet_migration_all_pull" />
     <KeyWord name="planet_migration_xeno_pull" />
     <KeyWord name="planet_border_mult" />
     <KeyWord name="planet_clear_blocker_time_mult" />
     <KeyWord name="planet_clear_blocker_cost_mult" />
     <KeyWord name="planet_colony_development_speed_mult" />
     <KeyWord name="terraforming_cost_mult" />
     <KeyWord name="pc_desert_habitability" />
     <KeyWord name="pc_arid_habitability" />
     <KeyWord name="pc_tropical_habitability" />
     <KeyWord name="pc_continental_habitability" />
     <KeyWord name="pc_tundra_habitability" />
     <KeyWord name="pc_ocean_habitability" />
     <KeyWord name="pc_arctic_habitability" />
     <KeyWord name="pc_ai_habitability" />
     <KeyWord name="pc_nuked_habitability" />
     <KeyWord name="pc_gaia_habitability" />
     <KeyWord name="pc_ringworld_habitable_habitability" />
     <KeyWord name="army_health" />
     <KeyWord name="army_damage_mult" />
     <KeyWord name="army_upkeep_mult" />
     <KeyWord name="army_morale" />
     <KeyWord name="army_rank_increase" />
     <KeyWord name="army_defense_morale_mult" />
     <KeyWord name="army_defense_damage_mult" />
     <KeyWord name="army_attack_morale_mult" />
     <KeyWord name="army_attack_damage_mult" />
     <KeyWord name="ship_upkeep_mult" />
     <KeyWord name="ship_fire_rate_mult" />
     <KeyWord name="ship_armor_add" />
     <KeyWord name="ship_hitpoints_add" />
     <KeyWord name="ship_weapon_damage" />
     <KeyWord name="ship_shield_hp_mult" />
     <KeyWord name="ship_evasion_mult" />
     <KeyWord name="ship_combat_speed_mult" />
     <KeyWord name="ship_speed_mult" />
     <KeyWord name="ship_emergency_ftl_mult" />
     <KeyWord name="ship_reparation_speed_mult" />
     <KeyWord name="ship_auto_repair_add" />
     <KeyWord name="ship_sensor_range_mult" />
     <KeyWord name="ship_hitpoints_mult" />
     <KeyWord name="navy_size_add" />
     <KeyWord name="navy_size_mult" />
     <KeyWord name="damage_vs_country_type_amoeba_mult" />
     <KeyWord name="damage_vs_country_type_crystal_mult" />
     <KeyWord name="damage_vs_country_type_drone_mult" />
     <KeyWord name="damage_vs_country_type_cloud_mult" />
     <KeyWord name="damage_vs_country_type_swarm_mult" />
     <KeyWord name="pop_other_species_happiness" />
     <KeyWord name="pop_environment_tolerance" />
     <KeyWord name="pop_slavery_tolerance" />
     <KeyWord name="pop_food_req_mult" />
     <KeyWord name="pop_growth_req_mult" />
     <KeyWord name="pop_growth_req" />
     <KeyWord name="pop_ethic_shift" />
     <KeyWord name="pop_happiness" />
     <KeyWord name="pop_robot_production_output" />
     <KeyWord name="pop_xenophobia" />
     <KeyWord name="pop_alien_slavery_tolerance" />
     <KeyWord name="pop_migration_time" />
     <KeyWord name="pop_eff_wo_slaves" />
     <KeyWord name="pop_fortification_defense" />
     <KeyWord name="slave_production_output" />
     <KeyWord name="slave_food_output" />
     <KeyWord name="pop_war_happiness" />
     <KeyWord name="pop_xenophobia" />
     <KeyWord name="garrison_health" />
     <KeyWord name="tile_resource_minerals_mult" />
     <KeyWord name="tile_resource_food_mult" />
     <KeyWord name="tile_resource_energy_mult" />
     <KeyWord name="tile_resource_physics_research_mult" />
     <KeyWord name="tile_resource_society_research_mult" />
     <KeyWord name="tile_resource_engineering_research_mult" />
     <KeyWord name="building_time_mult" />
     <KeyWord name="alliance_influence_cost" />
     <KeyWord name="rivalry_influence_gain" />
     <KeyWord name="max_energy" />
     <KeyWord name="max_minerals" />
   </AutoComplete>
</NotepadPlus>

Save this as stellaris_autocomplete.xml and copy it into C:\Program Files (x86)\Notepad++\plugins\APIs

In Notepad++:
  1. Settings -> Preferences...
  2. Auto-Completion
  3. Enable auto-completion on each input => yes
  4. Function and word completion => yes
 
  • 1
Reactions:
I've ported this to Atom (or technically TextMate, but haven't tested it with anything but Atom). As Atom languages are a bit more complex, I'd like to upload it to atom.io/packages. Would Paradox be ok with this?

Also, where did you find lists for all the keywords? Figured it'd be good to know for myself when the keywords get updated
 
Last edited:
  • 1
Reactions:
I've ported this to Atom (or technically TextMate, but haven't tested it with anything but Atom). As Atom languages are a bit more complex, I'd like to upload it to atom.io/packages. Would Paradox be ok with this?

Also, where did you find lists for all the keywords? Figured it'd be good to know for myself when the keywords get updated

https://www.reddit.com/r/StellarisM...sts_of_effects_modifiers_scopes_and_triggers/

That link has most of them I think. Also the wiki has some pages on these.
 
Ah, I see. Must say I was hoping for something a little more official than looking through the files, but I guess Paradox hasn't actually released anything?

Well there is a command in stellaris that gives you effects and triggers, which was then used to populate the Wiki. So it is kinda official.

But other than that there is no official documentation.
 
Since my first, somewhat sarcastic post bringing the problem to attention was nuked by a mod who believed it constituted "trollish content," I feel the need to repost and rephrase:

Your use of white background to highlight text produces a visually assaulting effect for anyone and everyone who does not use Notepad++ with a strictly white background, and it adds absolutely nothing to those who do use a white background. It makes focusing on the task of modding Stellaris files next-to-impossible. Please, I would wholeheartedly like to use this syntax highlighting file, but it is impossible to do so in its present state without switching Notepad++ to a white background. It would be far better for you to remove the background highlighting altogether, and use text color alone.
 
The importation fails for me. And N++ gives me not a single information about this. Does it create a log somewhere I could look at ?
 
Is porting this for use in Sublime difficult?
SQL Syntax highlighting is quite enough for modding:
1686f1ef63ab4abca5313521dfafd3cc.png
 
Since my first, somewhat sarcastic post bringing the problem to attention was nuked by a mod who believed it constituted "trollish content," I feel the need to repost and rephrase:

Your use of white background to highlight text produces a visually assaulting effect for anyone and everyone who does not use Notepad++ with a strictly white background, and it adds absolutely nothing to those who do use a white background. It makes focusing on the task of modding Stellaris files next-to-impossible. Please, I would wholeheartedly like to use this syntax highlighting file, but it is impossible to do so in its present state without switching Notepad++ to a white background. It would be far better for you to remove the background highlighting altogether, and use text color alone.

You now, it annoyed me too, so I took the three minutes necessary to fix the issue. All you need to do is set your background color to black in the styler options for each group in the Keyword Lists tab, and set the default foreground color to light grey (or whatever you want). If you're still having problems, just go through the xml file and fix the color values to something that works for you. Next time you feel like going off on someone who's done you a favor, you might take a moment to see if there's an easy fix.
 
  • 1
Reactions: