This commit is contained in:
bacon
2023-08-27 20:01:07 +03:00
parent f3deba9b30
commit 1eec0fba6c
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ function WeaponGenerator.generateSmartCannon(rand, dps, tech, material, rarity)
weapon.seeker = 1
weapon.appearance = WeaponAppearance.Cannon
weapon.name = "SmartCannon /* Weapon Name*/"%_t
weapon.prefix = "SmartCannon /* Weapon Prefix*/"%_t
-- weapon.prefix = "SmartCannon /* Weapon Prefix*/"%_t
weapon.icon = "data/textures/icons/autocannon.png"
weapon.sound = "cannon"
weapon.accuracy = 0.99 - rand:getFloat(0, 0.03)
@@ -157,7 +157,7 @@ generatorFunction[WeaponType.Diffuser] = WeaponGenerator.generateDiffuser
function WeaponGenerator.generateHarpoon(rand, dps, tech, material, rarity)
function WeaponGenerator.generateHookgun(rand, dps, tech, material, rarity)
local weapon = Weapon()
weapon:setBeam()
@@ -207,4 +207,4 @@ function WeaponGenerator.generateHarpoon(rand, dps, tech, material, rarity)
return weapon
end
generatorFunction[WeaponType.Harpoon] = WeaponGenerator.generateHarpoon
generatorFunction[WeaponType.Hookgun] = WeaponGenerator.generateHookgun