up
This commit is contained in:
@@ -11,7 +11,7 @@ TurretIngredients[WeaponType.SmartCannon] =
|
|||||||
-- {name = "Targeting System", amount = 0, investable = 2, minimum = 0, turretStat = "automatic", investFactor = 1, changeType = StatChanges.Flat},
|
-- {name = "Targeting System", amount = 0, investable = 2, minimum = 0, turretStat = "automatic", investFactor = 1, changeType = StatChanges.Flat},
|
||||||
}
|
}
|
||||||
|
|
||||||
TurretIngredients[WeaponType.SmartCannon] =
|
TurretIngredients[WeaponType.HeavyCannon] =
|
||||||
{
|
{
|
||||||
{name = "Servo", amount = 8, investable = 8, minimum = 4, weaponStat = "fireRate", investFactor = 1.0, changeType = StatChanges.Percentage},
|
{name = "Servo", amount = 8, investable = 8, minimum = 4, weaponStat = "fireRate", investFactor = 1.0, changeType = StatChanges.Percentage},
|
||||||
{name = "Warhead", amount = 5, investable = 6, minimum = 1, weaponStat = "damage", },
|
{name = "Warhead", amount = 5, investable = 6, minimum = 1, weaponStat = "damage", },
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ function WeaponGenerator.generateSmartCannon(rand, dps, tech, material, rarity)
|
|||||||
weapon.seeker = 1
|
weapon.seeker = 1
|
||||||
weapon.appearance = WeaponAppearance.Cannon
|
weapon.appearance = WeaponAppearance.Cannon
|
||||||
weapon.name = "SmartCannon /* Weapon Name*/"%_t
|
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.icon = "data/textures/icons/autocannon.png"
|
||||||
weapon.sound = "cannon"
|
weapon.sound = "cannon"
|
||||||
weapon.accuracy = 0.99 - rand:getFloat(0, 0.03)
|
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()
|
local weapon = Weapon()
|
||||||
weapon:setBeam()
|
weapon:setBeam()
|
||||||
|
|
||||||
@@ -207,4 +207,4 @@ function WeaponGenerator.generateHarpoon(rand, dps, tech, material, rarity)
|
|||||||
return weapon
|
return weapon
|
||||||
end
|
end
|
||||||
|
|
||||||
generatorFunction[WeaponType.Harpoon] = WeaponGenerator.generateHarpoon
|
generatorFunction[WeaponType.Hookgun] = WeaponGenerator.generateHookgun
|
||||||
|
|||||||
Reference in New Issue
Block a user