How about SUCO SUper COnductor?

  • Videogamer555
    13th Sep 2016 Member 0 Permalink

    12Me21:

    (add to update function of SPRK)

    IF ctype == SUCO THEN

    IF emp < -150C THEN resistance = 0 ELSE resistance = 150 + temp 'Calculate resistance

    IF RND * 5000 > esistance THEN type = SUCO 'Remove spark

    END IF

    It's written in BASIC so people can read t, but it could be easily translated into C++

     

    EDIT: C++ code:

    case PT_SUCO:
      tp = parts[i].temp
        resist = tp + 123.15;
      parts[i].temp = tp + 125 * resist
      if (rand() % 5000 > resist)
        sim->create_part(i,x,y,PT_SUCO); //not sure if this is right...
      break;

     /strong>

     

    (I haven't tested it, but it should work maybe with some small odification. You will also need to add code for the element itself, but that will be very simple, identical to most other metals xcept in color and name)

    I'll try to make a mod that adds this, but I'm not sure how. Are here any tutorials?

     

     

    Videogamer555:

    It needs to be super specific if it is to be implemented. Notice hat with METL, it doesn't just "melt when it gets too hot", instead it "melts when it reaches 1000degC"....
     
    You are right, this makes it MUCH easier to write code!


    You are correct. I think the developers are just grabbing for excuses to not implement it, because for some arbitrary reason they don't want it in the software. think they have absolutely no problem with the difficulty of it, or with it being "too specific" or "too detailed" of a suggestion, but rather they just don't want to do it.
    Edited 4 times by Videogamer555. Last: 13th Sep 2016
  • jacob1
    13th Sep 2016 Developer 1 Permalink
    @Videogamer555 (View Post)
    I think I've made it known before that I hate adding new elements. "Too specific" was definitely my reason, also I don't like adding elements unless it can be proven that they are useful.

    Your post was also not formatted nicely, which makes me just not want to read it. It's mostly two massive paragraphs.

    I really never add new elements. In the current snapshot there are 3 new elements by Simon and 2 that cxi pull requested, but they all need work and if I can't fix them i'll probably remove the useless ones before release ...