ElectricalAge icon indicating copy to clipboard operation
ElectricalAge copied to clipboard

Cable fire instade of explode

Open r2395666 opened this issue 7 years ago • 3 comments

Hello, i forked electrical age and i am wondering what files do i need to change in order for thing to catch on fire instade of explode when overheated, i would check it myself but im kind of new to this

I can usually find my way trough code but there are so much files and this is first time i touched anything related to java but i would at least like to check out part of the code that responsible for explosion and see if i can change it to catch fire and build it for my LAN server

Thanks in advance

:)

r2395666 avatar Nov 07 '17 03:11 r2395666

not easy... But doable look for thermalWatchdog and voltageWatchdog

AMIDIBOSS avatar Nov 10 '17 20:11 AMIDIBOSS

I'm thinking that this may be able to be done inplace. I was looking through the explosion source code recently, and instead of exploding when calling the explodeCable methods, we could have a fireCable method or something that instead ignites the surroundings on fire and breaks the cable. It may be rather easy to implement.

https://github.com/Electrical-Age/ElectricalAge/blob/3e7db53eac084b4f2770139949630d01f72a8767/src/main/java/mods/eln/sim/process/destruct/WorldExplosion.java

jrddunbr avatar Aug 12 '18 22:08 jrddunbr

If you're interested in helping development, you should join the discord: https://discord.gg/BFqhMgW

Baughn avatar Aug 21 '18 15:08 Baughn