Disabling Cliff Explosives

This is the place to request new mods or give ideas about what could be done.
Post Reply
Noctisilva
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Sep 09, 2020 9:25 pm
Contact:

Disabling Cliff Explosives

Post by Noctisilva »

I want to make a challenging (multiplayer) playthrough with cliffs set to max frequency and continuity, without using cliff explosives.
I couldn't find a Mod that disables cliff explosives, have I overlooked one?
Or is there another way of disabling cliff explosives? Or remove it from the research options?
Thanks in advance, <3 -Nocti-

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Disabling Cliff Explosives

Post by eradicator »

For a one-time challenge a simple command could be enough.

Code: Select all

/c for _,f in pairs(game.forces) do local c = f.technologies['cliff-explosives'] c.researched=false c.enabled=false end
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.

Noctisilva
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Sep 09, 2020 9:25 pm
Contact:

Re: Disabling Cliff Explosives

Post by Noctisilva »

Thanks a bunch @eradicator! Just what the doctor ordered and works like a charm!
Thanks for your quick respond! <3

Post Reply

Return to “Ideas and Requests For Mods”