Turret Shields

by OwnlyMe

Lightweight scripted shields with power consumption for all turrets (configurable or researchable)

Content
4 months ago
0.16 - 2.0
2.83K
Combat

b Crash

4 months ago

Hi. Got this crash.

The mod Auto Research (fixed + re-published) (2.0.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event some-autoresearch::on_research_finished (ID 18)
The mod Turret Shields (2.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Turret-Shields::on_research_started (ID 17)
LuaForce::current_research is read only.
stack traceback:
[C]: in function 'newindex'
__Turret-Shields/control.lua:669: in function <Turret-Shields/control.lua:666>
stack traceback:
[C]: in function 'newindex'
__some-autoresearch/control.lua:241: in function 'startNextResearch'
some-autoresearch/control.lua:274: in function <some-autoresearch/control.lua:245>

4 months ago
(updated 4 months ago)

how did you get to charging speed level 60?
your shields would be charging with 70 MW making them basically impenetrable

4 months ago

i fixed it, now the mod should correctly cancel the research again when you reach tech level 60

4 months ago

I noticed. Power went out a few times on gleba. But auto research did all the researches. I dont know what happened :D

4 months ago
(updated 4 months ago)

maybe there's a bug with auto research.. because researching 60 levels would be crazy expensive.
technically i also added a protection in turret shields that prevents other mods from reducing the research costs of those infinite technologies too much.
the minimum cost it enforces then is 1000 without scaling

4 months ago

I reported this crash to him aswell but he told me to report it to you.

4 months ago

i tried it and now it wont crash anymore, but it will stop auto research from working. maybe you can blacklist the charging technology after you've reached level 59

New response