Use Buff Filter Name frrom Localization File

+ Sort Names in English + Use NotoSans-Bold as Default Font
This commit is contained in:
GreenComfyTea
2023-10-09 14:58:10 +03:00
parent 423635400c
commit 1f3a7d2bf8
17 changed files with 1407 additions and 276 deletions

View File

@@ -45,26 +45,26 @@ local package = package;
this.list = {
dango_adrenaline = nil,
dango_booster = nil,
dango_connector = nil,
dango_defender = nil,
dango_flyer = nil,
dango_glutton = nil,
dango_hunter = nil,
dango_insurance = nil,
dango_insurance_defense_up = nil,
dango_glutton = nil,
dango_flyer = nil,
dango_defender = nil,
dango_hunter = nil,
dango_connector = nil,
super_recovery_dango = nil
};
this.keys = {
"dango_adrenaline",
"dango_booster",
"dango_connector",
"dango_defender",
"dango_flyer",
"dango_glutton",
"dango_hunter",
"dango_insurance",
"dango_insurance_defense_up",
"dango_glutton",
"dango_flyer",
"dango_defender",
"dango_hunter",
"dango_connector",
"super_recovery_dango"
};

View File

@@ -45,11 +45,11 @@ local ValueType = ValueType;
local package = package;
this.list = {
cutterfly = nil,
clothfly = nil,
stinkmink = nil,
butterflame = nil,
-- peepersects = nil,
cutterfly = nil,
stinkmink = nil,
ruby_wirebug = nil,
gold_wirebug = nil,
red_lampsquid = nil,
@@ -57,11 +57,11 @@ this.list = {
};
this.keys = {
"cutterfly",
"clothfly",
"stinkmink",
"butterflame",
-- "peepersects",
"cutterfly",
"stinkmink",
"ruby_wirebug",
"gold_wirebug",
"red_lampsquid",

View File

@@ -54,6 +54,8 @@ this.list = {
-- immunizer = nil,
-- dash_juice = nil,
gourmet_fish = nil,
demon_ammo = nil,
armor_ammo = nil
};
this.keys = {
@@ -68,6 +70,8 @@ this.keys = {
-- "immunizer",
-- "dash_juice",
"gourmet_fish",
"demon_ammo",
"armor_ammo"
};
local item_ids = {
@@ -76,11 +80,11 @@ local item_ids = {
armorskin = 68157922,
mega_armorskin = 68157923,
might_seed = 68157919,
adamant_seed = 68157924,
-- adamant_seed = 68157924,
demon_powder = 68157920,
hardshell_powder = 68157925,
immunizer = 68157911,
dash_juice = 68157913,
-- immunizer = 68157911,
-- dash_juice = 68157913,
gourmet_fish = 68157909,
demon_ammo = 68157595,
armor_ammo = 68157596

View File

@@ -46,15 +46,15 @@ local ValueType = ValueType;
local package = package;
this.list = {
rousing_roar = nil,
go_fight_win = nil,
power_drum = nil
power_drum = nil,
rousing_roar = nil
};
this.keys = {
"rousing_roar",
"go_fight_win",
"power_drum"
"power_drum",
"rousing_roar"
};
local otomo_moves_ids = {

View File

@@ -46,13 +46,13 @@ local ValueType = ValueType;
local package = package;
this.list = {
chameleos_soul = nil,
kushala_daora_soul = nil,
chameleos_soul = nil
};
this.keys = {
"chameleos_soul",
"kushala_daora_soul",
"chameleos_soul"
};
local rampage_skill_ids = {

View File

@@ -46,85 +46,85 @@ local ValueType = ValueType;
local package = package;
this.list = {
burst = nil,
intrepid_heart = nil,
dereliction = nil,
latent_power = nil,
protective_polish = nil,
wind_mantle = nil,
grinder_s = nil,
counterstrike = nil,
affinity_sliding = nil,
coalescence = nil,
adrenaline_rush = nil,
wall_runner = nil,
offensive_guard = nil,
hellfire_cloak = nil,
affinity_sliding = nil,
agitator = nil,
furious = nil,
status_trigger = nil,
heaven_sent = nil,
heroics = nil,
resuscitate = nil,
maximum_might = nil,
bloodlust = nil,
frenzied_bloodlust = nil,
peak_performance = nil,
dragonheart = nil,
resentment = nil,
bladescale_hone = nil,
spiribirds_call = nil,
embolden = nil,
berserk = nil,
powder_mantle_red = nil,
powder_mantle_blue = nil,
strife = nil,
inspiration = nil,
bladescale_hone = nil,
blood_awakening = nil,
bloodlust = nil,
burst = nil,
coalescence = nil,
counterstrike = nil,
dereliction = nil,
dragon_conversion_elemental_attack_up = nil,
dragon_conversion_elemental_res_up = nil,
dragonheart = nil,
embolden = nil,
frenzied_bloodlust = nil,
furious = nil,
grinder_s = nil,
heaven_sent = nil,
hellfire_cloak = nil,
heroics = nil,
inspiration = nil,
intrepid_heart = nil,
latent_power = nil,
maximum_might = nil,
offensive_guard = nil,
partbreaker = nil,
peak_performance = nil,
powder_mantle_red = nil,
powder_mantle_blue = nil,
protective_polish = nil,
resentment = nil,
resuscitate = nil,
spiribirds_call = nil,
status_trigger = nil,
strife = nil,
wall_runner = nil,
wind_mantle = nil,
};
this.keys = {
"burst",
"intrepid_heart",
"dereliction",
"latent_power",
"protective_polish",
"wind_mantle",
"grinder_s",
"counterstrike",
"affinity_sliding",
"coalescence",
"adrenaline_rush",
"wall_runner",
"offensive_guard",
"hellfire_cloak",
"affinity_sliding",
"agitator",
"furious",
"status_trigger",
"heaven_sent",
"heroics",
"resuscitate",
"maximum_might",
"bloodlust",
"frenzied_bloodlust",
"peak_performance",
"dragonheart",
"resentment",
"bladescale_hone",
"spiribirds_call",
"embolden",
"berserk",
"powder_mantle_red",
"powder_mantle_blue",
"strife",
"inspiration",
"bladescale_hone",
"blood_awakening",
"bloodlust",
"burst",
"coalescence",
"counterstrike",
"dereliction",
"dragon_conversion_elemental_attack_up",
"dragon_conversion_elemental_res_up",
"partbreaker"
"dragonheart",
"embolden",
"frenzied_bloodlust",
"furious",
"grinder_s",
"heaven_sent",
"hellfire_cloak",
"heroics",
"inspiration",
"intrepid_heart",
"latent_power",
"maximum_might",
"offensive_guard",
"partbreaker",
"peak_performance",
"powder_mantle_red",
"powder_mantle_blue",
"protective_polish",
"resentment",
"resuscitate",
"spiribirds_call",
"status_trigger",
"strife",
"wall_runner",
"wind_mantle"
};
local skills_type_name = "skills";
@@ -851,7 +851,6 @@ end
function this.get_skill_name(key)
local skill_data = skill_data_list[key];
if skill_data == nil then
local skill_name = language.current_language.skills[key];

View File

@@ -110,9 +110,9 @@ this.keys = {
{
key = "long_sword",
skill_keys = {
"spirit_gauge_autofill", -- Soaring Kick, Iai Slash
"harvest_moon",
"spirit_gauge",
"harvest_moon"
"spirit_gauge_autofill", -- Soaring Kick, Iai Slash
}
},
-- Sword & Shield
@@ -126,8 +126,8 @@ this.keys = {
{
key = "dual_blades",
skill_keys = {
"archdemon_mode",
"ironshine_silk",
"archdemon_mode"
}
},
-- Lance
@@ -143,8 +143,9 @@ this.keys = {
{
key = "gunlance",
skill_keys = {
"erupting_cannon",
"ground_splitter",
"erupting_cannon"
}
},
-- Hammer
@@ -158,8 +159,8 @@ this.keys = {
{
key = "hunting_horn",
skill_keys = {
"silkbind_shockwave",
"bead_of_resonance",
"silkbind_shockwave",
"sonic_bloom"
}
},
@@ -168,8 +169,8 @@ this.keys = {
key = "switch_axe",
skill_keys = {
"amped_state",
"axe_heavy_slam",
"switch_charger",
"axe_heavy_slam"
}
},
-- Charge Blade
@@ -203,9 +204,9 @@ this.keys = {
key = "heavy_bowgun",
skill_keys = {
"counter_charger",
"overheat",
"rising_moon",
"setting_sun",
"overheat",
"wyvernsnipe_reload"
}
},
@@ -213,10 +214,10 @@ this.keys = {
{
key = "bow",
skill_keys = {
"herculean_draw",
"bolt_boost",
"arc_shot_affinity",
"arc_shot_brace"
"arc_shot_brace",
"bolt_boost",
"herculean_draw",
}
}
};
@@ -1057,7 +1058,8 @@ function this.init_names()
end
function this.get_weapon_skill_name(weapon_skill_key)
if weapon_skill_ids[weapon_skill_key] == nil then
local weapon_skill_id = weapon_skill_ids[weapon_skill_key];
if weapon_skill_id == nil then
local weapon_skill_name = language.current_language.weapon_skills[weapon_skill_key];
if weapon_skill_name == nil then
@@ -1067,7 +1069,7 @@ function this.get_weapon_skill_name(weapon_skill_key)
return weapon_skill_name;
end
local weapon_skill_name = get_name_method:call(nil, weapon_skill_ids[weapon_skill_key]);
local weapon_skill_name = get_name_method:call(nil, weapon_skill_id);
if weapon_skill_name == nil then
error_handler.report("weapon_skills.get_weapon_skill_name", string.format("Failed to access Data: %s_name", weapon_skill_key));
return weapon_skill_key;