def _write_tech_tier_events_mod_file(mod_dir, events_str):
    write_file(f"{mod_dir}/tech_tier_events/events/tech_tier_events.txt",
               events_str, "utf-8", '\r\n')
Ejemplo n.º 2
0
def _write_horizonsignal_localisation_mod_file(mod_dir, language, better_horizonsignal_loc_str):
    write_file(f"{mod_dir}/better_tech_info/localisation/{language}/horizonsignal_l_{language}.yml", better_horizonsignal_loc_str)
def _write_localisation_mod_file(mod_dir, language, generic_str):
    str = re.sub("l_english:", f"l_{language}:", generic_str)
    write_file(
        f"{mod_dir}/tech_tier_events/localisation/{language}/event_cains_l_{language}_tech_tier_events.yml",
        str)
Ejemplo n.º 4
0
def _write_ancient_relics_localisation_mod_file(mod_dir, language, better_ancient_relics_loc_str):
    write_file(f"{mod_dir}/better_tech_info/localisation/{language}/ancient_relics_l_{language}.yml", better_ancient_relics_loc_str)
Ejemplo n.º 5
0
def _write_distant_stars_localisation_mod_file(mod_dir, language, better_distant_stars_loc_str):
    write_file(f"{mod_dir}/better_tech_info/localisation/{language}/distant_stars_l_{language}.yml", better_distant_stars_loc_str)
Ejemplo n.º 6
0
def _write_apocalypse_localisation_mod_file(mod_dir, language, better_apocalypse_loc_str):
    write_file(f"{mod_dir}/better_tech_info/localisation/{language}/apocalypse_l_{language}.yml", better_apocalypse_loc_str)
Ejemplo n.º 7
0
def _write_megacorp_localisation_mod_file(mod_dir, language, better_megacorp_loc_str):
    write_file(f"{mod_dir}/better_tech_info/localisation/{language}/megacorp_l_{language}.yml", better_megacorp_loc_str)
Ejemplo n.º 8
0
def _write_tech_localisation_mod_file(mod_dir, language, better_tech_loc_str):
    write_file(f"{mod_dir}/better_tech_info/localisation/{language}/technology_l_{language}.yml", better_tech_loc_str)