Compare commits

...

5 Commits

Author SHA1 Message Date
Alex
f7d95dab9d Update file turretgenerator.lua 2023-08-30 06:41:01 +00:00
Weblate
fa2efb38ff Merge branch 'origin/main' into Weblate. 2023-08-29 23:10:52 +00:00
Weblate Admin
0dc950077d Translated using Weblate (Russian)
Currently translated at 100.0% (27 of 27 strings)

Translation: WPE-2/ru
Translate-URL: http://weblate.beaconborn.ru/projects/wpe-2/ru/ru/
2023-08-29 23:10:51 +00:00
Weblate Admin
b2f7d58187 Translated using Weblate (Russian)
Currently translated at 100.0% (27 of 27 strings)

Translation: WPE-2/ru
Translate-URL: http://weblate.beaconborn.ru/projects/wpe-2/ru/ru/
2023-08-29 23:08:58 +00:00
Weblate Admin
425e3fc101 Translated using Weblate (Russian)
Currently translated at 100.0% (27 of 27 strings)

Translation: WPE-2/ru
Translate-URL: http://weblate.beaconborn.ru/projects/wpe-2/ru/ru/
2023-08-29 23:06:18 +00:00

View File

@@ -29,9 +29,10 @@ scales[WeaponType.Hookgun] = {
{from = 51, to = 52, size = 4.0, usedSlots = 6}, {from = 51, to = 52, size = 4.0, usedSlots = 6},
} }
scales[WeaponType.HiveLauncher] = { -- TODO Увеличить разнообразие размеров6 scales[WeaponType.HiveLauncher] = {
{from = 0, to = 46, size = 1.0, usedSlots = 2}, {from = 0, to = 32, size = 1.0, usedSlots = 2},
{from = 47, to = 50, size = 2.0, usedSlots = 4}, {from = 33, to = 40, size = 1.5, usedSlots = 3},
{from = 41, to = 50, size = 2.0, usedSlots = 4},
--dummy for cooaxial, add 1 to size and level --dummy for cooaxial, add 1 to size and level
{from = 51, to = 52, size = 3.0, usedSlots = 6}, {from = 51, to = 52, size = 3.0, usedSlots = 6},
} }
@@ -78,7 +79,6 @@ if GameVersion() >= Version(0, 31, 0) then
possibleSpecialties[WeaponType.Diffuser] = { possibleSpecialties[WeaponType.Diffuser] = {
{specialty = Specialty.HighDamage, probability = 0.3}, {specialty = Specialty.HighDamage, probability = 0.3},
{specialty = Specialty.HighRange, probability = 0.3}, {specialty = Specialty.HighRange, probability = 0.3},
-- {specialty = Specialty.FasterRechargeTime, probability = 0.6},
} }
else else
possibleSpecialties[WeaponType.Diffuser] = { possibleSpecialties[WeaponType.Diffuser] = {
@@ -92,7 +92,6 @@ if GameVersion() >= Version(0, 31, 0) then
possibleSpecialties[WeaponType.Hookgun] = { possibleSpecialties[WeaponType.Hookgun] = {
{specialty = Specialty.HighDamage, probability = 0.3}, {specialty = Specialty.HighDamage, probability = 0.3},
{specialty = Specialty.HighRange, probability = 0.3}, {specialty = Specialty.HighRange, probability = 0.3},
-- {specialty = Specialty.FasterRechargeTime, probability = 0.6},
} }
else else
possibleSpecialties[WeaponType.Hookgun] = { possibleSpecialties[WeaponType.Hookgun] = {
@@ -104,9 +103,11 @@ end
if GameVersion() >= Version(0, 31, 0) then if GameVersion() >= Version(0, 31, 0) then
possibleSpecialties[WeaponType.HiveLauncher] = { possibleSpecialties[WeaponType.HiveLauncher] = {
{specialty = Specialty.HighDamage, probability = 0.3}, {specialty = Specialty.HighShootingTime, probability = 0.2},
{specialty = Specialty.HighRange, probability = 0.3}, {specialty = Specialty.HighDamage, probability = 0.15},
-- {specialty = Specialty.FasterRechargeTime, probability = 0.6}, {specialty = Specialty.HighFireRate, probability = 0.15},
{specialty = Specialty.HighRange, probability = 0.25},
{specialty = Specialty.BurstFire, probability = 0.1},
} }
else else
possibleSpecialties[WeaponType.HiveLauncher] = { possibleSpecialties[WeaponType.HiveLauncher] = {
@@ -154,7 +155,7 @@ function TurretGenerator.generateSmartCannonTurret(rand, dps, tech, material, ra
local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical) local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical)
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial], e.g. Enduring Dual Coaxial Plasmatic Tri-R-Mining Laser T-F */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial) result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial] */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
return result return result
end end
@@ -200,7 +201,7 @@ function TurretGenerator.generateHeavyCannonTurret(rand, dps, tech, material, ra
end end
local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical) local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical)
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial], e.g. Enduring Dual Coaxial Plasmatic Tri-R-Mining Laser T-F */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial) result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial] */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
return result return result
end end
@@ -240,7 +241,7 @@ function TurretGenerator.generateDiffuserTurret(rand, dps, tech, material, rarit
local name = "Diffuser /* weapon name*/"%_T local name = "Diffuser /* weapon name*/"%_T
local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Energy) local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Energy)
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial], e.g. Enduring Dual Coaxial Plasmatic Tri-R-Mining Laser T-F */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial) result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial] */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
return result return result
end end
@@ -277,17 +278,8 @@ function TurretGenerator.generateHookgunTurret(rand, dps, tech, material, rarity
result.slotType = TurretSlotType.Armed result.slotType = TurretSlotType.Armed
result:updateStaticStats() result:updateStaticStats()
local name = "Hookgun /* weapon name*/"%_T
local specType = 0
if specType >0 then
else
end
local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical) local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical)
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial], e.g. Enduring Dual Coaxial Plasmatic Tri-R-Mining Laser T-F */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial) result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial] */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
return result return result
end end
@@ -336,15 +328,9 @@ function TurretGenerator.generateHiveLauncherTurret(rand, dps, tech, material, r
local name = "HiveLauncher /* weapon name*/"%_T local name = "HiveLauncher /* weapon name*/"%_T
local specType = 0
if specType >0 then
else
end
local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical) local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical)
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial], e.g. Enduring Dual Coaxial Plasmatic Tri-R-Mining Laser T-F */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial) multishot = ""%_T
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial] */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
return result return result
end end