Mod I need for a project

  • ahahooty6769
    16th September Member 1 Permalink

    Powder Toy Mod Idea.

    This mod is really important for a project I am working on. Can I have some technical assistance please. I don't know how to compile or start to write the code for the update, and the tutorial for compiling on here is so vague and technical. Please don't refer me to another mod I need this exact one. Is it possible in Lua or C++, I have experience in Python and Java but neither of those two.
    ----------

    The update changes how sparks and batteries work, it also adds the following particles: energy particle, energy membrane and blck (block) and waste as well as a few others.


    1. Spark

    The mod changes the function of some electronics to fix infinite energy. The change made to spark is that spark now has a "voltage" attribute. When spark is created, it normally starts with a set voltage (of 100 for example). This voltage slowly goes down over time, when it reaches 0, the spark is removed. When spark splits into multiple pathways, the voltage is unaffected. Sparks colliding into eachother are unaffected, ie they still cancel eachother out. Spark loses its voltage at 5% of the normal rate when travelling through water.

    2. Battery

    Batteries now no longer last forever. Instead, they have a voltage/life value which slowly goes down over time, when it reaches 0, the battery can take life from neighbouring batteries to keep it above 0, if there are no neighbouring batteries to take life from it turns into BRMT. This means larger batteries will last for longer.


    --
    Now for the new additions
    --

    1. Energy particle
    A liquid the same density as DSTW. When created, The voltage will slowly go down, when it reaches 0 the particle has a 50% chance to turn into dstw and a 50% chance to turn into a waste particle. If the temperature of the energy particle is between 30 and 40 degrees, it will not lose voltage over time. When energy particles are next to a conductible material, they will spark the material (100 volts) and lose a lot of voltage. Energy particles are not conductive however.

    2. Energy membrane. Requires oxygen to activate, oxygen will enter it (disappear and activate it) when adjacent. Once activated the Energy membrane will convert any distilled water adjacent to it into an energy particle. It has 3 uses before deactivating and requiring more oxygen.

    3. Block. Exactly like shield except it spreads 1 block further out. Is activated to spread by electricity. And can conduct heat but not electricity.

    4. Waste. Liquid with the same density as DSTW. Not conductive, does absolutely nothing.

    5. Disease. A liquid with the same density as DSTW. Has a chance to move on its own. Has a chance to replicate. Has a chance to convert DSTW and Energy particles next to it into waste, and can also damage brck and metl turning them into stne and brmt respectively. has a life value, which slowly goes down turning it into waste when it dies.

    6. Penicillin. A liquid with the same density as DSTW. Has a chance to convert dstw to waste and converts disease near it into waste. Disappears after a certain period of time.

    7. Medicine. A liquid with the same density as DSTW. Has a chance to destroy waste near it. Disappears after a certain period of time.

    8. Neutraliser. Liquid with the same density as DTW. Converts acid and base near it into waste. Has a chance to convert DSTW to waste. Disappears after a certain period of time.

  • AerospaceFan
    16th September Member 0 Permalink

    then why not learn lua/c++? there are many tutorials online

  • ahahooty6769
    16th September Member 0 Permalink

    @AerospaceFan (View Post)

    How do I actually start writing and where? What file?