Acid dissolvability value

  • Oats
    18th Jul 2013 Member 0 Permalink

    What the title says. Which value/s do ACID and CAUS use to decide whether an element is dissolvable or not?

     

    I'm curious to making bcln undissolvable. 

  • plead-for-destruction
    18th Jul 2013 Member 0 Permalink
    Quote from the wiki:
    "Hardness = 2; // How much acid affects the particle. (0 = not at all. >0 = more corrodable)"
  • boxmein
    18th Jul 2013 Former Staff 0 Permalink
    Hardness is right.
    as seen here:
    && sim->elements[r&0xFF].Hardness>(rand()%1000)

    What the code means is "and if the hardness value is above a random number with a maximum of 1000 (and a minimum of 0) then ...."

    So basically set hardness to 1001 for it to melt as well as possible.