Skip to content

Commit

Permalink
shotgun ammo types rework
Browse files Browse the repository at this point in the history
also the beginning of slowly reorganizing weaponfactorytweakdata cause god it is a literal dumpsterfire
  • Loading branch information
nikitawastaken committed May 19, 2024
1 parent 114a1a6 commit ac53599
Show file tree
Hide file tree
Showing 4 changed files with 366 additions and 68 deletions.
10 changes: 5 additions & 5 deletions loc/en.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"bm_wp_upg_a_custom_desc": "Bigger pellets with more impact.\nOne shell contains 6 pellets.\nDamage ramps up to 40% in a 3m range.\nDamage falloff starts earlier.",
"bm_wp_upg_a_explosive_desc": "One deadly high explosive slug.\nThis ammo type is harder to find.\nIncreased precision.\nNo damage falloff.",
"bm_wp_upg_a_piercing_desc": "Pointed steel projectiles.\nOne shell contains 12 flechettes.\nArmor piercing.\nDamage falloff starts later.",
"bm_wp_upg_a_slug_desc": "One heavy lead slug.\nHeavily increased precision.\nArmor, shield, enemy, wall piercing.\nNo damage falloff.",
"bm_wp_upg_a_dragons_breath_desc": "Special type of Incendiary-effect rounds.\nOne shell contains 12 magnesium pellets.\nIgnites all enemies within 15m range.\nThis ammo type is harder to find.",
"bm_wp_upg_a_custom_desc": "Bigger pellets with more impact.\nOne shell contains 6 pellets.",
"bm_wp_upg_a_explosive_desc": "One deadly high explosive slug.\nThis ammo type is harder to find.\nIncreased precision.",
"bm_wp_upg_a_piercing_desc": "Pointed steel projectiles.\nOne shell contains 12 flechettes.\nArmor piercing.",
"bm_wp_upg_a_slug_desc": "One heavy lead slug.\nHeavily increased precision.\nArmor, shield, enemy, wall piercing.",
"bm_wp_upg_a_dragons_breath_desc": "Special type of Incendiary-effect rounds.\nOne shell contains 16 magnesium pellets.\nThis ammo type is harder to find.\nThe stronger the shotgun type, the more effective the burn and the range are.",
"bm_wp_upg_mk2_rare_desc": "This fuel is easier to find.",
"bm_wp_upg_mk2_welldone_desc": "This fuel is harder to find.",
"bm_w_hajk": "CR 805B Rifle",
Expand Down
38 changes: 35 additions & 3 deletions lua/firetweakdata.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,47 @@ Hooks:PostHook(FireTweakData, "_init_dot_entries_fire", "eclipse__init_dot_entri
self.dot_entries.fire.weapon_system_low = deep_clone(self.dot_entries.fire.weapon_flamethrower_mk2)
self.dot_entries.fire.weapon_system_high = deep_clone(self.dot_entries.fire.weapon_flamethrower_mk2)

-- db dot (might rework too)
self.dot_entries.fire.ammo_dragons_breath = {
-- Dragon's Breath dot
self.dot_entries.fire.ammo_dragons_breath_vh = {
dot_trigger_chance = 1,
dot_damage = 5,
dot_length = 3,
dot_trigger_max_distance = 3000,
dot_tick_period = 0.25,
}

self.dot_entries.fire.ammo_dragons_breath_h = {
dot_trigger_chance = 0.85,
dot_damage = 4,
dot_length = 3,
dot_trigger_max_distance = 2000,
dot_tick_period = 0.25,
}

self.dot_entries.fire.ammo_dragons_breath = {
dot_trigger_chance = 0.85,
dot_damage = 3,
dot_length = 4,
dot_length = 3,
dot_trigger_max_distance = 1750,
dot_tick_period = 0.25,
}

self.dot_entries.fire.ammo_dragons_breath_l = {
dot_trigger_chance = 0.7,
dot_damage = 2,
dot_length = 3,
dot_trigger_max_distance = 1500,
dot_tick_period = 0.25,
}

self.dot_entries.fire.ammo_dragons_breath_vl = {
dot_trigger_chance = 0.7,
dot_damage = 1,
dot_length = 3,
dot_trigger_max_distance = 1250,
dot_tick_period = 0.25,
}

-- molo dot
self.dot_entries.fire.proj_molotov_groundfire = {
dot_trigger_chance = 1,
Expand Down
Loading

0 comments on commit ac53599

Please sign in to comment.