Electrical Insulator Property

  • catsoften
    12th Jun 2021 Moderator 0 Permalink

    I noticed the check for an insulator between sparked/activated elements looks for INSL specifically, making it impossible (as far as I can tell) to create a new insulating element through Lua, and making modding one in difficult (need to change many other elements). It seems like an "insulator" property would make this more flexible, allowing for things like:elements.property(elements.DEFAULT_PT_BRCK, "Properties", elem.PROP_INSULATES)

    and:Properties = TYPE_SOLID|PROP_HOT_GLOW|PROP_INSULATES;I have a version of this done and tested, so let me know if there is any interest and I can share the code.


    Sorry if there is a better place/way to post this (first time suggesting something).