[2.1.17] Rockets overkill asteroids

Bugs that are actually features.
minno
Long Handed Inserter
Long Handed Inserter
Posts: 78
Joined: Sat Apr 21, 2018 3:54 am
Contact:

[2.1.17] Rockets overkill asteroids

Post by minno »

Big asteroids have 2000 health and take 504 damage from one rocket with explosive damage 6, but the turrets dispatch 5 rockets to each asteroid when 4 is enough to kill. The overkill fraction (https://lua-api.factorio.com/latest/pro ... l_fraction) should be removed or reduced to just enough to avoid rounding errors when targeting an entity that cannot regain health.

For non-promethium big asteroids and non-explosive rockets specifically, an overkill value under 0.8% would prevent unnecessary ammo usage at all explosive damage levels.
eugenekay
Smart Inserter
Smart Inserter
Posts: 1300
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: [2.1.17] Rockets overkill asteroids

Post by eugenekay »

122423 [2.0.21] rocket turrets on space platforms shoot one extra rocket for each asteroid.

space-age/prototypes/entity/asteroid.lua intentionally sets this to 1%.
overkill_fraction = asteroid_size_name ~= "chunk" and 0.01 or nil,
Good Luck!
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4844
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.1.17] Rockets overkill asteroids

Post by boskid »

Not a bug.
Post Reply

Return to “Not a bug”