[aquaria] Problem in mantis.lua

Peter De Wachter pdewacht at gmail.com
Sun Jun 13 17:51:41 EDT 2010

Op Sun, 13 Jun 2010 12:04:19 -0400
schreef "Ryan C. Gordon" <icculus at icculus.org>:

> > I can't think of any way to work around this in the C++ code.
> How about this untested hack in Lua (attached)?

That should work. I don't like changing the lua library though. It's
very brittle; what if somebody decides to upgrade to a new lua release?
Also, if somebody packages Aquaria for a Linux distribution, the first
thing they're going to do is to make it use the system lua library.

So I'd prefer to put a modified str_format function in the Aquaria
source and installing that as a custom string.format function. It looks
like that can be done with just a lua_setfield call.

> We should really put the Lua scripts in revision control, and fix
> bugs there. I'll check with Bit-Blot and see if that's okay
> (technically, they walk a line between source code and game data, so
> I need permission first).

That would be the best solution.

More information about the aquaria mailing list