Conslole cannot identify C-4 and C-5

  • pacmanfan123
    14th June Member 0 Permalink

    Every time I use "tpt.el.c-5.flammable=##", It cannot identify the element. Is there an alternative to making C-5 flammable to regular fire?

  • ALumpOfPowderToy
    14th June Member 1 Permalink

    @pacmanfan123 (View Post)

    The dash in the middle would be subtraction, meaning the console sees (tpt.el.c)-(5.flammable)=## and of course it freaks out.

    Edited once by ALumpOfPowderToy. Last: 14th June
  • pacmanfan123
    14th June Member 0 Permalink

    @ALumpOfPowderToy (View Post) I really hope there's a way to solve this issue.

  • jacob1
    14th June Developer 2 Permalink
    You can use tpt.el["c-5"].flammable

    Or you can also use the new api, elem.property(elem.DEFAULT_PT_C5, "Flammable", somethinghere)
  • pacmanfan123
    14th June Member 0 Permalink

    @jacob1 (View Post) Thanks! I will try that soon.

    It worked. Thanks for the help!

    Edited once by pacmanfan123. Last: 14th June