Would it possible to restrict long power poles to only connect to substations, but substations connect to any?
I want to try and simulate the conversion of high to low voltage and also thing it would be an interesting logistical challenge.
Substation converter thing
- ZombieMooose
- Filter Inserter
- Posts: 289
- Joined: Mon Feb 09, 2015 7:23 am
- Contact:
Substation converter thing
"men will literally learn everything about ancient Rome instead of going to therapy"
- Ranakastrasz
- Smart Inserter
- Posts: 2171
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: Substation converter thing
It would be possible. On event, check wire connections and sever offending ones.
On placing a entity of type power pole.
On robot place.
Maybe on remove as well because I think wires auto reconnect.
And on copper wire manual usage.
It should all be possible, yes.
On placing a entity of type power pole.
On robot place.
Maybe on remove as well because I think wires auto reconnect.
And on copper wire manual usage.
It should all be possible, yes.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Substation converter thing
No proper events for that though. I think @Therax had a hack? The other stuff is easy as long as you don't want to support all other mods.
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.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- ZombieMooose
- Filter Inserter
- Posts: 289
- Joined: Mon Feb 09, 2015 7:23 am
- Contact:
Re: Substation converter thing
What about starting a fire if small or medium poles are attached to large ones?
"men will literally learn everything about ancient Rome instead of going to therapy"
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: Substation converter thing
You're not thinking Gregtech enough. You want a chain reaction of actual explosions that follow the wire all the way back to your primary power production. Every machine that comes into contact with those wires also needs to explode with a radius and damage extreme enough to explode any neighbours which themselves explode their neighbours, wiping out the last 20 hours of progress.ZombieMooose wrote: ↑Mon Mar 16, 2020 6:24 am What about starting a fire if small or medium poles are attached to large ones?
To answer the question more seriously, there still isn't a "wire attach" event. You could mostly likely catch some/most of them by looking at the entity built events. But there is no event for the manual copper wire snipping/adding. At the end of the day, the wires are mostly cosmetic (except for power switches), which is why the devs consistently refuse to preserve the visual connections in blueprints. So your mod would run the risk of creating blueprints that catch fire when built, which would be highly entertaining, I say go for it.
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Substation converter thing
ZombieMooose wrote: ↑Fri Mar 13, 2020 1:05 am Would it possible to restrict long power poles to only connect to substations
Can't have both at the same time really.ZombieMooose wrote: ↑Mon Mar 16, 2020 6:24 am What about starting a fire if small or medium poles are attached to large ones?
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.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: Substation converter thing
I don't know this for sure....eradicator wrote: ↑Mon Mar 16, 2020 8:03 pmZombieMooose wrote: ↑Fri Mar 13, 2020 1:05 am Would it possible to restrict long power poles to only connect to substationsCan't have both at the same time really.ZombieMooose wrote: ↑Mon Mar 16, 2020 6:24 am What about starting a fire if small or medium poles are attached to large ones?
But linking is managed with a 'flag'.
so if you can use two flags; one for wooden & steel pole (wire) and a secound flag for large over lande poles (overland wires) and as a linkage a transformator building with both flags then this could be satisfied...
- ZombieMooose
- Filter Inserter
- Posts: 289
- Joined: Mon Feb 09, 2015 7:23 am
- Contact:
Re: Substation converter thing
The compatibility with other mods may be frustrated by the requiring of electric energy distribution 2
Unless a tier 0 substation was added
Unless a tier 0 substation was added
"men will literally learn everything about ancient Rome instead of going to therapy"