maybe support for js scripts?

  • noobymakerLOL1
    24th Aug 2019 Member 0 Permalink

    hello,

    sorry for continuing a thread that has been locked, but i found out that javascript is also a scripting language, maybe support for that would be added? and also, i heard that javascript is still pretty fast, so maybe support for javascript will be added?

  • LBPHacker
    24th Aug 2019 Developer 0 Permalink

    There's currently no reason to add support for JS because Lua works just fine. That aside, none of the developers feels like supporting both, and if we were facing a choice of whether to add support for JS or Lua right now, we'd probably choose Lua simply because it has a much smaller library footprint and because we're all familiar with it. (That applies to the stock Lua interpreter. LuaJIT, on the other hand, is pure magic, even compared to popular JS engines.) Personally, the little I know about JS makes me think it'd be overkill for TPT.

    Edited once by LBPHacker. Last: 24th Aug 2019
  • noobymakerLOL1
    24th Aug 2019 Member 0 Permalink

    i hate lua, and lua is the worst to make a game in

  • LBPHacker
    24th Aug 2019 Developer 0 Permalink

    Then it's a wonderful thing that you don't have to.

  • noobymakerLOL1
    24th Aug 2019 Member 0 Permalink

    i swear, i need js support for tpt, i literally cant make tpt script mods without js support

  • moonheart08
    24th Aug 2019 Member 0 Permalink

    JS has the same issue as python: It would make the game slower, and vastly more complex internally, for very little benefit.

  • Sylvi
    24th Aug 2019 Moderator 0 Permalink
    @noobymakerLOL1 (View Post)
    If you aren't going to make a compelling argument for js to be implemented, then there's nothing we will do. They've expressed the justified reasons with a logical basis. Locking this thread because you just continued the same criticism from the last thread. You may continue this if you have any profound arguments besides "i don't like Lua"
    Edited once by Lockheedmartin. Last: 24th Aug 2019
Locked by Lockheedmartin: Not really a debate