Quality Turrets Reworked

by Xearox

Turrets gain quality by killing

Tweaks
11 days ago
2.0
621
Combat

b Crash when leveling up Solar Laser Tower

2 days ago

Hello! I'm running this in a pack alongside Cheese's Concentrated Solar mod. When the Solar Laser Tower leveled up, it caused this error:

The mod Quality Turrets Reworked (0.11.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event quality-turrets-reworked::on_entity_died (ID 4)
The mod Cheese's Concentrated Solar (0.5.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ch-concentrated-solar::script_raised_built (ID 92)
ch-concentrated-solar/control/database.lua:89: DATABASE CORRUPTION: Mirror is linked to an invalid tower
stack traceback:
[C]: in function 'assert'
ch-concentrated-solar/control/database.lua:89: in function 'link_mirror_to_tower'
ch-concentrated-solar/control/database.lua:169: in function 'link_mirror_to_tower_if_closer'
ch-concentrated-solar/control/database.lua:403: in function 'on_built_entity_callback'
ch-concentrated-solar/control.lua:50: in function <ch-concentrated-solar/control.lua:49>
stack traceback:
[C]: in function 'create_entity'
quality-turrets-reworked/control.lua:204: in function 'DidTurretKill'
quality-turrets-reworked/control.lua:131: in function <quality-turrets-reworked/control.lua:127>

Unsure which mod is more responsible in causing this, so I'm informing you both. Thanks!

a day ago

It’s an issue caused by the other mod.
What I can do on my side is prevent non-vanilla turrets from being upgraded.
If you want, I can add this in the next version of the mod.

5 hours ago

Thanks for the response, to both this and the other thread! I think that could be a good feature, though maybe instead of a checkbox, have it be a textbox where players can input a list of turrets to exclude? That way we can disable a specific one (like the laser tower) while leaving other modded turrets on? No sweat either way though. Thanks again!

New response