Skip to content

Lua-based application core for use with cmud on wotmud.

Notifications You must be signed in to change notification settings

arhart/cmud-wot-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmud-wot-world

Lua-based application core for use with cmud on wotmud.

Installation

<Something about copy-pasting the contents of src/world.lua to an initializeWorld cmud alias> <Likely need to insert the code of src/world.lua into an xml file in the format needed by cmud>

Development

All development is done outside of cmud to enable unit testing. To perform development you must:

Now open a terminal window and change to the local directory the code is checked out into. Initial Depedancies Install

luarocks install lustache luarocks install busted

To run the test you:

busted test/worldTest.lua

Design

The general idea behind this application is to provide common handling of wotmud state. Using this state you can perform complex logic to ease mundain tasks and speed up the action. Generally interactions with the mud will not attempt to block-or-delay other commands from being send, except in very special cases.

Random Thoughts

  • Need to establish a deployment mechanism for the cmud scripts that includes the lua code. Perhaps a simple xml template and a map on how to assemble.
  • Need to decide on a communication style. Promises, events, or passing anon functions... ...perhaps events on object changes along with anon functions...
  • General Systems: positioning, targeting.

About

Lua-based application core for use with cmud on wotmud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages