So, I've read several things (years old now obviously) about people working on Lua implementation and most of what I've seen that was released is incomplete.
I'm interested in entirely replacing mudprogs with Lua so I was wondering if anyone has successfully and completely done this on SMAUG. This is really outside my knowledge on coding as everything I know is from MUD coding. Frankly, I know C and C++ in a very hackish way and have no understanding of Lua, but I'm willing to teach myself if anyone has any advice as well.
I'd love to be able to use Lua to completely script mobs and generate way more intelligent quests etc.
Also: is it possible to have Lua access C functions? For instance, when you script something in Lua, would it be possible to have it use the gain_exp function exactly as it's written or does a Lua side function have to be written.
I'm interested in entirely replacing mudprogs with Lua so I was wondering if anyone has successfully and completely done this on SMAUG. This is really outside my knowledge on coding as everything I know is from MUD coding. Frankly, I know C and C++ in a very hackish way and have no understanding of Lua, but I'm willing to teach myself if anyone has any advice as well.
I'd love to be able to use Lua to completely script mobs and generate way more intelligent quests etc.
Also: is it possible to have Lua access C functions? For instance, when you script something in Lua, would it be possible to have it use the gain_exp function exactly as it's written or does a Lua side function have to be written.