Author Topic: Lua may be getting axed, how many people care?  (Read 545 times)

Offline Coolthulhu

  • Contributor
  • Survivor
  • ****
  • Posts: 3479
    • View Profile
Lua may be getting axed, how many people care?
« on: March 04, 2017, 03:50:28 PM »
https://github.com/CleverRaven/Cataclysm-DDA/issues/20172

Supporting that Lua interface takes far more work than porting all the known Lua scripts to C++ and supporting that.

How many mods actually make use of that Lua interface? How extensively?

Offline Zhilkin

  • Zombie Food
  • *
  • Posts: 50
    • View Profile
Re: Lua may be getting axed, how many people care?
« Reply #1 on: March 05, 2017, 08:32:43 AM »
Most people would care about `Stats through skills` mod

Offline pisskop

  • Survivor
  • ***
  • Posts: 3203
  • Closet Brute
    • View Profile
Re: Lua may be getting axed, how many people care?
« Reply #2 on: March 05, 2017, 01:20:38 PM »
i dont use it.  but then again I don't explicitly know howto lua

Offline Rivet

  • Administrator
  • Survivor
  • *****
  • Posts: 2657
  • C:DDA Developer
    • View Profile
    • Rivet's Git profile
Re: Lua may be getting axed, how many people care?
« Reply #3 on: March 05, 2017, 06:43:25 PM »
I think all the LUA is used for is the StatsThroughSkills mod, which could be rewritten in C++ just as easily.

My vote is to nix it.
“No! I must kill the demons” she shouted
The radio said “No, Rivet. You are the demons”
And then Rivet was a zombie.

Offline Kevin Granade

  • Administrator
  • Survivor
  • *****
  • Posts: 5235
  • I code dead people.
    • View Profile
Re: Lua may be getting axed, how many people care?
« Reply #4 on: March 05, 2017, 07:35:49 PM »
To be clear, along with this would be overhauling fast zombies, slow zombies, tough zombies, stats through skills, and zombie nightvision to no longer depend on lua support.

The fact that this list of mods is so short is the problem here, we have thousands of lines of code in the game to support this handful of features.
Its like a fun family cookout, except your family is burning in flames while trying to eat you. -secretfire
I'm more excited than a survivor on meth and toast'ems. -Nighthawk
The the giant wasp is slammed through the zombie brute!

Offline Coolthulhu

  • Contributor
  • Survivor
  • ****
  • Posts: 3479
    • View Profile
Re: Lua may be getting axed, how many people care?
« Reply #5 on: March 05, 2017, 08:50:43 PM »
fast zombies, slow zombies, tough zombies

Pretty sure those are already overhauled.

Offline Kevin Granade

  • Administrator
  • Survivor
  • *****
  • Posts: 5235
  • I code dead people.
    • View Profile
Re: Lua may be getting axed, how many people care?
« Reply #6 on: March 05, 2017, 09:21:08 PM »
Each has a main.lua, so they're either not switched over or they have leftovers.
Those are the trivial ones anyway, stats through skills is the only one that isn't a simple map over the list of monsters.
Its like a fun family cookout, except your family is burning in flames while trying to eat you. -secretfire
I'm more excited than a survivor on meth and toast'ems. -Nighthawk
The the giant wasp is slammed through the zombie brute!

Offline wad67

  • Survivor
  • ***
  • Posts: 347
    • View Profile
Re: Lua may be getting axed, how many people care?
« Reply #7 on: March 22, 2017, 01:53:38 PM »
Providing prevent zombie revivification gets ported over I wouldn't mind.