Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if mods["Krastorio"] then
- data.raw["electric-turret"]["laser-turret"].attack_parameters.cooldown = 20
- data.raw["electric-turret"]["laser-turret"].attack_parameters.range = 30
- data.raw["electric-turret"]["laser-turret"].attack_parameters.damage_modifier = 5
- data.raw["electric-turret"]["laser-turret"].attack_parameters.sound =
- {
- filename = "__base__/sound/fight/pulse.ogg",
- volume = 0.75
- }
- data.raw["electric-turret"]["laser-turret"].attack_parameters.ammo_type.energy_consumption = "3MJ"
- data.raw["electric-turret"]["laser-turret"].attack_parameters.ammo_type.action[1].action_delivery.max_length = 35
- data.raw["electric-turret"]["laser-turret"].attack_parameters.ammo_type.action[2].action_delivery.max_length = 35
- end
- if mods["Turret_Range_Buff"] then
- data.raw["electric-turret"]["laser-turret"].attack_parameters.range = 32
- end
- --if settings.startup["laserfix-equipment"].value == "Some flickering" then
- data.raw["active-defense-equipment"]["personal-laser-defense-equipment"].attack_parameters =
- {
- type = "beam",
- cooldown = 20,
- range = 15,
- --source_direction_count = 64,
- --source_offset = {0, -3.423489 / 4},
- damage_modifier = 4,
- ammo_type =
- {
- category = "laser-turret",
- energy_consumption = "50kJ",
- action =
- {
- {
- type = "direct",
- action_delivery =
- {
- type = "beam",
- beam = "laser-beam",
- max_length = 15,
- duration = 20,
- source_offset = {0, -1.31439 }
- }
- },
- {
- type = "direct",
- action_delivery =
- {
- type = "beam",
- beam = "laser-beam-light",
- max_length = 15,
- duration = 20,
- source_offset = {0, 0.0 }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement