Void and ctype

  • tommig
    24th May 2012 Member 5 Permalink

    Hello!

    I can't remeber if this has been suggested before, but it would be quite cool if void's ctype controled what it absorbed, for example, if void's ctype was WATR, it would onlt absorb WATR. To add further to this, if we say set the tmp to 1, and the ctype to WATR, it would absorb everything except WATR.

    This would be very helpful in factories and reator for absorbing unwanted elements, but keeping the ones needed, and could play a big part in making saves.

     

    Thanks

    Tommig

  • plead-for-destruction
    24th May 2012 Member 1 Permalink
    @tommig (View Post)
    Would a Ctype of VOID eat all elements?
  • EqualsThree
    24th May 2012 Member 1 Permalink

    I can see alot of uses for this...Like using it on the engine of my Mars II spacecraft. It's annoying when FIRE ignites all of the LOXY in the fuel tank D:

  • tommig
    24th May 2012 Member 1 Permalink

    @plead-for-destruction (View Post)

     That or a ctype of none

     

    I'm trying to code it into my own mod, I'm failing at the moment

  • plead-for-destruction
    24th May 2012 Member 1 Permalink
    @tommig (View Post)
    mhmm, the ctype thingy would be a little bitchy i would think (applying 2 different affects to 2 different ctypes) then again, i havnt modded TPT for a while now.
  • tommig
    24th May 2012 Member 1 Permalink

    @plead-for-destruction (View Post)

    Yeh, maybe not the second part as much, however, if I can get the first part working, I'll see how good I can get the second part.

    EDIT: I am successful in the first part, but the ctype can only be set through the console and the prop tool

  • mniip
    24th May 2012 Developer 1 Permalink
    if((parts[r].type==parts[i].ctype)!=(parts[i].tmp&1))
    pretty simple
  • randalserrano
    24th May 2012 Member 1 Permalink

    It has been suggested before, BUT I was the one who suggested it along with a few others. I totally support this idea and hope it gets implemented one day. 

  • tommig
    26th May 2012 Member 0 Permalink

    I'm succesful! :-D It will be release with the rest of my mod this weekend.

  • grandmaster
    26th May 2012 Member 0 Permalink

    I would enjoy this in the real game, it would be very usefull so great idea. Although it was suggested before I thought