New walls

  • chyzman
    1st May 2019 Member 0 Permalink

    I think tpt could really use two types of new walls/solids.

    exwl: (exclusive wall) Wall that only allows particles of its ctype through

    incw: (inclusive wall) Wall that only allows particles not of its ctype through

    (you can change the names, I just made them up for examples)

     

  • jacob2
    1st May 2019 Member 0 Permalink
    Walls do not have ctype, or any other properties of elements. This is unlikely to be added.
  • MachineMan
    2nd May 2019 Member 0 Permalink

    Walls are also immune to the console.

  • akang
    2nd May 2019 Member 0 Permalink

    Yeah highly doubt that idea's gonna get transferred into tpt because walls don't have ctype

  • chyzman
    2nd May 2019 Member 0 Permalink

    what if they were solids?

    also is that the real jacob?

    Edited once by chyzman. Last: 2nd May 2019
  • NF
    2nd May 2019 Member 0 Permalink

    @chyzman (View Post)

     I don't think it is, but walls don't share the properties of elements. 

  • jacob1
    3rd May 2019 Developer 0 Permalink
    As I already stated, walls are not elements. They don't have ctype, they don't have state (solid/liquid/gas). They aren't stored in the same data structures as elements at all.

    We could still do this by adding a new map to store the information about what the wall should block. But I'd rather not do that, it would get messy and hard to work with.
  • chyzman
    3rd May 2019 Member 0 Permalink

    for one thing

    AHA, Jacob2 is you!

    also,

    i meant make it an element not a wall

    but then energy particles could go through so never mind

  • jacob1
    3rd May 2019 Developer 0 Permalink
    @chyzman (View Post)
    It would be very difficult to make this an element, because elements (under most cases, and besides energy particles) can't stack. If they do stack, it's not possible to see what's on the bottom of the stack. This would create a lot of issues allowing elements to go through the "wall" element.