Skip to content

kurtmweber/lvt

Repository files navigation

Lavender Throne is released under the GNU General Public license, version 3.  
See file COPYING for details.

Lavender Throne makes use of the PCG random number generator.  Source code, 
found in the files src/pcg_basic.c and src/pcg_basic.h, is released under the 
Apache License version 2.0 and was written by Melissa O'Neill.  See 
http:https://www.apache.org/licenses/LICENSE-2.0 for details.

You can turn on debugging code (which gives some shortcuts during gameplay, 
e.g. hidden doors are marked and creatures can be killed with a single hit) by 
uncommenting the line with "#define _D_DEBUG" in those files where it exists 
(currently leveldisp.c and attack.c).  For some reason, defining it at compile 
time with "make CFLAGS=-D_D_DEBUG" causes placeDoors to segfault.  No clue why.

HOW TO PLAY

Move with numeric keypad, in cardinal directions and diagonally.  Numeric keypad '.' uses a move in place.

Map symbols:
.	open floor
#	wall
<	up stair
>	down stair
+	closed door
'	open door

Commands:
c	close an open door
d	drop an item
e	eat food
i	view inventory list
n	name an item
o	open a closed door
p	pick fruit from a plant
r	remove a piece of armor
s	search for hidden doors
S	save game
t	throw an object
u	unwield currently-wielded item
w	wield an object (anything can be wielded, including things that aren't explicitly weapons)
W	wear a piece of armor
;	look at an object on the map (navigate the cursor with the movement 
	keys, then hit enter/return)
#	un-name an item
,	pick up an item
<	go up an up stair
>	go down a down stair