annotate itemfixes.inc.php @ 22:c0dec130ce74

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 11 Jan 2011 13:45:00 +0200
parents f9211d1917b7
children 35f0c0ce0c51
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 <?
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 // Multi-stack item fixups
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 $fixItemTable = array(
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
5 "^(purple|green) gloves" => 'a ${1} glove',
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
6 "^bracelet mades of green crystal" => "bracelet made of green crystal",
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
7 "^alchemist moulded rings" => "alchemist moulded ring",
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 // Generic rings
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
10 "^(heavy black metal|steel) rings" => "a ${1} ring",
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 // Damiens
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
13 "^arm protectors called Damien \(\S+\)" => "an arm protector called Damien (${1})",
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
14 "^a book of eternal youth ([a-z ]+)" => "a book of eternal youth",
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 // Containers
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
17 "^white cloth packs for holding salves" => "white cloth pack for holding salves",
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
18 "^(small|HUGE) shiny boxes for storing minerals" => 'a ${1} shiny box for storing minerals',
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
19 "^(small|HUGE) sturdy packs for storing potions" => 'a ${1} sturdy pack for storing potions',
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
20 "^small crystal box \([a-z ]+\)" => "small crystal box"
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 );
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 $fixNumbers = array(
22
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
25 "one" => 1,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
26 "two" => 2,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
27 "three" => 3,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
28 "four" => 4,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
29 "five" => 5,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
30 "six" => 6,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
31 "seven" => 7,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
32 "eight" => 8,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
33 "nine" => 9,
c0dec130ce74 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
34 "ten" => 10
21
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35 );
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36
f9211d1917b7 Moved item fixup data to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
37 ?>