[Resolved] How to remove technologies from the base game

Place to get help with not working mods / modding interface.
Meppi
Inserter
Inserter
Posts: 29
Joined: Thu Apr 07, 2016 2:57 pm
Contact:

[Resolved] How to remove technologies from the base game

Post by Meppi »

I'm experimenting with continuously firing beam laser turrets.
The laser-turret-speed tech chain doesn't make any sense in this context and creates problems.

I changed the effects to 0 as a workaround, but it's still visible and researchable.
How can i remove that tech chain from the game in a mod?
Last edited by Meppi on Tue Oct 03, 2017 11:13 am, edited 1 time in total.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: How to remove technologies from the base game

Post by bobingabout »

I'm not 100%, but I think you add the tag enabled = false to the technology.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Meppi
Inserter
Inserter
Posts: 29
Joined: Thu Apr 07, 2016 2:57 pm
Contact:

Re: How to remove technologies from the base game

Post by Meppi »

That worked, thanks a lot!
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [Resolved] How to remove technologies from the base game

Post by eradicator »

Completely removing the tech will affect all turrents including modded ones tho. So unless you're planning to procedurally replace and rebalance all turrents added by any mod a player has installed...this might not be a wise choice. Also you're then relying on mods loaded after yours to not reenable it ^^.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Meppi
Inserter
Inserter
Posts: 29
Joined: Thu Apr 07, 2016 2:57 pm
Contact:

Re: [Resolved] How to remove technologies from the base game

Post by Meppi »

That's true but it's more of a prove of concept at this point. I'm not even sure that i like it better than Klonan's version.
And it creates problems like the attack speed research and broken damage tooltips.
Post Reply

Return to “Modding help”