Skip navigation.
Home



SWLPC is an opensource, multiuser dungeon scripting language. It is based upon the LPC scripting language. SWLPC is fully scripted meaning, as an example, a sword is defined using a script instead of a combination of a fixed set of parameters (eg weapon size, strength eg). The script can give the sword complex behaviour, such as giving the sword extra strength if it is raining. There is also powerful inheritance so instead of an apple and pear having duplicate food scripting code (except for the apple and pear description), the apple and pear can inherit from a food script and only the apple and pear description need be changed.

LPC was a language originally devised for programming
LPmud (Lars Penj|). Since 1990 we have continued
to develop this language for both mud and general scripting use. The SWLPC source code is available under the GNU Public License.

SourceForge Logo

Internally Shattered is based upon our own stack machine, compiler
and runtime support system.

Platforms

SWLPC has been successfully compiler and tested upon:

  • Linux (Redhat 5.x, 6.x, 8.x, Mandrake 7.x, 8.x, Debian, Knoppix, Slackware)
  • FreeBSD 3.x
  • Solaris (2.5.1 and 2.6.0)


    In theory SWLPC should work on Windows with CYGWIN but no one has successfully got it working. If you are able to get SWLPC on Windows please tell us and we will give you a medal.




Geoff Wong