I'm designing a C++ Mud Server that's using a Lua script engine. Currently I'm working on the functions that are available to the Lua Scripts. Currently this is very limited,
eg:
mob:addItem(..)
mob:removeItem(..)
mob:hasItem(..)
mob:addCredits(..)
mob:removeCredits(..)
mob:roomMsg(..)
mob:startScript(..)
mob:hide()
mob:show()
all stats can be set/get like: mob.health = mob.maxhealth
And also I have some area functions:
area:roomMsg(..)
area:addExit(..)
area:spawnCreature(..)
area:destroyObject(..)
area:startScript(..)
I'm sure I'm missing a lot of features that a Builder would want. Which ones would you guys want to see in a server?
eg:
mob:addItem(..)
mob:removeItem(..)
mob:hasItem(..)
mob:addCredits(..)
mob:removeCredits(..)
mob:roomMsg(..)
mob:startScript(..)
mob:hide()
mob:show()
all stats can be set/get like: mob.health = mob.maxhealth
And also I have some area functions:
area:roomMsg(..)
area:addExit(..)
area:spawnCreature(..)
area:destroyObject(..)
area:startScript(..)
I'm sure I'm missing a lot of features that a Builder would want. Which ones would you guys want to see in a server?