ROCK Updates

  • RCAProduction
    17th Mar 2021 Member 2 Permalink

    Scroll down for Download!

    My planned updates to ROCK will add subelements to the game (elements that are read in the HUD as a separate element and have different properties, but are based on a parent element), as well as tweaks to improve functionality and usability. 

     

    There are 8 new subelements planned to be added: 

     

    1. Sulfide Ore
    2. Sulfide Ore (broken powder)
    3. Sulfide Ore (roasted variant)
    4. Sulfide Ore (roasted broken powder variant)
    5. Silver
    6. Lead
    7. Galena
    8. Galena (broken powder)

    The host elements are listed below in parentheses:

     

    1. Sulfide Ore (ROCK)
    2. Silver (GOLD)
    3. Lead (METL)
    4. Galena (ROCK)
    5. broken powder variants (STNE)

    Each of the new subelements requires no new element file. The graphics, transitions, and reactions are entirely handled by existing files. These elements require very little additional code, and in return enhance reactions and functionality. These elements do not have enough functionality on their own to merit an entire new element, but as subelements are ideal enhancements, some of which have been asked for repeatedly but offer few advantages as standalones. 

    Subelements cannot be directly drawn from a menu item like the other elements, because they are not separate elements. They use the parent element, and a designated tmp (or range of tmp values) to determine the subelement. This only works for parent elements that do not use a tmp value for another function. 

    List of parent elements:

    1. ROCK
    2. STNE
    3. METL
    4. GOLD



    Added reactions due to subelements:

    • Sulfide Ore + heat = CAUS + SMKE + GOLD +Silver*
    • Sulfide Ore (broken) + smelting temperatures = CAUS + SMKE +GOLD +Silver +GLAS
    • Galena + smelting temperatures = Lead + Silver + GLAS
    • ROCK when melted can form Sulfide Ore, Lead, Gold, Silver, and Galena dependant on changing temperatures and pressures
    • Flowing WATR + Sulfide Ore = small chance ACID, will break into Sulfide Ore (broken powder)
    • Different melting temperatures allow for realistic volcanoes, landscapes, and reaction/production processes

    Additional reactions from these basic building blocks are easily added with only a few lines of code.

    Other notes: TNT has been edited so that when directly next to ROCK the pressure spike is much higher. This allows it to break ROCK without affecting any other saves. ACID and CAUS have been edited to have a decreased effect on ROCK, due to the fact that sulfides will release both, and their effect pre-edit was goofy to say the least. 

     

    Lead melting within the landscape, partially formed with pressures and changing heat, surface eroded by WATR:

     

    All sulfides melted. Note that sulfides and ROCK are the same element, but Sulfides are a subelement and have different metling temperatures and reactions!

     

    Closeup of the cooled down ROCK formations and subelements. The yellow colors are the sulfide variants (no distinction in HUD between roasted and not, roasted is darker, can be edited). The white/silver color particles are Silver, some of the dark gray particles are Lead or Galena. 

     

     

    Must be logged into Github:

     

    The test/WIP download for each OS can be found here, by scrolling down and you will see a dropdown on the right that says "Artifacts." Inside will be a download for whichever OS you want. Just download and run. 

    https://github.com/The-Powder-Toy/The-Powder-Toy/pull/765/checks?check_run_id=2126893275

     

     

    Normal Windows Download (No Github Login Required!)

     

     

    Download Here: https://gofile.io/d/E0bh0Q




    Use this Save ID for some examples: ID:2679828

     

     

    .

    Edited 4 times by RCAProduction. Last: 17th Mar 2021
  • Ketemin
    15th Jul 2021 Member 1 Permalink

    dead links