Rename mystery core to anomaly core

This commit is contained in:
GreenComfyTea
2023-06-07 19:44:41 +03:00
parent e51185892a
commit 788152aecd
10 changed files with 14 additions and 14 deletions

View File

@@ -64,7 +64,7 @@ this.damage_types = {
["blast"] = "blast",
["otomo_blast"] = "otomo_blast",
["endemic_life"] = "endemic_life",
["mystery_core"] = "mystery_core",
["anomaly_core"] = "anomaly_core",
["other"] = "other"
};
@@ -316,8 +316,8 @@ function this.update_display(player)
this.merge_damage(player.display, monster_type.endemic_life);
end
if cached_config.tracked_damage_types.mystery_cores then
this.merge_damage(player.display, monster_type.mystery_core);
if cached_config.tracked_damage_types.anomaly_cores then
this.merge_damage(player.display, monster_type.anomaly_core);
end
if cached_config.tracked_damage_types.other then

View File

@@ -1495,7 +1495,7 @@ function this.init_default()
},
body_parts = {
visibility = true,
visibility = false,
offset = {
x = 10,
@@ -5927,7 +5927,7 @@ function this.init_default()
poison = true,
blast = true,
endemic_life = true,
mystery_cores = true,
anomaly_cores = true,
other = true -- note that installations during narwa fight are counted as other damage
},

View File

@@ -387,7 +387,7 @@ this.default_language = {
poison = "Poison",
blast = "Blast",
endemic_life = "Endemic Life",
mystery_cores = "Anomaly Cores",
anomaly_cores = "Anomaly Cores",
other = "Other",
damage = "Damage",

View File

@@ -1794,8 +1794,8 @@ function this.draw_damage_meter_UI()
config_changed = config_changed or changed;
damage_display_changed = damage_display_changed or changed;
changed, cached_config.tracked_damage_types.mystery_cores = imgui.checkbox(
language.current_language.customization_menu.mystery_cores, cached_config.tracked_damage_types.mystery_cores);
changed, cached_config.tracked_damage_types.anomaly_cores = imgui.checkbox(
language.current_language.customization_menu.anomaly_cores, cached_config.tracked_damage_types.anomaly_cores);
config_changed = config_changed or changed;
damage_display_changed = damage_display_changed or changed;