Compare commits

...

5 Commits

Author SHA1 Message Date
Alex
59c5f2cb36 Replace thumb.png 2023-09-02 20:01:13 +00:00
Slava
138f510ea2 Update 2 files
- /data/scripts/player/ui/encyclopedia/encyclopedia.lua
- /data/scripts/player/ui/encyclopedia/_encyclopedia.lua
2023-09-02 19:39:31 +00:00
Slava
d6ea8f534e Update file README.md 2023-09-02 19:35:58 +00:00
Alex
85889377c9 Replace thumb.png 2023-09-02 19:32:57 +00:00
Alex
f37108304e Update file turretgenerator.lua 2023-09-02 18:56:12 +00:00
4 changed files with 13 additions and 4 deletions

View File

@@ -1,6 +1,9 @@
[![pipeline status](http://gl.beaconborn.ru/bacon/weapon-project-extended/badges/main/pipeline.svg)](http://gl.beaconborn.ru/bacon/weapon-project-extended/-/commits/main) [![Latest Release](http://gl.beaconborn.ru/bacon/weapon-project-extended/-/badges/release.svg)](http://gl.beaconborn.ru/bacon/weapon-project-extended/-/releases)
# weapon project extended 2.0
![Weapon Pack Extended Remastered](thumb.png)
## Getting started
That mod for Avorion original writed [Alive!](https://steamcommunity.com/id/CasKepler2/) for 0.32 and updated by me with him

View File

@@ -189,6 +189,16 @@ function TurretGenerator.generateHeavyCannonTurret(rand, dps, tech, material, ra
outerAdjective = "Cumulative "%_T
end
if result.size >= 4 then
weapon.speed = weapon.speed * 2
weapon.reach = weapon.reach * 1.2
end
if result.size >= 5 then
weapon.speed = weapon.speed * 2
weapon.reach = weapon.reach * 1.5
end
-- attach weapons to turret
TurretGenerator.attachWeapons(rand, result, weapon, numWeapons)
@@ -208,14 +218,10 @@ function TurretGenerator.generateHeavyCannonTurret(rand, dps, tech, material, ra
if result.size >= 4 then
name = "Mass Driver /* weapon name*/"%_T
weapon.speed = weapon.speed * 2
weapon.reach = weapon.reach * 1.2
end
if result.size >= 5 then
name = "Mass Warper /* weapon name*/"%_T
weapon.speed = weapon.speed * 2
weapon.reach = weapon.reach * 1.5
end
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)

BIN
thumb.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 344 KiB