User Tools

Site Tools


Coding with LPC


The LPC programming language is an object-oriented programming language derived from C and developed originally by Lars Pensjö to facilitate MUD building on LPMuds. It has been used not only for mud game creation, but also has evolved into the Pike programming language used for various internet servers, multimedia applications and system administration tasks. LPC stands for 'Lars Pensjö C'.

LPC syntax places it in the family of C-like programming languages, with C and C++ its strongest influences.

LPC Manuals

The guides below teach you how to program specific objects like rooms, monsters or weapons in Dune. These manuals teach you how to program in LPC in general.

LPC Manuals

Some coding instructions

Some best practices.

Coding instructions

Simple Rooms

Advanced Rooms

Simple Monsters

  • Basic Monster - A simple monster, or mob, as we call it. Also referred to as NPC, a Non-Player Character.

Simple Weapons

Simple Armors

coding/start.txt · Last modified: 2018/10/17 21:07 by luther