QRTZ powder effect, PROP_CONDUCTS [HELP]

  • tmo97
    7th May 2015 Banned 0 Permalink
    This post is hidden because the user is banned
  • QuentinADay
    7th May 2015 Member 0 Permalink

    It's not LUA it's Lua, and there isn't a way to make an element start off with a set life, I believe you cannot replicate the QRTZ PQRT powder effect (with Lua). PROP_CONDUCTS requires  PROP_LIFE_DEC

     

    Look at the QRTZ source code, it might help: https://github.com/simtr/The-Powder-Toy/blob/master/src/simulation/elements/QRTZ.cpp

    Edited 2 times by QuentinADay. Last: 7th May 2015
  • DanielGalrito
    7th May 2015 Member 0 Permalink

    the PROP-CONDUCTS AND PROP_LIFE_DEC are not really needed since you can code them, but its easier and maybe less laggy if you use them, but the string you need to use is 0x4020.