1
# Format:
#	type <tab> spec <tab> regex <tab> action [ <tab> action ]...
#
# type is one of:
#	DESC_ITEM - spec is an item name, regex is applied to its description.
#	DESC_SKILL - spec is a skill name, regex is applied to its description.
#	DESC_EFFECT - spec is an effect name, regex is applied to its description.
#	MONSTER - spec is a KoL monster name, regex is applied to the initial combat
#		page.  The first text action replaces the monster's name.
#
# The currently defined actions are:
#	"text" - returns a text value.  Normally this would just be printed, but some
#		consequence types may define some other meaning for text actions.
#	name=value - set a preference.
#	anything else - assumed to be a text action.  Not safe for text that starts
#		with a punctuation mark, or contains an equal sign; quote it to be sure.
#
# Two levels of text substitution are performed on actions:
#	1. A $ followed by a digit is replaced by the corresponding numbered group
#		in the regex match.
#	2. Text enclosed in [square brackets] is interpreted as a modifier
#		expression, and replaced with the resulting value.
#		See modifiers.txt for full details, although only the basic math
#		operators are expected to be useful here.

DESC_ITEM	The Landscaper's leafblower	\+(\d+) Monster Level	_leafblowerML=$1
DESC_ITEM	Spooky Putty monster	a picture of (a|an|something totally unrecognizable|)\s*(.*?)!	spookyPuttyMonster=$2
DESC_ITEM	shaking 4-d camera	an angry (monster)?(.*?) or something	cameraMonster=$2
DESC_ITEM	photocopied monster	likeness of (a|an) (.*?) on it	photocopyMonster=$2
DESC_ITEM	fossilized necklace	(\d+) bat	fossilB=[min(5,$1)]
DESC_ITEM	fossilized necklace	(\d+) serpent	fossilS=[min(5,$1)]
DESC_ITEM	fossilized necklace	(\d+) baboon	fossilN=[min(5,$1)]
DESC_ITEM	fossilized necklace	(\d+) wyrm	fossilW=[min(5,$1)]
DESC_ITEM	fossilized necklace	(\d+) demon	fossilD=[min(5,$1)]
DESC_ITEM	fossilized necklace	(\d+) spider	fossilP=[min(5,$1)]

DESC_SKILL	Slimy Sinews	giving you \+(\d+)	skillLevel46=$1
DESC_SKILL	Slimy Synapses	giving you \+(\d+)	skillLevel47=$1
DESC_SKILL	Slimy Shoulders	giving you \+(\d+)	skillLevel48=$1

DESC_EFFECT	Towering Strength	\+(\d+)%	chessboardsCleared=[($1-100)/2]
DESC_EFFECT	Mitre Cut	\+(\d+)%	chessboardsCleared=[($1-100)/2]
DESC_EFFECT	Knightlife	\+(\d+)%	chessboardsCleared=[($1-100)/2]
DESC_EFFECT	Having a Ball!	\+(\d+)%	ballpitBonus=$1
DESC_EFFECT	On the Trail	I mean "(.*?)\."<	olfactedMonster=$1

# Monster disambiguation:

MONSTER	Animated Nightstand	darkstand\.gif	"Animated Nightstand (Mahogany)"
MONSTER	Animated Nightstand	.	"Animated Nightstand (White)"

MONSTER	Orcish Frat Boy	fratskirt\.gif	"Orcish Frat Boy (Pledge)"
MONSTER	Orcish Frat Boy	rectify	"Orcish Frat Boy (Music Lover)"
MONSTER	Orcish Frat Boy	.	"Orcish Frat Boy (Paddler)"

MONSTER	Guard Turtle	frenchturtle\.gif	"French Guard Turtle"

MONSTER	Trippy Floating Head	kasemhead\.gif	"Trippy Floating Head (Casey Kasem)"
MONSTER	Trippy Floating Head	tarkinhead\.gif	"Trippy Floating Head (Grand Moff Tarkin)"
MONSTER	Trippy Floating Head	.	"Trippy Floating Head (Mona Lisa)"

MONSTER	Ninja Snowman	ninjarice\.gif	"Ninja Snowman (Chopsticks)"
MONSTER	Ninja Snowman	.	"Ninja Snowman (Hilt/Mask)"

MONSTER	The Darkness	darkness\.gif	"The Darkness (blind)"

MONSTER	Ed the Undying	/ed(\d)\.gif	"Ed the Undying ($1)"
MONSTER	Ed the Undying	.	"Ed the Undying (1)"
