规范化config命名
This commit is contained in:
parent
8e89460abc
commit
e79fcf88ee
2 changed files with 25 additions and 25 deletions
|
@ -21,53 +21,53 @@ public class CannonConfig {
|
||||||
public static ForgeConfigSpec.IntValue MLE1934_HE_EXPLOSION_RADIUS;
|
public static ForgeConfigSpec.IntValue MLE1934_HE_EXPLOSION_RADIUS;
|
||||||
|
|
||||||
public static void init(ForgeConfigSpec.Builder builder) {
|
public static void init(ForgeConfigSpec.Builder builder) {
|
||||||
builder.push("MK-42");
|
builder.push("mk_42");
|
||||||
|
|
||||||
builder.comment("The HealthPoint of MK-42");
|
builder.comment("The HealthPoint of MK-42");
|
||||||
MK42_HP = builder.defineInRange("Mk-42 HP", 500, 1, 10000000);
|
MK42_HP = builder.defineInRange("mk_42_hp", 500, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The AP shell damage of MK-42");
|
builder.comment("The AP shell damage of MK-42");
|
||||||
MK42_AP_DAMAGE = builder.defineInRange("Mk-42 AP damage", 300, 1, 10000000);
|
MK42_AP_DAMAGE = builder.defineInRange("mk_42_ap_damage", 300, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The AP shell explosion damage of MK-42");
|
builder.comment("The AP shell explosion damage of MK-42");
|
||||||
MK42_AP_EXPLOSION_DAMAGE = builder.defineInRange("Mk-42 AP explosion damage", 120, 1, 10000000);
|
MK42_AP_EXPLOSION_DAMAGE = builder.defineInRange("mk_42_ap_explosion_damage", 120, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The AP shell explosion radius of MK-42");
|
builder.comment("The AP shell explosion radius of MK-42");
|
||||||
MK42_AP_EXPLOSION_RADIUS = builder.defineInRange("Mk-42 AP explosion radius", 3, 1, 50);
|
MK42_AP_EXPLOSION_RADIUS = builder.defineInRange("mk_42_ap_explosion_radius", 3, 1, 50);
|
||||||
|
|
||||||
builder.comment("The HE shell damage of MK-42");
|
builder.comment("The HE shell damage of MK-42");
|
||||||
MK42_HE_DAMAGE = builder.defineInRange("Mk-42 HE damage", 150, 1, 10000000);
|
MK42_HE_DAMAGE = builder.defineInRange("mk_42_he_damage", 150, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The HE shell explosion damage of MK-42");
|
builder.comment("The HE shell explosion damage of MK-42");
|
||||||
MK42_HE_EXPLOSION_DAMAGE = builder.defineInRange("Mk-42 HE explosion damage", 200, 1, 10000000);
|
MK42_HE_EXPLOSION_DAMAGE = builder.defineInRange("mk_42_he_explosion_damage", 200, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The HE shell explosion radius of MK-42");
|
builder.comment("The HE shell explosion radius of MK-42");
|
||||||
MK42_HE_EXPLOSION_RADIUS = builder.defineInRange("Mk-42 HE explosion radius", 10, 1, 50);
|
MK42_HE_EXPLOSION_RADIUS = builder.defineInRange("mk_42_he_explosion_radius", 10, 1, 50);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
||||||
builder.push("MLE-1934");
|
builder.push("mle_1934");
|
||||||
|
|
||||||
builder.comment("The HealthPoint of MLE-1934");
|
builder.comment("The HealthPoint of MLE-1934");
|
||||||
MLE1934_HP = builder.defineInRange("MLE-1934 HP", 600, 1, 10000000);
|
MLE1934_HP = builder.defineInRange("mle_1934_hp", 600, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The AP shell damage of MLE-1934");
|
builder.comment("The AP shell damage of MLE-1934");
|
||||||
MLE1934_AP_DAMAGE = builder.defineInRange("MLE-1934 AP damage", 350, 1, 10000000);
|
MLE1934_AP_DAMAGE = builder.defineInRange("mle_1934_ap_damage", 350, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The AP shell explosion damage of MLE-1934");
|
builder.comment("The AP shell explosion damage of MLE-1934");
|
||||||
MLE1934_AP_EXPLOSION_DAMAGE = builder.defineInRange("MLE-1934 AP explosion damage", 150, 1, 10000000);
|
MLE1934_AP_EXPLOSION_DAMAGE = builder.defineInRange("mle_1934_ap_explosion_damage", 150, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The AP shell explosion radius of MLE-1934");
|
builder.comment("The AP shell explosion radius of MLE-1934");
|
||||||
MLE1934_AP_EXPLOSION_RADIUS = builder.defineInRange("MLE-1934 AP explosion radius", 4, 1, 50);
|
MLE1934_AP_EXPLOSION_RADIUS = builder.defineInRange("mle_1934_ap_explosion_radius", 4, 1, 50);
|
||||||
|
|
||||||
builder.comment("The HE shell damage of MLE-1934");
|
builder.comment("The HE shell damage of MLE-1934");
|
||||||
MLE1934_HE_DAMAGE = builder.defineInRange("MLE-1934 HE damage", 180, 1, 10000000);
|
MLE1934_HE_DAMAGE = builder.defineInRange("mle_1934_he_damage", 180, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The HE shell explosion damage of MLE-1934");
|
builder.comment("The HE shell explosion damage of MLE-1934");
|
||||||
MLE1934_HE_EXPLOSION_DAMAGE = builder.defineInRange("MLE-1934 HE explosion damage", 240, 1, 10000000);
|
MLE1934_HE_EXPLOSION_DAMAGE = builder.defineInRange("mle_1934_he_explosion_damage", 240, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The HE shell explosion radius of MLE-1934");
|
builder.comment("The HE shell explosion radius of MLE-1934");
|
||||||
MLE1934_HE_EXPLOSION_RADIUS = builder.defineInRange("MLE-1934 HE explosion radius", 12, 1, 50);
|
MLE1934_HE_EXPLOSION_RADIUS = builder.defineInRange("mle_1934_he_explosion_radius", 12, 1, 50);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,10 +31,10 @@ public class ExplosionConfig {
|
||||||
builder.push("RGO Grenade");
|
builder.push("RGO Grenade");
|
||||||
|
|
||||||
builder.comment("The explosion damage of RGO grenade");
|
builder.comment("The explosion damage of RGO grenade");
|
||||||
RGO_GRENADE_EXPLOSION_DAMAGE = builder.defineInRange("Rgo grenade explosion damage", 90, 1, 10000000);
|
RGO_GRENADE_EXPLOSION_DAMAGE = builder.defineInRange("rgo_grenade_explosion_damage", 90, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The explosion radius of RGO grenade");
|
builder.comment("The explosion radius of RGO grenade");
|
||||||
RGO_GRENADE_EXPLOSION_RADIUS = builder.defineInRange("Rgo grenade explosion radius", 5, 1, 50);
|
RGO_GRENADE_EXPLOSION_RADIUS = builder.defineInRange("rgo_grenade_explosion_radius", 5, 1, 50);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
||||||
|
@ -42,10 +42,10 @@ public class ExplosionConfig {
|
||||||
builder.push("M67 Grenade");
|
builder.push("M67 Grenade");
|
||||||
|
|
||||||
builder.comment("The explosion damage of M67 grenade");
|
builder.comment("The explosion damage of M67 grenade");
|
||||||
M67_GRENADE_EXPLOSION_DAMAGE = builder.defineInRange("Rgo grenade explosion damage", 120, 1, 10000000);
|
M67_GRENADE_EXPLOSION_DAMAGE = builder.defineInRange("m67_grenade_explosion_damage", 120, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The explosion radius of M67 grenade");
|
builder.comment("The explosion radius of M67 grenade");
|
||||||
M67_GRENADE_EXPLOSION_RADIUS = builder.defineInRange("Rgo grenade explosion radius", 6, 1, 50);
|
M67_GRENADE_EXPLOSION_RADIUS = builder.defineInRange("m67_grenade_explosion_radius", 6, 1, 50);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
||||||
|
@ -53,23 +53,23 @@ public class ExplosionConfig {
|
||||||
builder.push("Mortar shell");
|
builder.push("Mortar shell");
|
||||||
|
|
||||||
builder.comment("The explosion damage of Mortar shell");
|
builder.comment("The explosion damage of Mortar shell");
|
||||||
MORTAR_SHELL_EXPLOSION_DAMAGE = builder.defineInRange("Rgo grenade explosion damage", 160, 1, 10000000);
|
MORTAR_SHELL_EXPLOSION_DAMAGE = builder.defineInRange("mortar_shell_explosion_damage", 160, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The explosion radius of Mortar shell");
|
builder.comment("The explosion radius of Mortar shell");
|
||||||
MORTAR_SHELL_EXPLOSION_RADIUS = builder.defineInRange("Rgo grenade explosion radius", 9, 1, 50);
|
MORTAR_SHELL_EXPLOSION_RADIUS = builder.defineInRange("mortar_shell_explosion_radius", 9, 1, 50);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
||||||
builder.push("Drone Kamikaze");
|
builder.push("Drone Kamikaze");
|
||||||
|
|
||||||
builder.comment("The hit damage of Drone Kamikaze");
|
builder.comment("The hit damage of Drone Kamikaze");
|
||||||
DRONE_KAMIKAZE_HIT_DAMAGE = builder.defineInRange("Drone Kamikaze explosion damage", 300, 1, 10000000);
|
DRONE_KAMIKAZE_HIT_DAMAGE = builder.defineInRange("drone_kamikaze_hit_damage", 300, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The explosion damage of Drone Kamikaze");
|
builder.comment("The explosion damage of Drone Kamikaze");
|
||||||
DRONE_KAMIKAZE_EXPLOSION_DAMAGE = builder.defineInRange("Drone Kamikaze explosion damage", 160, 1, 10000000);
|
DRONE_KAMIKAZE_EXPLOSION_DAMAGE = builder.defineInRange("drone_kamikaze_explosion_damage", 160, 1, 10000000);
|
||||||
|
|
||||||
builder.comment("The explosion radius of Drone Kamikaze");
|
builder.comment("The explosion radius of Drone Kamikaze");
|
||||||
DRONE_KAMIKAZE_EXPLOSION_RADIUS = builder.defineInRange("Drone Kamikaze explosion radius", 9, 1, 50);
|
DRONE_KAMIKAZE_EXPLOSION_RADIUS = builder.defineInRange("drone_kamikaze_explosion_radius", 9, 1, 50);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue